Professional Documents
Culture Documents
7-Introduction To ISIS
7-Introduction To ISIS
ISP/IXP Workshops
A router can be
Level-1 (L1) router
Level-2 (L2) router
Level-1-2 (L1L2) router
Level-1 router
Has neighbours only on the same area
Has a level-1 LSDB with all routing information for the area
Level-2 router
May have neighbours in the same or other areas
Has a Level-2 LSDB with all routing information about inter-area
Level-1-2 router
May have neighbours on any area.
Has two separate LSDBs: level-1 LSDB & level-2 LSDB
Area-3
L1-only
L1L2
Area-2 L2-only
L1L2
L1L2
L1-only
Area-4
L1L2 L1-only
Area-1
L1L2
L1-only
39.0f01.0002.4444.4444.4444.00 Area 3
39.0f01.0003.6666.6666.6666.00
Area 2
39.0f01.0002.3333.3333.3333.00
39.0f01.0004.7777.7777.7777.0 Area 4
0
39.0f01.0001.2222.2222.2222.00
39.0f01.0004.8888.8888.8888.00
Area 1
39.0f01.0001.1111.1111.1111.00
Receives LSP
id=x seqnr=22
Received it.
It’s new.
My own copy
Put it in the LSDB
has seqnr=21.
Now let’s flood it
So it is new,
Set SRM bit
LSP -> Install it in LSDB.
Send over p2p
id=x seqnr=22 Acknowledge it.
Maybe flood further.
Received ack
Clear SRM bit
<- PSNP
id=x seqnr=22
the DIS
a Pseudonode
LAN
ES ES
Rtr-B Rtr-C
Interface Loopback0
ip address 192.168.1.1 255.255.255.255
! Rtr-A Rtr-D
Interface Pos2/0/0 L1routers
ip address 192.168.222.1 255.255.255.0 Router-A
ip router isis
isis circuit-type level-2 Interface Loopback0
! ip address 192.168.1.5 255.255.255.255
FastEthernet4/0/0 !
ip address 192.168.120.10 255.255.255.0 interface FastEthernet0/0
ip router isis ip address 192.168.120.5 255.255.255.0
isis circuit-type level-1 ip router isis
! !
router isis router isis
passive-interface Loopback0 is-type level-1
net 49.0001.1921.6800.1001.00 passive-interface Loopback0
net 49.0001.1921.6800.1005.00 28
ISP Workshops © 2008 Cisco Systems, Inc. All rights reserved.
Configuration
L1L2 routers
Rtr-B Rtr-C
Interface Loopback0
ip address 192.168.2.2 255.255.255.255
Rtr-A Rtr-D
! L1routers
Interface Pos1/0/0
ip address 192.168.222.2 255.255.255.0 Router-D
ip router isis
isis circuit-type level-2 Interface Loopback0
! ip address 192.168.2.4 255.255.255.255
interface Fddi3/0 !
ip address 192.168.111.2 255.255.255.0 interface Fddi6/0
ip router isis ip address 192.168.111.4 255.255.255.0
isis circuit-type level-1 ip router isis
! !
router isis router isis
passive-interface Loopback0 is-type level-1
net 49.0002.1921.6800.2002.00 passive-interface Loopback0
ISP Workshops © 2008 Cisco Systems, Inc. All rights reserved. net 49.0002.1921.6800.2004.00 29
Show CLNS
L1L2 routers
Rtr-B Rtr-C
Rtr-B> sh clns
Global CLNS Information: Rtr-A Rtr-D
2 Interfaces Enabled for CLNS L1routers
NET: 49.0001.1921.6800.1001.00
Configuration Timer: 60, Default Holding Timer: 300, Packet
Lifetime 64
ERPDU's requested on locally generated packets
Intermediate system operation enabled (forwarding allowed)
IS-IS level-1-2 Router:
Routing for Area: 49.0001
L1L2 routers
Rtr-B Rtr-C
Rtr-A Rtr-D
L1routers
Rtr-A Rtr-D
L1routers
Rtr-A Rtr-D
L1routers
Rtr-B Rtr-C
Rtr-A Rtr-D
Rtr-B> show isis database L1routers
IS-IS Level-1 Link State Database
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
1921.6800.1001.00-00* 0x00000019 0x2783 1153 1/0/0 (11)
1921.6800.1005.00-00 0x0000000C 0x2179 905 0/0/0 (5)
1921.6800.1005.01-00 0x00000009 0x40EC 831 0/0/0 (4)
Rtr-A Rtr-D
L1routers
Rtr-A Rtr-D
L1routers
L1L2 routers
Rtr-B Rtr-C
Rtr-A Rtr-D
L1routers
Rtr-B> show isis spf-log
Level 1 SPF log
When Duration Nodes Count Last trigger LSP Triggers
00:06:30 0 1 6 1921.6800.1001.00-00 NEWAREA RTCLEARED NEWADJ NEWLSP
TLVCONTENT
00:06:20 0 3 3 1921.6800.1005.01-00 NEWADJ TLVCONTENT
00:06:05 0 3 2 1921.6800.1001.00-00 ATTACHFLAG LSPHEADER
Level-1 router
Use the closest Level-2 router to exit the area
Level-1-2 router
If the router has adjacencies to other areas, it will inform the
level-1 routers (intra-area) it is a potential exit point for the area
SystemID
Frag-Nr
ISP Workshops © 2008 Cisco Systems, Inc. All rights reserved.
PN-ID 48
LSP Header
LSP checksum
LSP type
level-1 or level2
Restarting of a router
Use sequence number = 1
Neighbour will flood old LSP with old sequence number
Router can now set sequence number higher then before
reboot, so everyone will use the latest LSP
Router-B
Router-A
Default routing
Both level-1 and level-2 ISs can generate a default route
A level-1 IS will always prefer a level-1 default route BEFORE
using the ATT (closest level-2 capable IS)
Creates an IP External prefix in L1 or L2 non-PN LSP
L1L2 routers
Rtr-B Rtr-C
Rtr-A Rtr-D
L1routers
Rtr-B Rtr-C
Rtr-A Rtr-D
router isis L1routers
summary-address 55.0.0.0 255.0.0.0 level-1-2
summary-address 192.168.1.0 255.255.255.0 level-1-2
redistribute static ip metric 44 level-1-2
passive-interface Loopback0
net 49.0001.1921.6800.1001.00
!
ip route 55.1.0.0 255.255.0.0 Null0
ip route 55.2.0.0 255.255.0.0 Null0
ISP Workshops © 2008 Cisco Systems, Inc. All rights reserved. 65
Summary route
L1L2 routers
Rtr-B Rtr-C
Rtr-A Rtr-D
L1routers
L1L2 routers
Rtr-B Rtr-C
Rtr-A Rtr-D
L1routers
Rtr-B Rtr-C
L1L2 routers
Rtr-B Rtr-C
Rtr-A Rtr-D
L1routers
Rtr-B Rtr-C
Rtr-B(config)#int fa4/0/0
Rtr-B(config-if)#isis metric 13 Area 49.0001 Area 49.0002
Rtr-B(config-if)#^Z
Rtr-B#
ISIS-SPF-TRIG: L1, new metric
ISIS-Update: Building L1 LSP
ISIS-Update: TLV contents different, code 80 Rtr-A Rtr-D
ISIS-Update: TLV contents different, code 2 L1routers
ISIS-SPF-TRIG: L1, 1921.6800.1001.00-00 TLV contents changed, code 2
ISIS-Update: Full SPF required
ISIS-Update: Sending L1 LSP 1921.6800.1001.00-00, seq 96, ht 1199 on FastEthernet4/0/0
ISIS-SNP: Rec L1 CSNP from 1921.6800.1005 (FastEthernet4/0/0)
ISIS-Stats: Compute L1 SPT
ISIS-Stats: Complete L1 SPT, Compute time 0.000, 3 nodes, 2 links on SPT, 0 suspends
ISIS-Update: Building L2 LSP
ISIS-Update: TLV contents different, code 80
ISIS-Update: TLV contents different, code 80
ISIS-Update: Leaf routes changed
ISIS-Update: Sending L2 LSP 1921.6800.1001.00-00, seq 96, ht 1199 on POS2/0/0
ISIS-Update: Building L2 LSP
ISIS-Update: Rate limiting L2 LSP 1921.6800.1001.00-00, seq 97
ISIS-Update: TLV contents different, code 80
ISIS-Update: TLV contents different, code 80
ISIS-Update: Leaf routes changed
ISIS-Update: Sending L2 LSP 1921.6800.1001.00-00, seq 97, ht 1196 on POS2/0/0
ISP Workshops © 2008 Cisco Systems, Inc. All rights reserved. 72
2 routers with the same System-ID
this IS got
the LSP with
LSP → LSP → a checksum error.
So it purges it.
id=x.00-00 id=x.00-00
seqnr=22 seqnr=22
RL=1200 RL=1193 ← LSP
← LSP id=x.00-00
someone purged id=x.00-00 seqnr=22
our LSP. let’s seqnr=22 RL=0
regenerate it RL=0
And on and on and ...
LSP → LSP →
id=x.00-00 id=x.00-00
seqnr=23 seqnr=23
RL=1200 RL=1194
ISP Workshops © 2008 Cisco Systems, Inc. All rights reserved. 77
Introduction to ISIS
ISP/IXP Workshops