RIP大实验都是以大实验背景为基础,在其上进行的实验,拓扑图是相同的。
3. RIP大实验3: 修改rip计时器时间:update interval 5s,invalid 10s,holddown为20s,但是要求路由在没有收到update后的15s就删除。
1) 在R4上查看计时器信息:
R4#sh ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 10 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
2) 在R4上改计时器信息:
R4(config)#router rip
R4(config-router)#timers basic 5 10 20 15
3) 查看R4的路由表信息:结果发现通过RIP学到的信息时有时无:原因:R1给的路由信息30s更新一次,R4更新后,15s没收到R1发送的更新信息,就删除R1传来的更新信息,到了30s,R4又收到更新信息,又出现R1传来的路由。
R4#sh ip route
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.134.0 is directly connected, FastEthernet0/0
192.168.1.0/27 is subnetted, 1 subnets
C 192.168.1.32 is directly connected, Loopback0
R4#sh ip route
R 3.0.0.0/8 is possibly down, routing via 10.1.134.1, FastEthernet0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.134.0 is directly connected, FastEthernet0/0
192.168.1.0/27 is subnetted, 1 subnets
C 192.168.1.32 is directly connected, Loopback0
R* 0.0.0.0/0 is possibly down, routing via 10.1.134.1, FastEthernet0/0
4) 删除修改计时器信息命令:
R4(config-router)#no timers basic 5 10 20 15
本文档由联科教育www.ilync.cn 提供!!转载请注明出处