您的位置:首页 > 其它

BSCI-10:介绍ISIS路由协议与基本配置

2010-03-01 08:51 507 查看
一.提出背景:IS-IS提出是为ISO的OSI协议提供服务,为OSI协议栈中CLNS提供路由服务的一款协议.

二.基本术语:1.CONS 面向连接的网络服务2.CLNS 面向无连接的网络服务3.CLNP 面向无连接的网络协议 (为CLNS提供服务)4.ES 终端系统5.IS 中间系统

三.IS-IS路由层次关系:1.LEVEL 0 :ES 与IS 之间通信2.LEVEL 1: 同区域的IS之间通信3.LEVEL 2: 不同区域之间的IS通信4.LEVEL 3:不同AS之间通信

四.IS-IS路由器类型:1.LEVEL 1 IS :区域内部路由器2.LEVEL 1-2 IS :区域边界路由器3.LEVEL 2 IS: 骨干路由器

五.IS-IS特性:1.算法:LINK-STATE (SPF)2.支持VLSM.CIDR.不连续子网3.通过HELLO报文创建邻居关系4.增量的触发更新5.通过交换链路状态报文同步LSDB
实验拓扑如下:详细信息如图所示


具体配置:
R1:Router>enRouter#conf tRouter(config)#hostname R1R1(config)#int lo0R1(config-if)#ip address 1.1.1.1 255.255.255.0R1(config-if)#ip router isis //接口上启用R1(config-if)#interface f0/0R1(config-if)#ip address 192.168.1.1 255.255.255.0R1(config-if)#no shR1(config-if)#ip router isis //接口上启用isisR1(config)#router isis //全局启用isisR1(config-router)#net 49.1111.1111.1111.1111.00 //配置isis系统号R1(config-router)#end R1#

R2:Router>enRouter#conf tRouter(config)#hostname R2R2(config)#int lo0R2(config-if)#ip add 2.2.2.2 255.255.255.0R2(config-if)#ip router isis //同上R2(config-if)#int f0/0R2(config-if)#ip ad 192.168.1.2 255.255.255.0R2(config-if)#no shR2(config-if)#ip router isis //同上R2(config-if)#int f0/1R2(config-if)#ip add 192.168.2.2 255.255.255.0R2(config-if)#no shR2(config-if)#ip router isisR2(config-if)#exitR2(config)#router isis //同上R2(config-router)#net 49.1111.2222.2222.2222.00R2(config-router)#endR2#

R3:Router>enRouter#conf tRouter(config)#hostname R3R3(config)#int lo0R3(config-if)#ip router isisR3(config-if)#ip add 3.3.3.3 255.255.255.0R3(config-if)#int f0/0R3(config-if)#ip add 192.168.2.1 255.255.255.0R3(config-if)#no shR3(config-if)#ip router isisR3(config-if)#exitR3(config)#router isis //同上R3(config-router)#net 49.1111.3333.3333.3333.00R3(config-router)#endR3#

查看R2路由表: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 subnetsi L1 1.1.1.0 [115/20] via 192.168.1.1, Ethernet0/0 //级别1的路由 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnetsi 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/0C 192.168.2.0/24 is directly connected, Ethernet0/1R2#注:因为他们都属同一区域,所以在LEVEL1中,若是区域间那就会有L2的路由.

验证拼通: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
Type escape sequence to abort.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 msR2#
总结:ISIS路由协议应用比较少,只是在ISP中才会用到,所以也不具体讲解.本文出自 “梅岩〃s博客” 博客,请务必保留此出处http://justim.blog.51cto.com/740099/279229
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: