《H3CRIP基本配置》由会员分享,可在线阅读,更多相关《H3CRIP基本配置(4页珍藏版)》请在金锄头文库上搜索。
1、.拓扑图:首先配置RTA:RTAinterface LoopBack 0RTA-LoopBack0ip address 192.168.0.1 32 RTA-LoopBack0quit RTAinterface Serial 1/0RTA-Serial1/0ip address 192.168.1.1 24RTA-Serial1/0quit RTArip RTA-rip-1version 2RTA-rip-1undo summary RTA-rip-1network 192.168.0.0RTA-rip-1network 192.168.1.0RTA-rip-1quit RTAinterfac
2、e Serial 1/0RTA-Serial1/0rip authentication-mode mRTA-Serial1/0rip authentication-mode md5 ? rfc2082 RFC 2082 MD5 authentication packet format type rfc2453 RFC 2453 MD5 authentication packet format typeRTA-Serial1/0rip authentication-mode md5 rfc24RTA-Serial1/0rip authentication-mode md5 rfc2453 ? S
3、TRING/ Plain text/cipher text password stringRTA-Serial1/0rip authentication-mode md5 rfc2453 abcdef接着配置RTB:RTBinterface LoopBack 0RTB-LoopBack0ip address 192.168.2.1 32RTB-LoopBack0quit RTBinterface Serial 1/0RTB-Serial1/0ip address 192.168.1.2 24RTB-Serial1/0%Oct 11 13:18:55:297 2011 RTB IFNET/4/U
4、PDOWN:Protocol PPP IPCP on the interface Serial0/2/0 is UP RTB-Serial1/0quit RTBrip RTB-rip-1version 2RTB-rip-1undo summary RTB-rip-1network 192.168.2.0 RTB-rip-1network 192.168.1.0RTB-rip-1quitRTAinterface Serial 1/0RTA-Serial1/0rip authentication-mode md5 rfc2453 abcdef查看:查看RTA rip基本配置状态:RTAdispla
5、y rip Public VPN-instance name : RIP process : 1 RIP version : 2 Preference : 100 Checkzero : Enabled Default-cost : 0 Summary : Disabled Hostroutes : Enabled Maximum number of balanced paths : 6 Update time : 30 sec(s) Timeout time : 180 sec(s) Suppress time : 120 sec(s) Garbage-collect time : 120
6、sec(s) TRIP retransmit time : 5 sec(s) TRIP response packets retransmit count : 36 Silent interfaces : None Default routes : Disabled Verify-source : Enabled Networks : 192.168.0.0 192.168.1.0 Configured peers : None Triggered updates sent : 1 Number of routes changes : 1 Number of replies to querie
7、s : 0查看RTA路由表项:RTAdisplay ip routing-table Routing Tables: Public Destinations : 7 Routes : 7Destination/Mask Proto Pre Cost NextHop Interface127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0192.168.0.1/32 Direct 0 0 127.0.0.1 InLoop0192.168.1.0/24 Direct 0 0 192.168.
8、1.1 S0/2/0192.168.1.1/32 Direct 0 0 127.0.0.1 InLoop0192.168.1.2/32 Direct 0 0 192.168.1.2 S0/2/0192.168.2.1/32 RIP 100 1 192.168.1.2 S0/2/0查看RTB rip基本配置状态:RTBdisplay rip Public VPN-instance name : RIP process : 1 RIP version : 2 Preference : 100 Checkzero : Enabled Default-cost : 0 Summary : Disabl
9、ed Hostroutes : Enabled Maximum number of balanced paths : 6 Update time : 30 sec(s) Timeout time : 180 sec(s) Suppress time : 120 sec(s) Garbage-collect time : 120 sec(s) TRIP retransmit time : 5 sec(s) TRIP response packets retransmit count : 36 Silent interfaces : None Default routes : Disabled V
10、erify-source : Enabled Networks : 192.168.2.0 192.168.1.0 Configured peers : None Triggered updates sent : 0 Number of routes changes : 1 Number of replies to queries : 0查看RTB路由表项:RTBdisplay ip routing-table Routing Tables: Public Destinations : 7 Routes : 7Destination/Mask Proto Pre Cost NextHop In
11、terface127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0192.168.0.1/32 RIP 100 1 192.168.1.1 S0/2/0192.168.1.0/24 Direct 0 0 192.168.1.2 S0/2/0192.168.1.1/32 Direct 0 0 192.168.1.1 S0/2/0192.168.1.2/32 Direct 0 0 127.0.0.1 InLoop0192.168.2.1/32 Direct 0 0 127.0.0.1 InLoop0.