设为首页收藏本站language 语言切换
查看: 757|回复: 0
收起左侧

NA-RIPv2的认证和触发更新配置实验(4)

[复制链接]
发表于 2013-7-23 16:47:54 | 显示全部楼层 |阅读模式
测试配置情况

  R1#show ip pro

  R1#show ip protocols

  Routing Protocol is "rip"

  Sending updates every 30 seconds, next due in 1 seconds

  Invalid after 180 seconds, hold down 180, flushed after 240

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

  Redistributing: rip

  Default version control: send version 2, receive version 2

  Interface             Send  Recv  Triggered RIP  Key-chain

  Serial0/0             2     2          Yes       xia

  Loopback0             2     2

  Automatic network summarization is in effect

  Maximum path: 4

  Routing for Networks:

  1.0.0.0

  192.168.1.0

  Routing Information Sources:

  Gateway         Distance      Last Update

  192.168.1.2          120      00:00:19

  Distance: (default is 120)

  R1#

  注:由上面的“Serial0/0             2     2          Yes       xia”表明已经在上Serial0/0启用了触发更新。

  R2#show ip rip dat

  R2#show ip rip database

  1.0.0.0/8    auto-summary

  1.0.0.0/8

  [1] via 192.168.1.1, 00:02:48 (permanent), Serial0/0

  * Triggered Routes:

  - [1] via 192.168.1.1, Serial0/0

  192.168.1.0/24    auto-summary

  192.168.1.0/24    directly connected, Serial0/0

  192.168.2.0/24    auto-summary

  192.168.2.0/24    directly connected, Serial0/1

  192.168.3.0/24    auto-summary

  192.168.3.0/24

  [1] via 192.168.2.2, 00:01:13 (permanent), Serial0/1

  * Triggered Routes:

  - [1] via 192.168.2.2, Serial0/1

  R2#

  注:从路由器R2的rip数据值可以进一步的看出,在Serial0/0和Serial0/1启用了触发更新。

  如果想启用MD5认证,只要在接口下声明模式为MD5即可,具体配置命令如下:

  R1(config-keychain)#key 1

  R1(config-keychain-key)#key-string xiajiang

  R1(config)#interface serial 0/0

  R1(config-if)#ip rip authentication mode md5

  R1(config-if)#ip rip authentication key-chain xia

  R1(config-if)#ip rip triggered

  R1(config-if)#

  具体怎样去配置MD5认证,这里就不在多说了。OK,到此实验结束!


您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-2 14:58 , Processed in 0.062742 second(s), 15 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表