Cisco路由器上的RIP偏移列表配置

Cisco路由器上的RIP偏移列表配置   在cisco 路由器上配置偏移列表来控制路由的跳数 在各个路由器上配置好rip后再配置偏移列表。 R3上的配置  www.zhishiwu.com     interface Ethernet0/3  ip address 172.16.34.3 255.255.255.0  half-duplex ! router rip  version 2  offset-list 1 in 2 Ethernet0/1  offset-list 1 in 4 Ethernet0/3  network 172.16.0.0  network 192.168.23.0  no auto-summary ! ip http server no ip http secure-server ! ! ! access-list 1 permit 1.1.1.1 !    www.zhishiwu.com   修改后路由表中将只保存最优路由。   R3#show ip route rip R    192.168.12.0/24 [120/1] via 192.168.23.2, 00:00:12, Ethernet0/1                      [120/1] via 172.16.34.1, 00:00:14, Ethernet0/3      1.0.0.0/32 is subnetted, 1 subnets R       1.1.1.1 [120/4] via 192.168.23.2, 00:00:12, Ethernet0/1   将其中一个接口shut down,在使用命令:show ip route rip R3(config)#int e0/1 R3(config-if)#shut R3(config-if)#end   R3#show ip route rip R    192.168.12.0/24 [120/1] via 172.16.34.1, 00:00:07, Ethernet0/3      1.0.0.0/32 is subnetted, 1 subnets R       1.1.1.1 [120/5] via 172.16.34.1, 00:00:07, Ethernet0/3   在offset-list 中,“in”代表从接口学习路由。“out”代表从接口发布路由。 将可看出修改rip跳数成功。    www.zhishiwu.com   拓扑:   192.168.12.0/24                 192.168.1.23.0/24              R1              .1                   R2       .2                                      R3                 .3                         E0/0             E0/0               E0/1                E0/1         E0/3                                                                                                                   E0/3 172.16.34.0/24

(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)

未经允许不得转载:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权!路由网 » Cisco路由器上的RIP偏移列表配置