多平台统一管理软件接口,如何实现多平台统一管理软件接口
335
2022-09-23
在思科IOS XR上运行中间系统到中间系统协议(在思科路由器上应该使用什么命令来观察网络的路由表)
C 49.1256.0000.0000.6666.00 [1/0], Local IS-IS NETC 49.1256 [2/0], Local IS-IS Area
RP/0/0/CPU0:PE-XR1#sh run int interface Loopback0 ipv4 address 11.1.1.1 255.255.255.255 ipv6 address 2011::1/128 ! interface MgmtEth0/0/CPU0/0 ! interface GigabitEthernet0/0/0/0 ipv4 address 12.1.1.1 255.255.255.0 ipv6 enable ! interface GigabitEthernet0/0/0/1 ipv4 address 13.1.1.1 255.255.255.0 ipv6 address 2013::1/64 ! RP/0/0/CPU0:ASBR-2#sh run int Wed Sep 14 22:49:21.450 UTC interface Loopback0 ipv4 address 22.1.1.1 255.255.255.255 ipv6 address 2022::2/128 ! interface MgmtEth0/0/CPU0/0 shutdown ! interface GigabitEthernet0/0/0/0 ipv4 address 23.1.1.2 255.255.255.0 ipv6 address 2023::2/64 ! interface GigabitEthernet0/0/0/1 shutdown ! interface GigabitEthernet0/0/0/2 ipv4 address 12.1.1.2 255.255.255.0 ipv6 address 2012::2/64
XR1: router isis QYT //启动IS-IS协议,在XR设备上必须携带本地意义的TAG标识,此处为QYT net 49.1356.0000.0000.1111.00 //实施NET地址 log adjacency changes //XR系统上当邻居发生变化时产生日志的命令 interface Loopback0 address-family ipv4 unicast //该接口运行IS-IS协议,并同时把该接口的网络通告到IS-IS数据库 ! ! interface GigabitEthernet0/0/0/0 address-family ipv4 unicast XR2: router isis QYT net 49.2222.0000.0000.2222.00 log adjacency changes interface Loopback0 address-family ipv4 unicast ! ! interface GigabitEthernet0/0/0/2 address-family ipv4 unicast ! 验证IS-IS的邻居 RP/0/0/CPU0:PE-XR1#show isis neighbors Wed Sep 14 23:09:13.568 UTC IS-IS QYT neighbors: System Id Interface SNPA State Holdtime Type IETF-NSF ASBR-2 Gi0/0/0/0 5000.000a.0003 Up 7 L2 Capable RP/0/0/CPU0:ASBR-2#show isis neighbors Wed Sep 14 23:11:56.277 UTC IS-IS QYT neighbors: System Id Interface SNPA State Holdtime Type IETF-NSF PE-XR1 Gi0/0/0/2 5000.0009.0001 Up 22 L2 Capable 验证IS-IS的简要信息 RP/0/0/CPU0:ASBR-2#show isis protocol Wed Sep 14 23:12:09.366 UTC IS-IS Router: QYT //路由协议进程 System Id: 0000.0000.2222 //NET地址的系统ID IS Levels: level-1-2 //该路由器默认为L1/L2设备 Manual area address(es): 49.2222 Routing for area address(es): //区域ID 49.2222 Non-stop forwarding: Disabled Most recent startup mode: Cold Restart Topologies supported by IS-IS: IPv4 Unicast Level-1 Metric style (generate/accept): Narrow/Narrow Metric: 10 ISPF status: Disabled Level-2 Metric style (generate/accept): Narrow/Narrow Metric: 10 ISPF status: Disabled No protocols redistributed Distance: 115 //IS-IS默认的管理距离为115 Advertise Passive Interface Prefixes Only: No Interfaces supported by IS-IS: //已经激活的IS-IS接口 Loopback0 is running actively (active in configuration) GigabitEthernet0/0/0/2 is running actively (active in configuration)
验证IS-IS的路由 RP/0/0/CPU0:ASBR-2#show route isis Wed Sep 14 23:13:44.450 UTC i L2 11.1.1.1/32 [115/20] via 12.1.1.1, 00:06:19, GigabitEthernet0/0/0/2 RP/0/0/CPU0:PE-XR1#show route isis Wed Sep 14 23:13:57.129 UTC i L2 22.1.1.1/32 [115/20] via 12.1.1.2, 00:06:35, GigabitEthernet0/0/0/0 数据报文测试,可以正常传送: RP/0/0/CPU0:PE-XR1#ping 22.1.1.1 source 11.1.1.1 Wed Sep 14 23:14:46.276 UTC Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 22.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms 实施SW5的IS-IS interface Ethernet0/3 switchport access vlan 15 switchport mode access ! interface Ethernet1/0 switchport access vlan 25 switchport mode access ! interface Vlan15 description Conn**XR1 ip address 15.1.1.5 255.255.255.0 ! interface Vlan25 description Conn**XR2 ip address 25.1.1.5 255.255.255.0 ! SW5(config)#router isis SW5(config-router)#net 49.1356.0000.0000.5555.00 SW5(config-router)#log-adjacency-changes SW5(config-router)#exi SW5(config)#interface vlan 15 SW5(config-if)#ip router isis //在连接XR的SVI接口下实施IS-IS协议 SW5(config-if)#int vlan 25 SW5(config-if)#ip router isis 配置XR1和XR2,XR1: interface GigabitEthernet0/0/0/2 ipv4 address 15.1.1.1 255.255.255.0 no shutdown ! router isis QYT interface GigabitEthernet0/0/0/2 address-family ipv4 unicast //把连接交换机的接口使能IS-IS协议 XR2: interface GigabitEthernet0/0/0/4 ipv4 address 25.1.1.2 255.255.255.0 ! router isis QYT interface GigabitEthernet0/0/0/4 address-family ipv4 unicast //把连接交换机的接口使能IS-IS协议 验证SW5设备的IS-IS邻居和路由表 SW5#show isis neighbors *Sep 15 08:48:19.176: %SYS-5-CONFIG_I: Configured from console by console SW5#show isis neighbors System Id Type Interface IP Address State Holdtime Circuit Id PE-XR1 L1 Vl15 15.1.1.1 UP 23 SW5.01 PE-XR1 L2 Vl15 15.1.1.1 UP 26 SW5.01 ASBR-2 L2 Vl25 25.1.1.2 UP 28 SW5.02 SW5#show ip route isis 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 11.0.0.0/32 is subnetted, 1 subnets i L1 11.1.1.1 [115/20] via 15.1.1.1, 00:22:54, Vlan15 12.0.0.0/24 is subnetted, 1 subnets i L1 12.1.1.0 [115/20] via 15.1.1.1, 00:22:54, Vlan15 22.0.0.0/32 is subnetted, 1 subnets i L2 22.1.1.1 [115/20] via 25.1.1.2, 00:23:07, Vlan25
4.2 IS-IS的网络类型
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~