rip作业

本文详细介绍了华为路由器的基本配置过程,包括设置系统名称、接口IP地址、启用RIP路由协议及认证模式等步骤,并展示了配置完成后的主要路由表项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<Huawei>sys	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]user-i	
[Huawei]user-interface c	
[Huawei]user-interface console 0
[Huawei-ui-console0]id	
[Huawei-ui-console0]idle-timeout  0 0
[Huawei-ui-console0]quit	
[Huawei-ui-console0]quit 
[Huawei]int	
[Huawei]interface loo	
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip ad	
[Huawei-LoopBack0]ip address 1.1.1.1 32
[Huawei-LoopBack0]qu	
[Huawei-LoopBack0]quit 
[Huawei]int	
[Huawei]interface  g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad	
[Huawei-GigabitEthernet0/0/0]ip address  12.1.1.1 24
Nov 18 2022 23:51:59-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]rip 2
[Huawei-rip-2]ver	
[Huawei-rip-2]veris	
[Huawei-rip-2]version 2
[Huawei-rip-2]netw	
[Huawei-rip-2]network 1.0.0.0 32
                              ^
Error:Too many parameters found at '^' position.
[Huawei-rip-2]network 1.0.0.0
[Huawei-rip-2]quit
[Huawei]sysn	
[Huawei]sysname r1
[r1]int
        ^
Error:Incomplete command found at '^' position.
[r1]int	
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]rip au	
[r1-GigabitEthernet0/0/0]rip authentication-mode  si	
[r1-GigabitEthernet0/0/0]rip authentication-mode  simple ci	
[r1-GigabitEthernet0/0/0]rip authentication-mode  simple cipher 123
<Huawei>sys	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]user-inter	
[Huawei]user-interface  c	
[Huawei]user-interface  console 0
[Huawei-ui-console0] id	
[Huawei-ui-console0]idle-timeout 0 0
[Huawei-ui-console0]quit
[Huawei]sysn	
[Huawei]sysname  r2
[r2]inter	
[r2]interface  loo	
[r2]interface  LoopBack ?
  <0-1023>  LoopBack interface number
[r2]interface  LoopBack 1
[r2-LoopBack1]quit
[r2]undo in	
[r2]undo int	
[r2]undo interface  lo	
[r2]undo interface  LoopBack  1
Info: This operation may take a few seconds. Please wait for a moment...succeede
d.
[r2]disp	
[r2]display ip b	
[r2]display ip brief
               ^
Error: Unrecognized command found at '^' position.
[r2]dis	
[r2]display  ip int	
[r2]display  ip interface br	
[r2]display  ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 1
The number of interface that is DOWN in Protocol is 3

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              unassigned           up         down      
GigabitEthernet0/0/1              unassigned           up         down      
GigabitEthernet0/0/2              unassigned           up         down      
NULL0                             unassigned           up         up(s)     
[r2]int 	
[r2]interface  lo	
[r2]interface  LoopBack  0
[r2-LoopBack0]ip ad	
[r2-LoopBack0]ip address 1.1.1.1 32
[r2-LoopBack0]quit
[r2]ping 1.1.1.1
  PING 1.1.1.1: 56  data bytes, press CTRL_C to break
    Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=10 ms
    Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms
    Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=1 ms
    Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=1 ms
    Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=1 ms

  --- 1.1.1.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/2/10 ms

[r2]dis	
[r2]display  ip int	
[r2]display  ip interface b	
[r2]display  ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 3

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              unassigned           up         down      
GigabitEthernet0/0/1              unassigned           up         down      
GigabitEthernet0/0/2              unassigned           up         down      
LoopBack0                         1.1.1.1/32           up         up(s)     
NULL0                             unassigned           up         up(s)     
[r2]int	
[r2]interface  lo	
[r2]interface  LoopBack 0
[r2-LoopBack0]ip ad	
[r2-LoopBack0]ip address 2.2.2.2 32
[r2-LoopBack0]qu	
[r2-LoopBack0]quit 
[r2]int	
[r2]interface ip ad	
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip ad	
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Nov 18 2022 23:55:12-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r2-GigabitEthernet0/0/0]qu	
[r2-GigabitEthernet0/0/0]quit 
[r2]int
        ^
