1.R1配置ISIS
[R1]ISIS 1
[R1-isis-1]network-entity 49.0001.0000.0000.1111.00
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]isis enable 1
[R1]interface LoopBack 0
[R1-LoopBack0]isis enable 1
2.R2配置ISIS
[R2]isis 1
[R2-isis-1]network-entity 49.0001.0000.0000.2222.00
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]isis enable 1
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]isis enable 1
[R2]interface LoopBack 0
[R2-LoopBack0]isis enable 1
3.R3配置ISIS
[R3]isis 1
[R3-isis-1]network-entity 49.0002.0000.0000.3333.00
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]isi enable 1
[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]isis enable 1
[R3]interface LoopBack 0
[R3-LoopBack0]isis enable 1
4.R4配置ISIS
[R4]isis 1
[R4-isis-1]network-entity 49.0002.0000.0000.4444.00
[R4]interface GigabitEthernet 0/0/0
[R4-GigabitEthernet0/0/0]isis enable 1
[R4]interface GigabitEthernet 0/0/1
[R4-GigabitEthernet0/0/1]isis enable 1
[R4]interface LoopBack 0
[R4-LoopBack0]isis enable 1
5.R5配置ISIS
[R5]isis 1
[R5-isis-1]network-entity 49.0003.0000.0000.5555.00
[R5]interface GigabitEthernet 0/0/0
[R5-GigabitEthernet0/0/0]isis enable 1
[R5]interface GigabitEthernet 0/0/1
[R5-GigabitEthernet0/0/1]isis enable 1
[R5]interface LoopBack 0
[R5-LoopBack0]isis enable 1
6.R6配置ISIS
[R6]isis 1
[R6-isis-1]network-entity 49.0003.0000.0000.6666.00
[R6]interface GigabitEthernet 0/0/0
[R6-GigabitEthernet0/0/0]isis enable 1
[R6]interface GigabitEthernet 0/0/1
[R6-GigabitEthernet0/0/1]isis
[R6-GigabitEthernet0/0/1]isis enable 1
[R6]interface LoopBack 0
[R6-LoopBack0]isis enable 1
7.查看ISIS peer
<R2>display isis peer
0000.0000.1111 GE0/0/1 0000.0000.2222.01 Up 23s L1(L1L2) 64
0000.0000.1111 GE0/0/1 0000.0000.2222.01 Up 25s L2(L1L2) 64
0000.0000.3333 GE0/0/0 0000.0000.3333.01 Up 8s L2(L1L2) 64
8.定义骨干区域和普通区域。
[R1]isis 1
[R1-isis-1]is-level level-1
//R1为普通路由器
[R2]isis 1
[R2-isis-1]is-level level-1-2
//R2是连接骨干区域和普通区域的路由器,默认路由器类型
[R3]isis 1
[R3-isis-1]is-level level-2
//R3是骨干区域
[R4]isis 1
[R4-isis-1]is-level level-2
//R4是骨干区域
[R5]isis 1
[R5-isis-1]is-level level-1-2
//R5是连接骨干区域和普通区域的路由器,默认路由器类型
[R6]isis 1
[R6-isis-1]is-level level-1
//R1为普通路由器
9. level-1的路由器只维持本区域的数据库, level-2维持所以出于骨干区域的数据库,level-1-2包含level-1、level-2的数据库。
[R1]display isis lsdb
0000.0000.1111.00-00* 0x00000008 0x8b73 937 86 0/0/0
0000.0000.2222.00-00 0x0000000c 0x7f0 1080 102 1/0/0
0000.0000.2222.01-00 0x00000003 0x3fa3 916 55 0/0/0
[R2]display isis lsdb
Level-1 Link State Database
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
-------------------------------------------------------------------------------
0000.0000.1111.00-00 0x00000008 0x8b73 599 86 0/0/0
0000.0000.2222.00-00* 0x0000000c 0x7f0 743 102 1/0/0
0000.0000.2222.01-00* 0x00000003 0x3fa3 580 55 0/0/0
Level-2 Link State Database
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
-------------------------------------------------------------------------------
0000.0000.1111.00-00 0x0000000a 0xb5ec 453 110 0/0/0
0000.0000.2222.00-00* 0x00000015 0x1623 784 114 0/0/0
0000.0000.2222.01-00* 0x00000002 0xb302 0 (609) 27 0/0/0
0000.0000.3333.00-00 0x0000000e 0xc6bc 763 113 0/0/0
0000.0000.3333.01-00 0x00000002 0xfc80 1091 55 0/0/0
0000.0000.3333.02-00 0x00000002 0x4bec 763 55 0/0/0
0000.0000.4444.00-00 0x00000010 0x8581 782 113 0/0/0
0000.0000.4444.01-00 0x00000001 0x10c3 147 55 0/0/0
0000.0000.5555.00-00 0x00000015 0xba3d 1091 114 0/0/0
0000.0000.6666.00-00 0x0000000c 0x4b77 781 110 0/0/0
0000.0000.6666.02-00 0x00000001 0x2b1f 280 55 0/0/0
<R3>display isis lsdb
Level-2 Link State Database
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
-------------------------------------------------------------------------------
0000.0000.1111.00-00 0x0000000a 0xb5ec 400 110 0/0/0
0000.0000.2222.00-00 0x00000015 0x1623 730 114 0/0/0
0000.0000.3333.00-00* 0x0000000e 0xc6bc 712 113 0/0/0
0000.0000.3333.01-00* 0x00000002 0xfc80 1040 55 0/0/0
0000.0000.3333.02-00* 0x00000002 0x4bec 712 55 0/0/0
0000.0000.4444.00-00 0x00000010 0x8581 731 113 0/0/0
0000.0000.4444.01-00 0x00000001 0x10c3 94 55 0/0/0
0000.0000.5555.00-00 0x00000015 0xba3d 1040 114 0/0/0
0000.0000.6666.00-00 0x0000000c 0x4b77 730 110 0/0/0
0000.0000.6666.02-00 0x00000001 0x2b1f 227 55 0/0/0
10.查看ISIS路由表
<R1>display ip routing-table protocol isis
0.0.0.0/0 ISIS-L1 15 10 D 12.1.1.2 GigabitEthernet0/0/1
2.2.2.2/32 ISIS-L1 15 10 D 12.1.1.2 GigabitEthernet0/0/1
23.0.0.0/8 ISIS-L1 15 20 D 12.1.1.2 GigabitEthernet0/0/1
11.R2、R5( Level-1-2)配置只发送必要类型的hello
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]isis circuit-level level-1
[R5]interface GigabitEthernet 0/0/1
[R5-GigabitEthernet0/0/1]isis circuit-level level-1
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容