7-高级路由:RIP计时器修改

一、实验拓扑:
7-高级路由:RIP计时器修改
Note:
1、R1、R2、R3两边路由器计时器一般部署要相同,不然会发生网络动荡。
2、RIP协议默认为版本1,查看方法:show ip protocal!
二、命令部署:
1、基本部署:
R1(config)#int f0/0
R1(config-if)#no shutdown
R1(config-if)#ip add 12.1.1.1 255.255.255.0

R1(config)#router rip
R1(config-router)#no auto-summary
R1(config-router)#version 2
R1(config-router)#network 12.1.1.1

R1(config)#int lo1
R1(config-if)#ip add 1.1.1.1 255.255.255.0

R2(config)#int f0/0
R2(config-if)#no shutdown
R2(config-if)#ip add 12.1.1.2 255.255.255.0
R2(config-if)#int f1/0
R2(config-if)#no shutdown
R2(config-if)#ip add 23.1.1.2 255.255.255.0

R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#no auto-summary
R2(config-router)#network 12.1.1.2
R2(config-router)#network 23.1.1.2

R3(config)#int f0/0
R3(config-if)#no shutdown
R3(config-if)#ip add 23.1.1.3 255.255.255.0

R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#no auto-summary
R3(config-router)#network 23.1.1.3

2、重点部署:
①修改后:±4.75s会失效
R1(config)#router rip
R1(config-router)#time basic 5 10 30 40

R2(config)#router rip
R2(config-router)#timer basic 5 30 10 40

R3(config)#router rip
R3(config-router)#timer basic 5 30 10 40

三、验证:
1、RIP计时器修改前:
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 2 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
周期广播:30s±4.75(异同步)
失效时间:180s
抑制时间:60s(实际是60s,因为180+60=240)
刷新时间:240s 到达时间,删除此路由

2、RIP计时器修改后:
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 5 seconds, next due in 2 seconds
Invalid after 30 seconds, hold down 10, flushed after 40
7-高级路由:RIP计时器修改

7-高级路由:RIP计时器修改

猜你喜欢

转载自blog.51cto.com/13856092/2137477
今日推荐