Supplement to “Introduction to IS-IS” presented at NANOG 20

17
Supplement to Supplement to “Introduction to “Introduction to IS-IS” presented IS-IS” presented at NANOG 20 at NANOG 20 g Hankins <[email protected]>

description

Supplement to “Introduction to IS-IS” presented at NANOG 20. Greg Hankins . Introduction. These slides supplement the “Introduction to IS-IS” tutorial, presented at NANOG 20. - PowerPoint PPT Presentation

Transcript of Supplement to “Introduction to IS-IS” presented at NANOG 20

Page 1: Supplement to “Introduction to IS-IS” presented at     NANOG 20

Supplement to Supplement to

“Introduction to IS-IS” “Introduction to IS-IS”

presented at presented at

NANOG 20NANOG 20

Greg Hankins <[email protected]>

Page 2: Supplement to “Introduction to IS-IS” presented at     NANOG 20

IntroductionIntroduction

These slides supplement the These slides supplement the “Introduction to IS-IS” tutorial, “Introduction to IS-IS” tutorial, presented at NANOG 20.presented at NANOG 20.

Riverstone-specific configurations Riverstone-specific configurations and commands are provided as a and commands are provided as a companion to the tutorial.companion to the tutorial.

The complete tutorial is available at: The complete tutorial is available at: http://www.nanog.org/mtg-0010/isis.htmlhttp://www.nanog.org/mtg-0010/isis.html

Page 3: Supplement to “Introduction to IS-IS” presented at     NANOG 20

interface create ip pos3/1 address-netmask 10.1.1.1/30 port so.3.1interface create ip fe1/1 address-netmask 12.1.1.2/24 port et.1.1interface create ip gi2/1 address-netmask 192.168.2.1/24 port gi.2.1interface add ip lo0 address-netmask 13.1.1.2/32!isis add area 49.0001isis add interface pos3/1isis add interface fe1/1isis set system-id 0000.0000.0002isis 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.1interface create ip fe1/1 address-netmask 192.168.4.1/24 port et.1.1interface add ip lo0 address-netmask 13.1.1.4/32!isis add area 49.0002isis add interface pos3/1isis set system-id 0000.0000.0004isis start!ip-router policy redistribute from-proto direct to-proto isis-level-1!system set name RS4

Basic ConfigurationBasic Configuration

.8.2.1 10.1.1.0/30

RS1

pos3/1

RS2

12.1.1.0/24

.2

fe1/1RS4

pos3/1fe1/1

fe1/1fe2/1

192.168.1.1/24

192.168.2.1/24

192.168.4.1/24

gi2/1

Page 4: Supplement to “Introduction to IS-IS” presented at     NANOG 20

Verifying OperationVerifying Operationisis show adjacenciesisis 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

Page 5: Supplement to “Introduction to IS-IS” presented at     NANOG 20

Verifying OperationVerifying Operationisis show circuitsisis show circuits

RS2# isis show circuits

Circuits

Name: pos3/1 Index: 6 Encap: iso Level: 1 and 2Snpa: 802.2 0:0:1d:ce:a8:7dMtu: 1499 Metric: 10

Name: fe1/1 Index: 7 Encap: iso Level: 1Snpa: 802.2 0:0:1d:ce:a8:7dMtu: 1497 Metric: 10Level 1 Priority: 64 Lanid: 0000.0000.0100.05 Flags: <>Level 2 Priority: 64 Lanid: 0000.0000.0200.07 Flags: <>

Page 6: Supplement to “Introduction to IS-IS” presented at     NANOG 20

Verifying OperationVerifying Operationisis show lsp-databaseisis 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/OL0000.0000.0100.0000 0X00000006 0X4334 602 0/0/00000.0000.0100.0500 0X00000005 0XEBE8 675 0/0/00000.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/OL0000.0000.0200.0000* 0X00000028 0XD876 651 0/0/00000.0000.0400.0000 0X00000021 0XAA50 799 0/0/0

Page 7: Supplement to “Introduction to IS-IS” presented at     NANOG 20

Verifying OperationVerifying Operationisis show lsp-database level isis show lsp-database level NN detail 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/OL0000.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

Page 8: Supplement to “Introduction to IS-IS” presented at     NANOG 20

Verifying OperationVerifying Operationisis show lsp-database level isis show lsp-database level NN detail 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/OL0000.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

Page 9: Supplement to “Introduction to IS-IS” presented at     NANOG 20

Verifying OperationVerifying Operationisis show lsp-database level isis show lsp-database level NN detail detail

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/OL0000.0000.0100.0500 0X00000007 0XE7EA 384 0/0/0 Metric: 0 IS 0000.0000.0200.00 Metric: 0 IS 0000.0000.0100.00

A pseudonode LSP A pseudonode LSP ((0000.0000.01000.05000000.0000.01000.0500) is ) is generated by RS1, which is the DIS generated by RS1, which is the DIS on interface fe1/1.on interface fe1/1.

This LSP lists all known ISs on the This LSP lists all known ISs on the LAN.LAN.

