RIP实验

【实验要求】

【实验拓扑】

【R1配置】

The device is running!

<Huawei> User interface con0 is available



Please Press ENTER.

<Huawei>
<Huawei>sys 
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R1
[R1]
Nov 13 2023 09:59:25-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 1, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R1]int e0/0/0
[R1-Ethernet0/0/0]ip add 10.0.7.1 30
[R1-Ethernet0/0/0]
Nov 13 2023 10:01:36-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface Ethernet0/0/0 has entered the UP state.
[R1-Ethernet0/0/0]q
[R1]loopback1
    ^
Error: Unrecognized command found at '^' position.
[R1]
Nov 13 2023 10:01:45-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 2, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R1]int loopback1
[R1-LoopBack1]ip a
Nov 13 2023 10:01:55-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 3, the ch
ange loop count is 0, and the maximum number of records is 4095.
                   ^
Error:Incomplete command found at '^' position.
[R1-LoopBack1]ip add 10.0.1.1 24
[R1-LoopBack1]int 
Nov 13 2023 10:02:15-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 4, the ch
ange loop count is 0, and the maximum number of records is 4095.loopback2
[R1-LoopBack2]ip add 10.0.2.
Nov 13 2023 10:02:25-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 5, the ch
ange loop count is 0, and the maximum number of records is 4095.1 24
[R1-LoopBack2]int loopback
Nov 13 2023 10:02:35-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 6, the ch
ange loop count is 0, and the maximum number of records is 4095.3
[R1-LoopBack3]ip add 10.0.
Nov 13 2023 10:02:45-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 7, the ch
ange loop count is 0, and the maximum number of records is 4095.3.1 24
[R1-LoopBack3]
Nov 13 2023 10:02:55-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 8, the ch
ange loop count is 0, and the maximum number of records is 4095. User interface con0 is available



Please Press ENTER.

<R1>sys
Enter system view, return user view with Ctrl+Z.
[R1]rip 1
[R1-rip-1]ri
Nov 13 2023 10:13:25-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 9, the ch
ange loop count is 0, and the maximum number of records is 409
[R1-rip-1]verion 2
          ^
Error: Unrecognized command found at '^' position.
[R1-rip-1]version 2
[R1-rip-1]network 10.0.0.0
Nov 13 2023 10:13:55-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 10, the c
hange loop count is 0, and the maximum number of records is 4095.
[R1-rip-1]
Nov 13 2023 10:14:05-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 11, the c
hange loop count is 0, and the maximum number of records is 4095. User interface con0 is available



Please Press ENTER.

<R1>sys
Enter system view, return user view with Ctrl+Z.
[R1]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 15       Routes : 15       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

       10.0.0.0/30  RIP     100  1           D   10.0.7.2        Ethernet0/0/0
       10.0.1.0/24  Direct  0    0           D   10.0.1.1        LoopBack1
       10.0.1.1/32  Direct  0    0           D   127.0.0.1       LoopBack1
       10.0.2.0/24  Direct  0    0           D   10.0.2.1        LoopBack2
       10.0.2.1/32  Direct  0    0           D   127.0.0.1       LoopBack2
       10.0.3.0/24  Direct  0    0           D   10.0.3.1        LoopBack3
       10.0.3.1/32  Direct  0    0           D   127.0.0.1       LoopBack3
       10.0.4.0/24  RIP     100  2           D   10.0.7.2        Ethernet0/0/0
       10.0.5.0/24  RIP     100  2           D   10.0.7.2        Ethernet0/0/0
       10.0.6.0/24  RIP     100  2           D   10.0.7.2        Ethernet0/0/0
       10.0.7.0/30  Direct  0    0           D   10.0.7.1        Ethernet0/0/0
       10.0.7.1/32  Direct  0    0           D   127.0.0.1       Ethernet0/0/0
       10.0.8.0/30  RIP     100  1           D   10.0.7.2        Ethernet0/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

[R1] User interface con0 is available



Please Press ENTER.

