<b>一.提出背景:</b>IS-IS提出是為ISO的OSI協定提供服務,為OSI協定棧中CLNS提供路由服務的一款協定.
<b>二.基本術語:</b>
1.CONS 面向連接配接的網絡服務
2.CLNS 面向無連接配接的網絡服務
3.CLNP 面向無連接配接的網絡協定 (為CLNS提供服務)
4.ES 終端系統
5.IS 中間系統
<b>三.IS-IS路由層次關系:</b>
1.LEVEL 0 :ES 與IS 之間通信
2.LEVEL 1: 同區域的IS之間通信
3.LEVEL 2: 不同區域之間的IS通信
4.LEVEL 3:不同AS之間通信
<b>四.IS-IS路由器類型:</b>
1.LEVEL 1 IS :區域内部路由器
2.LEVEL 1-2 IS :區域邊界路由器
3.LEVEL 2 IS: 骨幹路由器
<b>五.IS-IS特性:</b>
1.算法:LINK-STATE (SPF)
2.支援VLSM.CIDR.不連續子網
3.通過HELLO封包建立鄰居關系
4.增量的觸發更新
5.通過交換鍊路狀态封包同步LSDB
實驗拓撲如下:詳細資訊如圖所示
<b>具體配置:</b>
R1:
Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#int lo0
R1(config-if)#ip address 1.1.1.1 255.255.255.0
R1(config-if)#ip router isis //接口上啟用
R1(config-if)#interface f0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#ip router isis //接口上啟用isis
R1(config)#router isis //全局啟用isis
R1(config-router)#net 49.1111.1111.1111.1111.00 //配置isis系統号
R1(config-router)#end
R1#
R2:
Router(config)#hostname R2
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.0
R2(config-if)#ip router isis //同上
R2(config-if)#int f0/0
R2(config-if)#ip ad 192.168.1.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int f0/1
R2(config-if)#ip add 192.168.2.2 255.255.255.0
R2(config-if)#ip router isis
R2(config-if)#exit
R2(config)#router isis //同上
R2(config-router)#net 49.1111.2222.2222.2222.00
R2(config-router)#end
R2#
R3:
Router(config)#hostname R3
R3(config)#int lo0
R3(config-if)#ip router isis
R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config-if)#int f0/0
R3(config-if)#ip add 192.168.2.1 255.255.255.0
R3(config-if)#no sh
R3(config-if)#exit
R3(config)#router isis //同上
R3(config-router)#net 49.1111.3333.3333.3333.00
R3(config-router)#end
R3#
<b>檢視R2路由表:</b>
R2#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, 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/24 is subnetted, 1 subnets
i L1 1.1.1.0 [115/20] via 192.168.1.1, Ethernet0/0 //級别1的路由
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/24 is subnetted, 1 subnets
i L1 3.3.3.0 [115/20] via 192.168.2.1, Ethernet0/1 //級别1的路由
C 192.168.1.0/24 is directly connected, Ethernet0/0
C 192.168.2.0/24 is directly connected, Ethernet0/1
注:因為他們都屬同一區域,是以在LEVEL1中,若是區域間那就會有L2的路由.
<b>驗證拼通:</b>
R2#ping 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 = 1/2/4 ms
---------------------------------------------------------------------------------
R2#ping 3.3.3.3
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
<b>總結:ISIS路由協定應用比較少,隻是在ISP中才會用到,是以也不具體講解.</b>
本文轉自 meiyanaa 51CTO部落格,原文連結:http://blog.51cto.com/justim/279229,如需轉載請自行聯系原作者