Difference between revisions of "Cisco IS-IS"

From HackerNet
Jump to: navigation, search
Line 1: Line 1:
Intermediate System-to-Intermediate System. En IS-IS router konfigureras med nivå som anger systemtyp - antingen Level 1, Level 2 eller Level 1-2. Se en Level 2 router som motsvarande area 0 (backbone area) i OSPF och Level 1 som en area som är ”totally stubby”, d.v.s. det enda som injiceras i arean är en default route.
+
Intermediate System-to-Intermediate System är ett link-state routing protokoll. Det använder Network Service Access Point (NSAP) adressering för att identifiera routrar, area-tillhörighet och deras grannskap. En IS-IS router konfigureras med nivå som anger systemtyp - antingen Level 1, Level 2 eller Level 1-2. Se en Level 2 router som motsvarande area 0 (backbone area) i [[Cisco_OSPF|OSPF]] och Level 1 som en area som är ”totally stubby”, d.v.s. det enda som injiceras i arean är en default route.
 +
 
 +
IS-IS använder inte något L3-protokoll alls utan det enkapsuleras direkt i L2 frames, detta gör det helt protokolloberonde. Grannskap och adressinformation skrivs med Type-Length-Value (TLV) records, detta gör det väldigt flexibelt. T.ex. om en ny adressfamilj ska läggas till så handlar det om att definiera nya TLVer som innehåller adress- och topologiinformation. 
  
 
'''Type:''' Link State
 
'''Type:''' Link State
Line 10: Line 12:
  
 
''OBS Interface MTU måste matcha för grannskap''
 
''OBS Interface MTU måste matcha för grannskap''
 +
 +
===Backgrund===
 +
 +
'''Terminologi''' <br/>
 +
* End system: host
 +
* Intermediate system: router
 +
* Circuit: interface
 +
* Domain: autonomous system
 +
 +
'''Paket-typer''' <br/>
 +
* Hello/IIH (IS-IS Hello): Upptäcka grannar.
 +
* Link state PDU:
 +
* Complete Sequence Numbers PDU:
 +
* Partial Sequence Numbers PDU:
 +
 +
'''Levels''' <br/>
  
 
=NET=
 
=NET=

Revision as of 20:24, 9 March 2016

Intermediate System-to-Intermediate System är ett link-state routing protokoll. Det använder Network Service Access Point (NSAP) adressering för att identifiera routrar, area-tillhörighet och deras grannskap. En IS-IS router konfigureras med nivå som anger systemtyp - antingen Level 1, Level 2 eller Level 1-2. Se en Level 2 router som motsvarande area 0 (backbone area) i OSPF och Level 1 som en area som är ”totally stubby”, d.v.s. det enda som injiceras i arean är en default route.

IS-IS använder inte något L3-protokoll alls utan det enkapsuleras direkt i L2 frames, detta gör det helt protokolloberonde. Grannskap och adressinformation skrivs med Type-Length-Value (TLV) records, detta gör det väldigt flexibelt. T.ex. om en ny adressfamilj ska läggas till så handlar det om att definiera nya TLVer som innehåller adress- och topologiinformation.

Type: Link State

Algorithm: Dijkstra

AD: 115

Protocols: IP, CLNS

OBS Interface MTU måste matcha för grannskap

Backgrund

Terminologi

  • End system: host
  • Intermediate system: router
  • Circuit: interface
  • Domain: autonomous system

Paket-typer

  • Hello/IIH (IS-IS Hello): Upptäcka grannar.
  • Link state PDU:
  • Complete Sequence Numbers PDU:
  • Partial Sequence Numbers PDU:

Levels

NET

Network Entity Title, formatet är AFI.DSP.SystemID.NSEL:

  • AFI = 49
  • DSP(Area ID) = 0001
  • SystemID = Räknas fram baserat på Loopback adressen
  • NSEL = 00

IOS

router isis 1
is-type level-2
metric-style wide
passive-interface default
no passive-interface te0/1/1
log-adjacency-changes
address-family ipv4 unicast
exit
net 49.0001.0001.0001.0001.0001.00

Fast convergence

lsp-gen-interval 5 50 50
prc-interval 5 50 50
spf-interval 5 50 50

Authentication

authentication mode md5 
authentication key-chain <key-chain-name>

Vänta med att använda en granne som nyss har bootat.

set-overload-bit on-startup 180

Enablea interface

interface te0/1/1
ip router isis 1
no isis hello padding
isis network point-to-point #effektivisera LSP-hantering
isis authentication mode md5
isis authentication key-chain <key-chain-name>
no shut

BFD

BFD hjälper routing protokoll att konvergera snabbare.

int te0/1/1
bfd interval 50 min_rx 50 multiplier 5
isis bfd


NX-OS

feature isis
router isis IS
is-type level-2
passive-interface default level-1-2
log-adjacency-changes
address-family ipv4 unicast
exit
net 49.0001.0001.0001.0001.0002.00

Fast convergence

spf-interval level-2 5000 50 50
lsp-gen-interval level-2 5000 50 50

Authentication

authentication-type md5 level-2
authentication key-chain <key-chain-name> level-2

Vänta med att använda en granne som nyss har bootat.

set-overload-bit on-startup 180

Interface

int lo0
ip router isis IS
interface e1/1
ip router isis IS
no isis passive-interface level-2
no isis hello-padding
isis network point-to-point #effektivisera LSP-hantering
isis authentication-type md5 level-2
isis authentication key-chain <key-chain-name> level-2

BFD

BFD hjälper routing protokoll att konvergera snabbare.

feature bfd
int e1/1
bfd interval 50 min_rx 50 multiplier 3
no bfd echo
bfd per-link
isis bfd

Show

show isis
show isis neighbors/adjacency
show isis topology