a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 163|回复: 1

[CCNA] CCNA指导:CCNA-RIPv2的认证和触发更新配置实验(4)

[复制链接]
发表于 2012-8-3 20:28:11 | 显示全部楼层 |阅读模式
(4)测试配置情况   R1#show ip pro. m0 O2 M1 t* \
  R1#show ip protocols
7 E! x, b9 I( o% I' F( s  Routing Protocol is "rip"
; A; R" _1 V9 t; F# T  Sending updates every 30 seconds, next due in 1 seconds
- w9 \$ c. `" i0 @7 z# V  Invalid after 180 seconds, hold down 180, flushed after 240( D) V7 p8 f$ k0 K
  Outgoing update filter list for all interfaces is not set  `$ E9 V& P" a# i9 J/ S# |; d7 |
  Incoming update filter list for all interfaces is not set
' @) D9 T9 b( \- H  Redistributing: rip
0 M8 X# L5 g  B( x) P& ]! q  Default version control: send version 2, receive version 2
. @  v: X" h0 V! w+ G3 f' [: M0 ^  Interface             Send  Recv  Triggered RIP  Key-chain, m, b9 R) P" A) Z  B  t
  Serial0/0             2     2          Yes       xia
& W, G& z( {- X% q  Loopback0             2     2
+ c+ o7 s2 L6 s  Automatic network summarization is in effect9 U/ J0 ]4 E$ f) z8 Y  Z' L6 ^
  Maximum path: 4% k; G' T$ T# B% F+ R
  Routing for Networks:% X) w: ]# j3 j8 K0 o
  1.0.0.0  O+ g$ B) d: w5 T' \) T; S, N
  192.168.1.0' Y# E- S. u0 O" ^' l; C
  Routing Information Sources:1 N& o" k' I6 r0 w# ~
  Gateway         Distance      Last Update2 H1 h" {7 H2 M4 M
  192.168.1.2          120      00:00:19
, B9 q9 S. K" J- s: d( L, j  Distance: (default is 120)
- }% i$ C% l9 G1 w8 ^+ ?
" k" `/ r& ?0 ]+ d/ Y& ?* f  R1#
回复

使用道具 举报

 楼主| 发表于 2012-8-3 20:28:12 | 显示全部楼层

CCNA指导:CCNA-RIPv2的认证和触发更新配置实验(4)

</p>  注:由上面的“Serial0/0             2     2          Yes       xia”表明已经在上Serial0/0启用了触发更新。
, E& v+ \/ d2 G6 H  R2#show ip rip dat
  B! w5 b) X3 ?( X: {* o, w  R2#show ip rip database
, E4 k/ M8 s: C5 b1 J* b  1.0.0.0/8    auto-summary
) ~# G6 x# T  U7 J( P0 p! K9 p; V  1.0.0.0/8# U* p9 i  D- V1 B
  [1] via 192.168.1.1, 00:02:48 (permanent), Serial0/0
% X  u& L3 ^! X* b  * Triggered Routes:( Z1 J+ s- d% x0 s  }7 Q3 Q0 F
  - [1] via 192.168.1.1, Serial0/05 R$ ^& x2 c. d3 I& K
  192.168.1.0/24    auto-summary
# @+ N5 `# F5 k& D8 B  192.168.1.0/24    directly connected, Serial0/0
+ L9 c) r. i7 b% P1 Q  192.168.2.0/24    auto-summary
- l# S7 j  t  P1 ^# O* I3 u0 \5 G, B  l  192.168.2.0/24    directly connected, Serial0/1
- R: D) E* ], w% M  192.168.3.0/24    auto-summary
. I& V4 h4 d- h. b  192.168.3.0/24$ f5 Z- z1 S8 V7 D! t5 u" q$ q
  [1] via 192.168.2.2, 00:01:13 (permanent), Serial0/12 z/ I- M7 N' C7 \3 ?7 e
  * Triggered Routes:
8 ?) T+ c' N$ R# w9 ^  - [1] via 192.168.2.2, Serial0/1
/ X8 x0 [& e. W, [. I9 a* Q) c" B  R2#9 e/ ]$ l) m& k7 s+ _
  注:从路由器R2的rip数据值可以进一步的看出,在Serial0/0和Serial0/1启用了触发更新。
2 u* R- U3 v% {1 f  如果想启用MD5认证,只要在接口下声明模式为MD5即可,具体配置命令如下:
1 R5 P' J0 v2 a. g  R1(config-keychain)#key 1
  K0 Q* y6 p# ]: @. @  w  R1(config-keychain-key)#key-string xiajiang# O$ ?0 ~4 `! }5 v/ M
  R1(config)#interface serial 0/0
+ A$ T* j; O; x$ ]3 n1 A- o; C  R1(config-if)#ip rip authentication mode md54 W8 r% q- Q# E! A" b# ^
  R1(config-if)#ip rip authentication key-chain xia+ Q# u; L9 G% p) W" G
  R1(config-if)#ip rip triggered* Q9 r) x, q0 r
  R1(config-if)#
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-4-29 22:21 , Processed in 0.272298 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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