1.预配置
r1(config-if)#int s1/2
r1(config-if)#ip ad
r1(config-if)#no sh
r1(config-if)#int lo0
r1(config-if)#ip ad
r1(config-if)#int s1/3
r1(config-if)#ip ad
r1(config-if)#no sh
r1(config-if)#router rip
r1(config-router)#net
r1(config-router)#net
r1(config-router)#no auto-summary
r1(config-router)#ver 2
不把
r1(config)#ip route
r2(config)#int s2/1
r2(config-if)#ip ad
r2(config-if)#no sh
r2(config-if)#int s2/3
r2(config-if)#ip ad
r2(config-if)#no sh
r2(config-if)#
r2(config-if)#router rip
r2(config-router)#net
r2(config-router)#net
r2(config-router)#no au
r2(config-router)#ver 2
r3(config)#int s3/2
r3(config-if)#ip ad
r3(config-if)#no sh
r3(config-if)#int s3/1
r3(config-if)#ip ad
r3(config-if)#no sh
r3(config-if)#router rip
r3(config-router)#net
r3(config-router)#net
r3(config-router)#no au
r3(config-router)#ver 2
不把
r3(config)#ip route
2.查看
r1#sho ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
C
R
routing vi
C
R
routing vi
3.把S1/2 关闭,再看路由表
r1#sho ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
C
S
C
4.把S1/2打开看路由表
r1#sho ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O -
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
C
R
C
C
R
现在可以见到静态路由又处于备份的地位。
上一篇:CCNP:路由选择协议的认证(Authauthentication in All routing protocol )
下一篇:CCNA802:思科EIGRP标准配置实验过程