【R2配置】

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R2
[R2]
Nov 13 2023 09:47:25-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 1, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R2]int e0/0/0
[R2-Ethernet0/0/0]ip add 10.0.8.1 30
[R2-Ethernet0/0/0]
Nov 13 2023 09:58:53-08:00 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface Ethernet0/0/0 has entered the UP state.
Nov 13 2023 09:58:55-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 2, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R2-Ethernet0/0/0]int loopback4
[R2-LoopBack4]ip add 10.
Nov 13 2023 10:03:15-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 3, the ch
ange loop count is 0, and the maximum number of records is 4095.0.4.1 24
[R2-LoopBack4]int loopback
Nov 13 2023 10:03:25-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 4, the ch
ange loop count is 0, and the maximum number of records is 4095.5
[R2-LoopBack5]ip add 10.0.5.1 24
[R2-LoopBack5]
Nov 13 2023 10:03:35-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 6, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R2-LoopBack5]int loopback6
[R2-LoopBack6]
[R2-LoopBack6]
Nov 13 2023 10:03:45-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 7, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R2-LoopBack6]ip add 10.0.6.1 24
[R2-LoopBack6]
Nov 13 2023 10:04:05-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 8, the ch
ange loop count is 0, and the maximum number of records is 4095. User interface con0 is available



Please Press ENTER.

<R2>sys
Enter system view, return user view with Ctrl+Z.
[R2]rip 1
[R2-rip-1]v
Nov 13 2023 10:14:45-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 9, the ch
ange loop count is 0, and the maximum number of records is 4095.er
[R2-rip-1]version 2
[R2-rip-1]network 10.
Nov 13 2023 10:14:55-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 11, the c
hange loop count is 0, and the maximum number of records is 4095.0.0.0
[R2-rip-1]network 
Nov 13 2023 10:15:05-08:00 R2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 12, the c
hange loop count is 0, and the maximum number of records is 4095.
                  ^
Error:Incomplete command found at '^' position.
[R2-rip-1]network 10.0.0.0
Error: The specified network already exists in the process.
[R2-rip-1]q
[R2] User interface con0 is available



Please Press ENTER.

<R2>sys
Enter system view, return user view with Ctrl+Z.
[R2]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 15       Routes : 15       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

       10.0.0.0/30  RIP     100  1           D   10.0.8.2        Ethernet0/0/0
       10.0.1.0/24  RIP     100  2           D   10.0.8.2        Ethernet0/0/0
       10.0.2.0/24  RIP     100  2           D   10.0.8.2        Ethernet0/0/0
       10.0.3.0/24  RIP     100  2           D   10.0.8.2        Ethernet0/0/0
       10.0.4.0/24  Direct  0    0           D   10.0.4.1        LoopBack4
       10.0.4.1/32  Direct  0    0           D   127.0.0.1       LoopBack4
       10.0.5.0/24  Direct  0    0           D   10.0.5.1        LoopBack5
       10.0.5.1/32  Direct  0    0           D   127.0.0.1       LoopBack5
       10.0.6.0/24  Direct  0    0           D   10.0.6.1        LoopBack6
       10.0.6.1/32  Direct  0    0           D   127.0.0.1       LoopBack6
       10.0.7.0/30  RIP     100  1           D   10.0.8.2        Ethernet0/0/0
       10.0.8.0/30  Direct  0    0           D   10.0.8.1        Ethernet0/0/0
       10.0.8.1/32  Direct  0    0           D   127.0.0.1       Ethernet0/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

[R2] User interface con0 is available



Please Press ENTER.

【R3配置】

The device is running!

<Huawei> User interface con0 is available



Please Press ENTER.

<Huawei>
<Huawei>sys R3
            ^
Error:Too many parameters found at '^' position.
<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]SYS R3
[R3]int e0/0/0
[R3-Ethernet0/0/0]ip add 
Nov 13 2023 10:06:35-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 1, the ch
ange loop count is 0, and the maximum number of records is 4095.
                         ^
Error:Incomplete command found at '^' position.
[R3-Ethernet0/0/0]ip add 10.0.7.1 30
[R3-Ethernet0/0/0]
Nov 13 2023 10:07:12-08:00 R3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface Ethernet0/0/0 has entered the UP state.
Nov 13 2023 10:07:15-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 2, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3-Ethernet0/0/0]ip add 10.0.7.2 30
[R3-Ethernet0/0/0]int g0/0/
Nov 13 2023 10:07:35-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 3, the ch
ange loop count is 0, and the maximum number of records is 4095.
                      ^
