rip的使用

1.使用ripv2全网可达2保证更新安全 12之间使用明文 23之间使用密文3.r3的环回做汇总192.168.1.0/24 192.168.2.0/24 4.r1的环回不能宣告全网可达

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]
Nov 18 2022 16:34:33-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/0 has turned into UP state.
[Huawei]sy
           ^
Error:Incomplete command found at '^' position.
[Huawei]sy    
[Huawei]sysname r1
[r1]us    
[r1]user-bind
[r1]user-group
[r1]user-interface c    
[r1]user-interface console0
[r1-ui-console0]i    
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]quit
[r1]in    
[r1]info-center
[r1]interface l    
[r1]interface LoopBack ?
  <0-1023>  LoopBack interface number
[r1]rip 1
[r1-rip-1]v    
[r1-rip-1]verify-source
[r1-rip-1]version 2
[r1-rip-1]n    
[r1-rip-1]quit
[r1]in    
[r1]info-center
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip ad    
[r1-GigabitEthernet0/0/0]ip address 12.1.1.1
                                             ^
Error:Incomplete command found at '^' position.
[r1-GigabitEthernet0/0/0]ip ad    
[r1-GigabitEthernet0/0/0]ip address 12.1.1.1 24
[r1-GigabitEthernet0/0/0]
Nov 18 2022 17:00:08-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]rip 1
[r1-rip-1]v    
[r1-rip-1]verify-source
[r1-rip-1]version 2
[r1-rip-1]n    
[r1-rip-1]network 12.1.1. 0
                  ^
Error: Wrong parameter found at '^' position.
[r1-rip-1]n    
[r1-rip-1]network 12.0.0.0 
[r1-rip-1]net    
[r1-rip-1]network 23.0.0.0
[r1-rip-1]n    
[r1-rip-1]network 34.0.0.0
[r1-rip-1]quit
 

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sy    
[Huawei]sysname r2
[r2]us    
[r2]user-bind
[r2]user-group
[r2]user-interface c    
[r2]user-interface console0
[r2-ui-console0]i    
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]quit
[r2]in    
[r2]info-center
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip ad    
[r2-GigabitEthernet0/0/0]ip address 23.1.1.0
                                             ^
Error:Incomplete command found at '^' position.
[r2-GigabitEthernet0/0/0]ip ad    
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Nov 18 2022 17:02:21-08:00 r2 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r2-GigabitEthernet0/0/0]in    
[r2-GigabitEthernet0/0/0]int    
[r2-GigabitEthernet0/0/0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip     
[r2-GigabitEthernet0/0/1]ip ad    
[r2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Nov 18 2022 17:02:51-08:00 r2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r2-GigabitEthernet0/0/1]quit
[r2]ip ad    
[r2]rip
[r2-rip-1]network 12.0.0.0 
[r2-rip-1]
[r2-rip-1][r1-rip-1]net    
[r2-rip-1][r1-rip-1]net
          ^
Error: Unrecognized command found at '^' position.
[r2-rip-1]
[r2-rip-1][r1-rip-1]network 23.0.0.0
          ^
Error: Unrecognized command found at '^' position.
[r2-rip-1]
[r2-rip-1][r1-rip-1]n    
[r2-rip-1][r1-rip-1]n
          ^
Error: Unrecognized command found at '^' position.
[r2-rip-1]
[r2-rip-1][r1-rip-1]network 34.0.0.0
          ^
Error: Unrecognized command found at '^' position.
[r2-rip-1]
[r2-rip-1]n    
[r2-rip-1]network 12.0.0.0
Error: The specified network already exists in the process.
[r2-rip-1]n    
[r2-rip-1]network 23.0.0.0
[r2-rip-1]n    
[r2-rip-1]network 34.0.0.0
[r2-rip-1]quit

[r3]rip
[r3-rip-1]n    
[r3-rip-1]network 12.0.0.0
[r3-rip-1]n    
[r3-rip-1]network 23.0.0.0
[r3-rip-1]n    
[r3-rip-1]network 34.0.0.0
[r3-rip-1]

[r4]rip
[r4-rip-1]n    
[r4-rip-1]network 12.0.0.0
[r4-rip-1]n    
[r4-rip-1]network 23.0.0.0
[r4-rip-1]n    
[r4-rip-1]network 34.0.0.0
[r4-rip-1]

明文

r1]in    
[r1]info-center
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]rip    
[r1-GigabitEthernet0/0/0]rip au    
[r1-GigabitEthernet0/0/0]rip authentication-mode s    
[r1-GigabitEthernet0/0/0]rip authentication-mode simple c    
[r1-GigabitEthernet0/0/0]rip authentication-mode simple cipher 123
 

[r2]in    
[r2]info-center
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]rip au    
[r2-GigabitEthernet0/0/0]rip authentication-mode s    
[r2-GigabitEthernet0/0/0]rip authentication-mode simple c    
[r2-GigabitEthernet0/0/0]rip authentication-mode simple cipher 123

MD5

r2-GigabitEthernet0/0/0]int g0/0/1
[r2-GigabitEthernet0/0/1]rip au    
[r2-GigabitEthernet0/0/1]rip authentication-mode m    
[r2-GigabitEthernet0/0/1]rip authentication-mode md5 u    
[r2-GigabitEthernet0/0/1]rip authentication-mode md5 usual c    
[r2-GigabitEthernet0/0/1]rip authentication-mode md5 usual cipher 123
 

[r3]in    
[r3]info-center
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]rip au    
[r3-GigabitEthernet0/0/0]rip authentication-mode m    
[r3-GigabitEthernet0/0/0]rip authentication-mode md5 u    
[r3-GigabitEthernet0/0/0]rip authentication-mode md5 usual c    
[r3-GigabitEthernet0/0/0]rip authentication-mode md5 usual cipher 123
[r3-GigabitEthernet0/0/0]

汇总

[r3-GigabitEthernet0/0/0]rip su    
[r3-GigabitEthernet0/0/0]rip summary-address 192.168.0.0 255.255.252.0
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]rip s    
[r3-GigabitEthernet0/0/1]rip su    
[r3-GigabitEthernet0/0/1]rip summary-address 192.168.0.0 255.255.252.0
[r3-GigabitEthernet0/0/1]quit
 

全网通但不宣

[r1]rip 1
[r1-rip-1]s    
[r1-rip-1]silent-interface g0/0/1
[r1-rip-1]quit
[r1]ip r    
[r1]ip relay
[r1]ip route
[r1]ip route-static 0.0.0.0 0 1.1.1.1
Error: The next-hop address is invalid.
[r1]rip
[r1-rip-1]de    
[r1-rip-1]default-cost
[r1-rip-1]default-route o    
[r1-rip-1]default-route originate 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值