Page 10: Supplement to “Introduction to IS-IS” presented at     NANOG 20

L1 routers install default to nearest L1 routers install default to nearest L2 router automagically.L2 router automagically.

Not originated as LSP.Not originated as LSP.

Default Route InstallationDefault Route Installation

RS1# ip show routes

Destination Gateway Owner Netif----------- ------- ----- -----default 12.1.1.2 ISIS_L1 fe1/110.1.1.0/30 12.1.1.2 ISIS_L1 fe1/112.1.1.0/24 directly connected - fe1/113.1.1.1 13.1.1.1 - lo0127.0.0.1 127.0.0.1 ARP lo0192.168.1.0/24 directly connected - fe2/1192.168.2.0/24 12.1.1.2 ISIS_L1 fe1/1

Page 11: Supplement to “Introduction to IS-IS” presented at     NANOG 20

.8.2.1 10.1.1.0/30

RS1

pos3/1

RS2

12.1.1.0/24

.2

fe1/1RS4

pos3/1fe1/1

fe1/1fe2/1

192.168.1.1/24

192.168.2.1/24

192.168.4.1/24

gi2/1

RedistributionRedistribution

interface create ip pos3/1 address-netmask 10.1.1.1/30 port so.3.1interface create ip fe1/1 address-netmask 12.1.1.2/24 port et.1.1interface create ip gi2/1 address-netmask 192.168.2.1/24 port gi.2.1interface 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.0ospf add interface pos3/1 to-area 0.0.0.0ospf start!isis add area 49.0001isis add interface fe1/1isis set system-id 0000.0000.0002isis start!ip-router policy redistribute from-proto direct to-proto ospfip-router policy redistribute from-proto isis-level-2 to-proto ospfip-router policy redistribute from-proto direct to-proto isis-level-2ip-router policy redistribute from-proto ospf-ase to-proto isis-level-2!system set name RS2

IS-IS Domain OSPF Domain

Page 12: Supplement to “Introduction to IS-IS” presented at     NANOG 20

RedistributionRedistribution

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/OL0000.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

Page 13: Supplement to “Introduction to IS-IS” presented at     NANOG 20

.8.2.1 10.1.1.0/30

RS1

pos3/1

RS2

12.1.1.0/24

.2

fe1/1RS4

pos3/1fe1/1

fe1/1fe2/1

192.168.1.1/24

192.168.2.1/24

192.168.4.1/24

gi2/1

SummarizationSummarization

interface create ip pos3/1 address-netmask 10.1.1.2/30 port so.3.1interface create ip fe1/1 address-netmask 192.168.4.1/24 port et.1.1interface add ip lo0 address-netmask 13.1.1.4/32!isis add area 49.0002isis add interface pos3/1isis add summary-orig 192.168.4.0/22 metric 20isis set system-id 0000.0000.0004isis start!ip-router policy redistribute from-proto direct to-proto isis-level-2!system set name RS4

192.168.4.0/22

Page 14: Supplement to “Introduction to IS-IS” presented at     NANOG 20

SummarizationSummarization

RS2# ip show routes

Destination Gateway Owner Netif----------- ------- ----- -----10.1.1.1 127.0.0.1 - lo010.1.1.2 10.1.1.1 - pos3/112.1.1.0/24 directly connected - fe1/113.1.1.2 13.1.1.2 - lo0127.0.0.1 127.0.0.1 ARP lo0192.168.1.0/24 12.1.1.8 ISIS_L1 fe1/1192.168.2.0/24 directly connected - gi2/1192.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/OL0000.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

Page 15: Supplement to “Introduction to IS-IS” presented at     NANOG 20

TroubleshootingTroubleshootingIS-IS CommandsIS-IS Commands

isis show adjacenciesisis show adjacencies isis show circuitsisis show circuits isis show export-policiesisis show export-policies isis show globalsisis show globals isis show lsp-databaseisis show lsp-database isis show timersisis show timers

Page 16: Supplement to “Introduction to IS-IS” presented at     NANOG 20

TroubleshootingTroubleshootingIS-IS Tracing CommandsIS-IS Tracing Commands

isis trace:isis trace:– adjacency:adjacency: isis-adjacency updates isis-adjacency updates– csnp:csnp: processing and construction of CSNPs processing and construction of CSNPs– db:db: isis lsp database isis lsp database– debug:debug: isis debugging isis debugging– dis-election:dis-election: isis DIS election isis DIS election– floodingflooding: flooding of all LSPs: flooding of all LSPs– iih:iih: send and receive of IIHs send and receive of IIHs– sp:sp: send and receive of LSPs send and receive of LSPs– packets:packets: send and receive of PACKETS send and receive of PACKETS– psnp:psnp: processing and construction of PSNPs processing and construction of PSNPs– spf:spf: running of spf algorithm running of spf algorithm– system:system: isis-system tracepoints isis-system tracepoints

Page 17: Supplement to “Introduction to IS-IS” presented at     NANOG 20

TroubleshootingTroubleshootingIS-IS GateD Configuration FileIS-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 ; };};