测试配置情况 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,到此实验结束!
|