Error:Incomplete command found at '^' position.
[r2]int	
[r2]interface  g0/0/1
[r2-GigabitEthernet0/0/1]ip ad	
[r2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
[r2-GigabitEthernet0/0/1]
Nov 18 2022 23:56:04-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r2-GigabitEthernet0/0/1]quit
[r2]rip 1
[r2-rip-1]vers	
[r2-rip-1]version 
                  ^
Error:Incomplete command found at '^' position.
[r2-rip-1]version 2
[r2-rip-1]netw	
[r2-rip-1]network 2.0.0.0 
[r2-rip-1]netw	
[r2-rip-1]network 12.0.0.0
[r2-rip-1]net	
[r2-rip-1]network 23.0.0.0
[r2-rip-1]net	
[r2-rip-1]network 34.0.0.0
[r2-rip-1]quit
[r2]dis	
[r2]display ip ro	
[r2]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 14       Routes : 14       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        2.2.2.2/32  Direct  0    0           D   127.0.0.1       LoopBack0
        3.3.3.3/32  RIP     100  1           D   23.1.1.2        GigabitEthernet
0/0/1
        4.4.4.4/32  RIP     100  2           D   23.1.1.2        GigabitEthernet
0/0/1
       12.1.1.0/24  Direct  0    0           D   12.1.1.2        GigabitEthernet
0/0/0
       12.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     12.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
       23.1.1.0/24  Direct  0    0           D   23.1.1.1        GigabitEthernet
0/0/1
       23.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     23.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
       34.1.1.0/24  RIP     100  1           D   23.1.1.2        GigabitEthernet
0/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r2][r2]int	
[r2]interface  g0/0/0
[r2-GigabitEthernet0/0/0]rip au	
[r2-GigabitEthernet0/0/0]rip authentication-mode  si	
[r2-GigabitEthernet0/0/0]rip authentication-mode  simple  ci	
[r2-GigabitEthernet0/0/0]rip authentication-mode  simple  cipher 123
[r2-GigabitEthernet0/0/0]qu	
[r2-GigabitEthernet0/0/0]quit 
[r2]int	
[r2]interface  g0/0/1
[r2-GigabitEthernet0/0/1]rip	
[r2-GigabitEthernet0/0/1]rip au	
[r2-GigabitEthernet0/0/1]rip authentication-mode  md	
[r2-GigabitEthernet0/0/1]rip authentication-mode  md5 u	
[r2-GigabitEthernet0/0/1]rip authentication-mode  md5 usual ci	
[r2-GigabitEthernet0/0/1]rip authentication-mode  md5 usual cipher 123
<Huawei>sys	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]user-i	
[Huawei]user-interface  c	
[Huawei]user-interface  console 0
[Huawei-ui-console0]qit
                    ^
Error: Unrecognized command found at '^' position.
[Huawei-ui-console0]quit
[Huawei]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]user-i	
[Huawei]user-interface  c
[Huawei-ui-console0] id	
[Huawei-ui-console0]idle-timeout  0 0
[Huawei-ui-console0]quit
[Huawei]int	
[Huawei]interface lo	
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip ad	
[Huawei-LoopBack0]ip address  3.3.3.3 32
[Huawei-LoopBack0]qu	
[Huawei-LoopBack0]quit 
[Huawei]int	
[Huawei]interface  g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad	
[Huawei-GigabitEthernet0/0/0]ip address 23.1.1.2 24
Nov 18 2022 23:59:24-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]quit
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]ip ad	
[Huawei-GigabitEthernet0/0/1]ip address 34.1.1.1 24
Nov 19 2022 00:00:58-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
 IP on the interface GigabitEthernet0/0/1 has entered the UP state. 
