170 likes | 183 Views
These supplementary slides provide Riverstone-specific configurations and commands for IS-IS, as presented at NANOG 20. Access the complete tutorial at the given link.
E N D
Supplement to “Introduction to IS-IS” presented at NANOG 20 Greg Hankins <ghankins@riverstonenet.com>
Introduction • These slides supplement the “Introduction to IS-IS” tutorial, presented at NANOG 20. • Riverstone-specific configurations and commands are provided as a companion to the tutorial. • The complete tutorial is available at: http://www.nanog.org/mtg-0010/isis.html
RS1 RS2 RS4 fe1/1 pos3/1 fe1/1 pos3/1 fe2/1 .2 fe1/1 .1 10.1.1.0/30 .2 192.168.1.1/24 192.168.4.1/24 .8 12.1.1.0/24 192.168.2.1/24 gi2/1 Basic Configuration interface create ip pos3/1 address-netmask 10.1.1.1/30 port so.3.1 interface create ip fe1/1 address-netmask 12.1.1.2/24 port et.1.1 interface create ip gi2/1 address-netmask 192.168.2.1/24 port gi.2.1 interface add ip lo0 address-netmask 13.1.1.2/32 ! isis add area 49.0001 isis add interface pos3/1 isis add interface fe1/1 isis set system-id 0000.0000.0002 isis start ! ip-router policy redistribute from-proto direct to-proto isis-level-1 ! system set name RS2 interface create ip pos3/1 address-netmask 10.1.1.2/30 port so.3.1 interface create ip fe1/1 address-netmask 192.168.4.1/24 port et.1.1 interface add ip lo0 address-netmask 13.1.1.4/32 ! isis add area 49.0002 isis add interface pos3/1 isis set system-id 0000.0000.0004 isis start ! ip-router policy redistribute from-proto direct to-proto isis-level-1 ! system set name RS4
Verifying Operationisis show adjacencies RS2# isis show adjacencies Adjacencies Circuit name: pos3/1 SystemID: 0000.0000.0400 State: up Usage: l2 Type: is Hold: 30 3-way: Neighbor Circuit: 00000005 Areas: 49.0002 Supported protocols: inet4 Ifaddr: 10.1.1.2 Circuit name: fe1/1 Level 1 adjacencies: 1 SystemID: 0000.0000.0100 Snpa: 802.2 0:e0:63:18:f6:61 Pri: 64 State: up Type: l1-is Hold: 9 Areas: 49.0001 Supported protocols: inet4 Ifaddr: 12.1.1.8 No level 2 adjacencies
Verifying Operationisis show circuits RS2# isis show circuits Circuits Name: pos3/1 Index: 6 Encap: iso Level: 1 and 2 Snpa: 802.2 0:0:1d:ce:a8:7d Mtu: 1499 Metric: 10 Name: fe1/1 Index: 7 Encap: iso Level: 1 Snpa: 802.2 0:0:1d:ce:a8:7d Mtu: 1497 Metric: 10 Level 1 Priority: 64 Lanid: 0000.0000.0100.05 Flags: <> Level 2 Priority: 64 Lanid: 0000.0000.0200.07 Flags: <>
Verifying Operationisis show lsp-database RS2# isis show lsp-database Task ISIS: Link State Database IS-IS Level-1 Link State Database (* - originated local) LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0000.0000.0100.0000 0X00000006 0X4334 602 0/0/0 0000.0000.0100.0500 0X00000005 0XEBE8 675 0/0/0 0000.0000.0200.0000* 0X00000010 0X1B9A 722 1/0/0 IS-IS Level-2 Link State Database (* - originated local) LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0000.0000.0200.0000* 0X00000028 0XD876 651 0/0/0 0000.0000.0400.0000 0X00000021 0XAA50 799 0/0/0
Verifying Operationisis show lsp-database level N detail RS2# isis show lsp-database level 1 detail id 0000.0000.0200 Task ISIS: Link State Database IS-IS Level-1 Link State Database (* - originated local) LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0000.0000.0200.0000* 0X00000010 0X1B9A 610 1/0/0 Area Addresses: 49.0001 NLPID: 0XCC IP Address: 10.1.1.1 IP Address: 12.1.1.2 Metric: 10 IS 0000.0000.0100.05 Metric: 10 IP 10.1.1/30 Metric: 10 IP 12.1.1/24 ipextreach: 192.168.2/24 default int 0
Verifying Operationisis show lsp-database level N detail RS2# isis show lsp-database level 2 detail id 0000.0000.0200 Task ISIS: Link State Database IS-IS Level-2 Link State Database (* - originated local) LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0000.0000.0200.0000* 0X00000028 0XD876 401 0/0/0 Area Addresses: 49.0001 NLPID: 0XCC Metric: 10 IS 0000.0000.0400.00 Metric: 10 IP 10.1.1/30 Metric: 10 IP 12.1.1/24 ipextreach: 192.168.2/24 default int 0 192.168.1/24 default int 10
Verifying Operationisis show lsp-database level N detail • A pseudonode LSP (0000.0000.01000.0500) is generated by RS1, which is the DIS on interface fe1/1. • This LSP lists all known ISs on the LAN. RS2# isis show lsp-database level 1 detail id 0000.0000.0100.05 Task ISIS: Link State Database IS-IS Level-1 Link State Database (* - originated local) LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0000.0000.0100.0500 0X00000007 0XE7EA 384 0/0/0 Metric: 0 IS 0000.0000.0200.00 Metric: 0 IS 0000.0000.0100.00
Default Route Installation • L1 routers install default to nearest L2 router automagically. • Not originated as LSP. RS1# ip show routes Destination Gateway Owner Netif ----------- ------- ----- ----- default 12.1.1.2 ISIS_L1 fe1/1 10.1.1.0/30 12.1.1.2 ISIS_L1 fe1/1 12.1.1.0/24 directly connected - fe1/1 13.1.1.1 13.1.1.1 - lo0 127.0.0.1 127.0.0.1 ARP lo0 192.168.1.0/24 directly connected - fe2/1 192.168.2.0/24 12.1.1.2 ISIS_L1 fe1/1
RS1 RS2 RS4 fe1/1 pos3/1 fe1/1 pos3/1 fe2/1 .2 fe1/1 .1 10.1.1.0/30 .2 192.168.1.1/24 192.168.4.1/24 .8 12.1.1.0/24 192.168.2.1/24 gi2/1 Redistribution OSPF Domain IS-IS Domain interface create ip pos3/1 address-netmask 10.1.1.1/30 port so.3.1 interface create ip fe1/1 address-netmask 12.1.1.2/24 port et.1.1 interface create ip gi2/1 address-netmask 192.168.2.1/24 port gi.2.1 interface add ip lo0 address-netmask 13.1.1.2/32 ! ip-router global set router-id 13.1.1.2 ! ospf create area 0.0.0.0 ospf add interface pos3/1 to-area 0.0.0.0 ospf start ! isis add area 49.0001 isis add interface fe1/1 isis set system-id 0000.0000.0002 isis start ! ip-router policy redistribute from-proto direct to-proto ospf ip-router policy redistribute from-proto isis-level-2 to-proto ospf ip-router policy redistribute from-proto direct to-proto isis-level-2 ip-router policy redistribute from-proto ospf-ase to-proto isis-level-2 ! system set name RS2
Redistribution RS2# isis show lsp-database level 2 detail id 0000.0000.0200.0000 Task ISIS: Link State Database IS-IS Level-2 Link State Database (* - originated local) LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0000.0000.0200.0000* 0X0000000C 0XA3C7 491 0/0/0 Area Addresses: 49.0001 NLPID: 0XCC Metric: 10 IS 0000.0000.0100.03 Metric: 10 IP 12.1.1/24 ipextreach: 192.168.4/24 default int 12 192.168.2/24 default int 0 10.1.1.2/32 default int 0
Summarization RS1 RS2 RS4 fe1/1 pos3/1 fe1/1 pos3/1 fe2/1 .2 fe1/1 .1 10.1.1.0/30 .2 192.168.1.1/24 192.168.4.1/24 .8 12.1.1.0/24 192.168.2.1/24 gi2/1 192.168.4.0/22 interface create ip pos3/1 address-netmask 10.1.1.2/30 port so.3.1 interface create ip fe1/1 address-netmask 192.168.4.1/24 port et.1.1 interface add ip lo0 address-netmask 13.1.1.4/32 ! isis add area 49.0002 isis add interface pos3/1 isis add summary-orig 192.168.4.0/22 metric 20 isis set system-id 0000.0000.0004 isis start ! ip-router policy redistribute from-proto direct to-proto isis-level-2 ! system set name RS4
Summarization RS2# ip show routes Destination Gateway Owner Netif ----------- ------- ----- ----- 10.1.1.1 127.0.0.1 - lo0 10.1.1.2 10.1.1.1 - pos3/1 12.1.1.0/24 directly connected - fe1/1 13.1.1.2 13.1.1.2 - lo0 127.0.0.1 127.0.0.1 ARP lo0 192.168.1.0/24 12.1.1.8 ISIS_L1 fe1/1 192.168.2.0/24 directly connected - gi2/1 192.168.4.0/22 10.1.1.2 ISIS_L2 pos3/1 RS2# isis show lsp-database detail level 2 id 0000.0000.0400.0000 Task ISIS: Link State Database IS-IS Level-2 Link State Database (* - originated local) LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL 0000.0000.0400.0000 0X0000002D 0X419C 1016 0/0/0 Area Addresses: 49.0002 NLPID: 0XCC Metric: 10 IS 0000.0000.0200.00 Metric: 10 IP 10.1.1/30 ipextreach: 192.168.4/22 default int 20
TroubleshootingIS-IS Commands • isis show adjacencies • isis show circuits • isis show export-policies • isis show globals • isis show lsp-database • isis show timers
TroubleshootingIS-IS Tracing Commands • isis trace: • adjacency: isis-adjacency updates • csnp: processing and construction of CSNPs • db: isis lsp database • debug: isis debugging • dis-election: isis DIS election • flooding: flooding of all LSPs • iih: send and receive of IIHs • sp: send and receive of LSPs • packets: send and receive of PACKETS • psnp: processing and construction of PSNPs • spf: running of spf algorithm • system: isis-system tracepoints
TroubleshootingIS-IS GateD Configuration File #****************************************************************************** # # RS IP Routing Config File # Created at: 2000-10-19 10:39:42 # #****************************************************************************** isis on { systemid 0.0.2.0 ; area 49.0001 ; interface "pos3/1" { }; interface "fe1/1" { }; }; export proto isis level 1 { proto direct { all ; }; };