您当前的位置: 首页 > 
  • 3浏览

    0关注

    493博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

思科SP CCIE大型路由协议IS-IS的基本配置详解-ielab

ie-lab网络实验室ccie认证之家 发布时间:2020-04-01 21:09:30 ,浏览量:3

作者:ielab-悦然             更新日期2020年4月1日

头条: 手把手教你SP大型网络技术中间系统到中间系统ISIS的基本配置 SEO: 思科SP CCIE大型路由协议IS-IS的基本配置详解

       近几年来,随着在 ISP 中的广泛应用,IS(Intermediate System,中间系统)-IS 路由协议已经变得很普及。IS-IS 最初是由国际标准化组织制定的一个 OSI(开放系统互联)路由协议,被设计成工作在 OSI 无连接网络服务(CLNS)的环境中 IS-IS 是一个非常灵活的路由协议,具有很好地可扩展性,而且已经整合了诸如 MPLS(多协议标记交换)之类的特性,其主要特点如下: 

1. 维护一个链路状态数据库,并使用 SPF 算法来计算最佳路径; 

2.用 Hello 包建立和维护邻居关系; 

3.使用区域来构造两级层次化的拓扑结构; 

4.在广播多路访问网络,通过选举指定 IS(DIS)来管理和控制网络上的泛洪扩散; 

5. IS-IS 采用 cost 作为度量值; 

6 IS-IS 管理距离为 115; 

7. 快速收敛; 

8. 适合大型网络        我们通过实验来完成ISIS的相关信息的证明,通过实验,掌握NET地址的配置,启用参与路由协议的接口。 实验拓扑图:

 

一、设备基础配置 R1(config)#router isis  R1(config-router)#net 49.0001.1111.1111.1111.00 R1(config-router)#exit  R1(config)#interface loopback 0 R1(config-if)#ip address 1.1.1.1 255.255.255.0 R1(config-if)#ip router isis  R1(config-if)#exit  R1(config)#interface s2/0 R1(config-if)#ip address 192.168.12.1 255.255.255.0 R1(config-if)#ip router isis  R1(config-if)#no shutdown  R1(config-if)#exit 

R2(config)#router isis  R2(config-router)#net 49.0001.2222.2222.2222.00 R2(config-router)#exit  R2(config)#interface loopback 0 R2(config-if)#ip address 2.2.2.2 255.255.255.0 R2(config-if)#ip router isis R2(config-if)#exit  R2(config)#interface s2/0 R2(config-if)#ip address 192.168.12.2 255.255.255.0 R2(config-if)#ip router isis  R2(config-if)#no shutdown  R2(config-if)#exit  R2(config)#interface f0/0 R2(config-if)#ip address 192.168.1.2 255.255.255.0 R2(config-if)#ip router isis  R2(config-if)#no shutdown 

R3(config)#router isis  R3(config-router)#net 49.0001.3333.3333.3333.00 R3(config-router)#exit  R3(config)#interface lo0 R3(config-if)#ip address 3.3.3.3 255.255.255.0 R3(config-if)#ip router isis  R3(config-if)#exit  R3(config)#interface f0/0 R3(config-if)#ip address 192.168.1.3 255.255.255.0 R3(config-if)#ip router isis  R3(config-if)#no shutdown 

R4(config)#router isis  R4(config-router)#net 49.0001.4444.4444.4444.00 R4(config-router)#exit  R4(config)#interface lo0 R4(config-if)#ip address 4.4.4.4 255.255.255.0 R4(config-if)#ip router isis  R4(config-if)#exit  R4(config)#interface f0/0 R4(config-if)#ip address 192.168.1.4 255.255.255.0 R4(config-if)#ip router isis  R4(config-if)#no shutdown 

⦁    实验结果检测 R2#show clns neighbors  System Id      Interface   SNPA                State  Holdtime  Type Protocol R1             Se2/0       *HDLC*              Up     27        L1L2 IS-IS R3             Fa0/0       ca03.2488.0000      Up     28        L1L2 IS-IS R4             Fa0/0       ca04.2497.0000      Up     9         L1L2 IS-IS

 

       从以上输出可以看出,路由器 R2 有 3 个邻居,而且都是“L1L2”类型的,这也是启动IS-IS 的路由器的默认类型。由于 R1 和 R2 是通过串行连接的,所以 SNPA 为“*HDLC*”,而R2 与 R3 和 R4 是通过以太网连接的,所以 SNPA 分别是 R3 和 R4 以太口“Fastethernet0/0”的 MAC 地址。 

R2#show isis hostname  Level  System ID      Dynamic Hostname  (notag)  2     4444.4444.4444 R4  2     3333.3333.3333 R3  2     1111.1111.1111 R1      * 2222.2222.2222 R2 通过命令“show isis hostname”查看,上面输出清楚的显示了系统 ID 和动态主机名的映射关系,其中“*” 表示本地路由器。

R2#show ip route  Codes: L - local, 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, H - NHRP, l - LISP        a - application route        + - replicated route, % - next hop override

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.12.1, 00:25:18, Serial2/0       2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C        2.2.2.0/24 is directly connected, Loopback0 L        2.2.2.2/32 is directly connected, Loopback0       3.0.0.0/24 is subnetted, 1 subnets i L1     3.3.3.0 [115/20] via 192.168.1.3, 00:19:43, FastEthernet0/0       4.0.0.0/24 is subnetted, 1 subnets i L1     4.4.4.0 [115/20] via 192.168.1.4, 00:17:01, FastEthernet0/0       192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks C        192.168.1.0/24 is directly connected, FastEthernet0/0 L        192.168.1.2/32 is directly connected, FastEthernet0/0       192.168.12.0/24 is variably subnetted, 2 subnets, 2 masks C        192.168.12.0/24 is directly connected, Serial2/0 L        192.168.12.2/32 is directly connected, Serial2/0

输出表明,如果路由器类型为“L1/L2”,区域内的路由用“i L1”表示,即 level-1路由。  我们使用R1去ping R4的环回地址: R1#ping 4.4.4.4 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 20/33/56 ms R1# 证明网络已通,实验完成。  

关注
打赏
1660285916
查看更多评论
立即登录/注册

微信扫码登录

0.4165s