[Huawei-GigabitEthernet0/0/1]quit
[Huawei]sysn	
[Huawei]sysname r3
[r3]rip 1
[r3-rip-1]vers	
[r3-rip-1]version 2
[r3-rip-1]netw	
[r3-rip-1]network 3.0.0.0 
[r3-rip-1]quit
[r3]dis	
[r3]display ip ro	
[r3]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 11       Routes : 11       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        3.3.3.3/32  Direct  0    0           D   127.0.0.1       LoopBack0
       23.1.1.0/24  Direct  0    0           D   23.1.1.2        GigabitEthernet
0/0/0
       23.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     23.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
       34.1.1.0/24  Direct  0    0           D   34.1.1.1        GigabitEthernet
0/0/1
       34.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     34.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
[r3]rip 1
[r3-rip-1]version 2
[r3-rip-1]network 23.0.0.0
[r3-rip-1]netw	
[r3-rip-1]network 34.0.0.0
[r3-rip-1]
[r3-rip-1]qu	
[r3-rip-1]quit 
[r3]int	
[r3]interface lo	
[r3]interface LoopBack 1
[r3-LoopBack1]ip ad	
[r3-LoopBack1]ip address 192.168.1.1 24
[r3-LoopBack1]qu	
[r3-LoopBack1]quit 
[r3]int	
[r3]interface l	
[r3]interface LoopBack 2
[r3-LoopBack2]ip ad	
[r3-LoopBack2]ip address 192.168.2.1 24
[r3-LoopBack2]quit
[r3]rip 1
[r3-rip-1]version 2
[r3-rip-1]net	
[r3-rip-1]network 192.168.1.0
[r3-rip-1]net	
[r3-rip-1]network 192.168.2.0
[r3-rip-1]quit
[r3]int
        ^
Error:Incomplete command found at '^' position.
[r3]int	
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]rip s	
[r3-GigabitEthernet0/0/0]rip su	
[r3-GigabitEthernet0/0/0]rip summary-address  192.168.0.0 255.225.252.0
<Huawei>sys	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]int	
[Huawei]user-interface c
[Huawei-ui-console0]id 00
[Huawei-ui-console0]id	
[Huawei-ui-console0]idle-timeout 0 0
[Huawei-ui-console0]qu	
[Huawei-ui-console0]quit 
[Huawei]int	
[Huawei]interface loo	
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip ad	
[Huawei-LoopBack0]ip address 4.4.4.4 32
[Huawei-LoopBack0]quit
[Huawei]int	
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip ad	
[Huawei-GigabitEthernet0/0/0]ip address 34.1.1.2 24
Nov 19 2022 00:02:04-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]quit
[Huawei]sysn	
[Huawei]sysname  r4
[r4]rip 1
[r4-rip-1]vers	
[r4-rip-1]version 2
[r4-rip-1]netw	
[r4-rip-1]network 4.0.0.0
[r4-rip-1]quit
[r4]display ip ro	
[r4]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 8        Routes : 8        

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        4.4.4.4/32  Direct  0    0           D   127.0.0.1       LoopBack0
       34.1.1.0/24  Direct  0    0           D   34.1.1.2        GigabitEthernet
0/0/0
       34.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     34.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r4][r4]rip 1
[r4-rip-1]version 2
[r4-rip-1]netw	
[r4-rip-1]network 23.0.0.0
[r4-rip-1]netw	
[r4-rip-1]network 34.0.0.0
[r4-rip-1]qu	
[r4-rip-1]quit  
[r4]dis	
[r4]display ip ro	
[r4]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 12       Routes : 12       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        2.2.2.2/32  RIP     100  2           D   34.1.1.1        GigabitEthernet
0/0/0
        3.3.3.3/32  RIP     100  1           D   34.1.1.1        GigabitEthernet
0/0/0
        4.4.4.4/32  Direct  0    0           D   127.0.0.1       LoopBack0
       12.1.1.0/24  RIP     100  2           D   34.1.1.1        GigabitEthernet
0/0/0
       23.1.1.0/24  RIP     100  1           D   34.1.1.1        GigabitEthernet
0/0/0
       34.1.1.0/24  Direct  0    0           D   34.1.1.2        GigabitEthernet
0/0/0
       34.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     34.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值