<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn
[Huawei]sysname r1
[r1]int
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip ad
[r1-GigabitEthernet0/0/0]ip address 11.1.1.1 24
Nov 15 2022 23:42:28-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]
[r1-GigabitEthernet0/0/0]quit
[r1]int
[r1]interface g0/0/1
[r1-GigabitEthernet0/0/1]ip ad
[r1-GigabitEthernet0/0/1]ip address 12.1.1.1 24
Nov 15 2022 23:43:19-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r1-GigabitEthernet0/0/1]quit
[r1]user-i
[r1]user-interface c
[r1]user-interface console 0
[r1-ui-console0]id
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]qu
[r1-ui-console0]quit
[r1]ip ro
[r1]ip route
[r1]ip route-static23.1.1.10
^
Error: Unrecognized command found at '^' position.
[r1]ip route-static 23.1.1.0 24 12.1.1.2
[r1]ip ro
[r1]ip route
[r1]ip route-static 192.168.0.0 22 12.1.1.2
[r1]ip ro
[r1]ip route
[r1]ip route-static 0.0.0.0.0 11.1.1.2
^
Error: Wrong parameter found at '^' position.
[r1]ip route-static 0.0.0.0 0 11.1.1.2
[r1]dis
[r1]display ip ro
[r1]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 13 Routes : 13
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 Static 60 0 RD 11.1.1.2 GigabitEthernet
0/0/0
11.1.1.0/24 Direct 0 0 D 11.1.1.1 GigabitEthernet
0/0/0
11.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
11.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
12.1.1.0/24 Direct 0 0 D 12.1.1.1 GigabitEthernet
0/0/1
12.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
12.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
23.1.1.0/24 Static 60 0 RD 12.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
192.168.0.0/22 Static 60 0 RD 12.1.1.2 GigabitEthernet
0/0/1
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[r1]
<Huawei>sys
<Huawei>system-view
<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]qu
[Huawei-ui-console0]quit
[Huawei]sysn
[Huawei]sysname r2
[r2]int
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip ad
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Nov 15 2022 23:50:10-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]quit
[r2]interface g0/0/1
[r2-GigabitEthernet0/0/1]ip ad
[r2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Nov 15 2022 23:50:52-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]quit
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]ip ro
[r2]ip route
[r2]ip route-static 192.168.0.0 22 23.1.1.2
[r2]ip ro
[r2]ip route
[r2]ip route-static 0.0.0.0 0 12.1.1.1
[r2]dis
[r2]display ip ro
[r2]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
0.0.0.0/0 Static 60 0 RD 12.1.1.1 GigabitEthernet
0/0/0
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
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
192.168.0.0/22 Static 60 0 RD 23.1.1.2 GigabitEthernet
0/0/1
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[r2]
<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]us-in
[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]sysn
[Huawei]sysname r3
[r3]int
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]ip ad
[r3-GigabitEthernet0/0/0]ip address 23.1.1.2 24
Nov 15 2022 23:53:05-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r3-GigabitEthernet0/0/0]quit
[r3]interface g0/0/1
[r3-GigabitEthernet0/0/1]ip ad
[r3-GigabitEthernet0/0/1]ip address 192.168.1.1 24
Nov 15 2022 23:53:52-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r3-GigabitEthernet0/0/1]quit
[r3]interface g0/0/2
[r3-GigabitEthernet0/0/2]ip ad
[r3-GigabitEthernet0/0/2]ip address 192.168.2.1 24
[r3-GigabitEthernet0/0/2]
Nov 15 2022 23:54:21-08:00 r3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[r3-GigabitEthernet0/0/2]quit
[r3]ip ro
[r3]ip route
[r3]ip route-static 12.1.1.0 24 23.1.1.1
[r3]ip rout
[r3]ip route
[r3]ip route-static 0.0.0.0 0 23.1.1.1
[r3]display
[r3]display ip ro
[r3]display 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
0.0.0.0/0 Static 60 0 RD 23.1.1.1 GigabitEthernet
0/0/0
12.1.1.0/24 Static 60 0 RD 23.1.1.1 GigabitEthernet
0/0/0
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
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
192.168.1.0/24 Direct 0 0 D 192.168.1.1 GigabitEthernet
0/0/1
192.168.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
192.168.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
192.168.2.0/24 Direct 0 0 D 192.168.2.1 GigabitEthernet
0/0/2
192.168.2.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/2
192.168.2.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/2
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
[r3]