本文共 2980 字,大约阅读时间需要 9 分钟。
实验目的:练习IS-IS的试验步骤
实验拓扑:
第一种纯IS-IS的配置:
R1:
no ip routing
clns routing
router isis
net 49.0001.0000.0000.0001.00
interface Serial1/1
no ip address
no ip route-cache
serial restart-delay 0
clns router isis
R2:
no ip routing
clns routing
router isis
net 49.0001.0000.0000.0002.00
interface Serial1/0
no ip address
no ip route-cache
serial restart-delay 0
clns router isis
!
interface Serial1/1
no ip address
no ip route-cache
serial restart-delay 0
clns router isis
R3:
no ip routing
clns routing
router isis
net 49.0002.0000.0000.0003.00
interface Serial1/0
no ip address
no ip route-cache
serial restart-delay 0
clns router isis
R3# ping 49.0001.0000.0000.0001.00
Type escape sequence to abort.
Sending 5, 100-byte CLNS Echos with timeout 2 seconds
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 120/135/168 ms
R1# ping 49.0002.0000.0000.0003.00
Type escape sequence to abort.
Sending 5, 100-byte CLNS Echos with timeout 2 seconds
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/120/144 ms
R1#show clns route
Codes: C - connected, S - static, d - DecnetIV
I - ISO-IGRP, i - IS-IS, e - ES-IS
B - BGP, b - eBGP-neighbor
C 49.0001.0000.0000.0001.00 [1/0], Local IS-IS NET
C 49.0001 [2/0], Local IS-IS Area
i 49.0002 [110/20]
via R2, Serial1/1
R1#sh isis database
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R1.00-00 * 0x00000004 0x0261 887 1/0/0
R2.00-00 0x00000004 0x124F 873 1/0/0
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
R1.00-00 * 0x00000002 0x4EAE 874 0/0/0
R2.00-00 0x00000003 0x5F02 873 0/0/0
R3.00-00 0x00000002 0x5B9C 857 0/0/0
集成化IS-IS的配置:
R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
i L2 1.1.1.1 [115/30] via 10.1.23.2, Serial1/0
10.0.0.0/24 is subnetted, 2 subnets
i L2 10.1.12.0 [115/20] via 10.1.23.2, Serial1/0
C 10.1.23.0 is directly connected, Serial1/0
R3#p 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 112/118/120 m
配置:
全局启用ip routing
router isis
net 49.0002.0000.0000.0003.00
interface Serial1/0
ip address 10.1.23.3 255.255.255.0
ip router isis
serial restart-delay 0
R3#show ip route isis
1.0.0.0/32 is subnetted, 1 subnets
i L2 1.1.1.1 [115/30] via 10.1.23.2, Serial1/0
10.0.0.0/24 is subnetted, 2 subnets
i L2 10.1.12.0 [115/20] via 10.1.23.2, Serial1/0
本文转自 gehailong 51CTO博客,原文链接:http://blog.51cto.com/gehailong/297406,如需转载请自行联系原作者