您的位置:首页 > 其它

实验十九、RIP-2 路由协议定时器配置

2010-10-10 20:22 357 查看
实验十九、RIP-2 路由协议定时器配置
一、 实验目的
1. 掌握RIP 定时器的配置
2. 理解RIP 周期性发送的机制
二、 应用环境
1. 在某些变化频繁的环境中,需要缩短定时器的值以便及时更新路由表
2. 在某些变化非常少的环境中,也需要延长定时器的值以便减少流量和开销
3. 重要三个定时器:update、expire、holddown
三、 实验设备
1. DCR-1751 两台
2. CR-V35FC 一条
3. CR-V35MT 一条
四、 实验拓扑

五、 实验要求
配置表
ROUTER-A ROUTER-B
S1/1 (DCE ) 192.168.1.1/24 S1/0 (DTE) 192.168.1.2/24
F0/0 192.168.0.1 F0/0 192.169.2.1/24
六、 实验步骤
第一步:按照实验三和上表,配置路由器的所有接口地址并测试连通性


第二步:查看默认的定时器的值
Router-B#sh ip rip protocol RIP is Active
Sending updates every 30 seconds, next due in 30 seconds !默认值
Invalid after 180 seconds, holddown 120
update filter list for all interfaces is:
update offset list for all interfaces is:
Redistributing:
Default version control: send version 1, receive version 1 2
Interface Send Recv
FastEthernet0/0 2 2
Serial1/0 2 2
Automatic network summarization is in effect
Routing for Networks:
192.168.2.0/24
192.168.1.0/24
Distance: 120 (default is 120)
Maximum route count: 1024, Route count:5
第三步:配置路由器B
Router-B#conf
Router-B_config#router rip
Router-B_config_rip#version 2 !配置为版本2
Router-B_config_rip#network 192.168.1.0
Router-B_config_rip#network 192.168.2.0
Router-B_config_rip#timer update 10 !设置更新周期为10 秒
Router-B_config_rip#timer expire 30 !过期时间为30 秒
Router-B_config_rip#timer holddown 50 !holddown 时间为50 秒
Router-B_config_rip#
第四步:验证配置
Router-B#sh run
Building configuration...
Current configuration:
!
!version 1.3.2E
service timestamps log date
service timestamps debug date
no service password-encryption
!
hostname Router-B
!
!
!
! interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
no ip directed-broadcast
!
interface Serial1/0
ip address 192.168.1.2 255.255.255.0
no ip directed-broadcast
ip rip authentication simple
ip rip password digital
!
interface Async0/0
no ip address
no ip directed-broadcast
!
!
router rip
version 2
network 192.168.2.0
network 192.168.1.0
timers update 10
timers expire 30
timers holddown 50
!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息