Error: Unrecognized command found at '^' position.
[R3-Ethernet0/0/0]int e0/0/1
[R3-Ethernet0/0/1]ip add 10.0.8.2 30
[R3-Ethernet0/0/1]
Nov 13 2023 10:08:10-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface Ethernet0/0/1 has entered the UP state.
[R3-Ethernet0/0/1]
Nov 13 2023 10:08:15-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 4, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3-Ethernet0/0/1]int g0/0/0
[R3-GigabitEthernet0/0/0]ip add 10.0.0.1 30
[R3-GigabitEthernet0/0/0]
Nov 13 2023 10:09:03-08:00 R3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state.
Nov 13 2023 10:09:05-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 5, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3-GigabitEthernet0/0/0]q
[R3]rip 1
[R3-rip-1]version2
          ^
Error: Unrecognized command found at '^' position.
[R3-rip-1]
Nov 13 2023 10:10:55-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 6, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3-rip-1]version 2
[R3-rip-1]
Nov 13 2023 10:11:05-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 7, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3-rip-1]network 10.0.0.0
[R3-rip-1]
Nov 13 2023 10:11:25-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 8, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3-rip-1]q
[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]rip summary 10.0.0.0 255.255.248.0
[R3-GigabitEthernet0/0/0]
Nov 13 2023 10:12:45-08:00 R3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 9, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R3-GigabitEthernet0/0/0]q
[R3]dis 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

       10.0.0.0/30  Direct  0    0           D   10.0.0.1        GigabitEthernet
0/0/0
       10.0.0.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
       10.0.1.0/24  RIP     100  1           D   10.0.7.1        Ethernet0/0/0
       10.0.2.0/24  RIP     100  1           D   10.0.7.1        Ethernet0/0/0
       10.0.3.0/24  RIP     100  1           D   10.0.7.1        Ethernet0/0/0
       10.0.4.0/24  RIP     100  1           D   10.0.8.1        Ethernet0/0/1
       10.0.5.0/24  RIP     100  1           D   10.0.8.1        Ethernet0/0/1
       10.0.6.0/24  RIP     100  1           D   10.0.8.1        Ethernet0/0/1
       10.0.7.0/30  Direct  0    0           D   10.0.7.2        Ethernet0/0/0
       10.0.7.2/32  Direct  0    0           D   127.0.0.1       Ethernet0/0/0
       10.0.8.0/30  Direct  0    0           D   10.0.8.2        Ethernet0/0/1
       10.0.8.2/32  Direct  0    0           D   127.0.0.1       Ethernet0/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

[R3] User interface con0 is available



Please Press ENTER.

【R4配置】

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys R4
[R4]
Nov 13 2023 09:46:35-08:00 R4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 1, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R4]INT e0/0/0
[R4-Ethernet0/0/0]ip add 10.0.0.2 30
[R4-Ethernet0/0/0]
Nov 13 2023 09:47:07-08:00 R4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface Ethernet0/0/0 has entered the UP state.
[R4-Ethernet0/0/0]
Nov 13 2023 09:47:15-08:00 R4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 2, the ch
ange loop count is 0, and the maximum number of records is 4095. User interface con0 is available



Please Press ENTER.

<R4>sys 
Enter system view, return user view with Ctrl+Z.
[R4]sys R4
[R4]int e0/0/0
[R4-Ethernet0/0/0]ip add 10.0.0.2 30
Error: The address already exists.
[R4-Ethernet0/0/0]q
[R4]rip 1
[R4-rip-1]version 2
[R4-rip-1]network
Nov 13 2023 10:15:46-08:00 R4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 4, the ch
ange loop count is 0, and the maximum number of records is 4095. 10.0.0.0
[R4-rip-1]
Nov 13 2023 10:15:56-08:00 R4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.
191.3.1 configurations have been changed. The current change number is 5, the ch
ange loop count is 0, and the maximum number of records is 4095.
[R4-rip-1]q
[R4]dis ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 6        Routes : 6        

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

       10.0.0.0/21  RIP     100  1           D   10.0.0.1        Ethernet0/0/0
       10.0.0.0/30  Direct  0    0           D   10.0.0.2        Ethernet0/0/0
       10.0.0.2/32  Direct  0    0           D   127.0.0.1       Ethernet0/0/0
       10.0.8.0/30  RIP     100  1           D   10.0.0.1        Ethernet0/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

[R4] User interface con0 is available



Please Press ENTER.

【实验结果】

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值