天天看点

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

<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&gt;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,如需转载请自行联系原作者