题目:
按下图标注完成配置:
每个路由的具体配置,如下:
r1:
[Huawei]sysname r1
[r1]int
[r1]interface loo
[r1]interface LoopBack 0
[r1-LoopBack0]ip add
[r1-LoopBack0]ip address 192.168.1.33 28
[r1-LoopBack0]q
[r1]int
[r1]interface loo
[r1]interface LoopBack 1
[r1-LoopBack1]ip add
[r1-LoopBack1]ip address 192.168.1.49 28
[r1-LoopBack1]q
[r1]int
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip add
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 30
Jul 22 2023 22:45:48-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]q
[r1]int
[r1]interface g0/0/1
[r1-GigabitEthernet0/0/1]ip add
[r1-GigabitEthernet0/0/1]ip address 192.168.1.5 30
[r1-GigabitEthernet0/0/1]
Jul 22 2023 22:46:47-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]q
[r1]save
^
Error: Unrecognized command found at '^' position.
[r1]q
<r1>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r1>
<r1>dis
<r1>display ip int
<r1>display ip interface bie
<r1>display ip interface bri
<r1>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 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.1/30 up up
GigabitEthernet0/0/1 192.168.1.5/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 192.168.1.33/28 up up(s)
LoopBack1 192.168.1.49/28 up up(s)
NULL0 unassigned up up(s)
<r1>
<r1>sys
<r1>system-view
Enter system view, return user view with Ctrl+Z.
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.64 27 192.168.1.2
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.8 30 192.168.1.2
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.96 27 192.168.1.6
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.12 30 192.168.1.6
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.128 27 192.168.1.2
[r1]ip route-static 192.168.1.128 27 192.168.1.6
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.16 30 192.168.1.2
[r1]ip route-static 192.168.1.16 30 192.168.1.6
[r1]dis
[r1]display ip rou
[r1]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 22 Routes : 24Destination/Mask Proto Pre Cost Flags NextHop Interface
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/30 Direct 0 0 D 192.168.1.1 GigabitEthernet
0/0/0
192.168.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
192.168.1.3/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
192.168.1.4/30 Direct 0 0 D 192.168.1.5 GigabitEthernet
0/0/1
192.168.1.5/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
192.168.1.7/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
192.168.1.8/30 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
192.168.1.12/30 Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1
192.168.1.16/30 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1
192.168.1.32/28 Direct 0 0 D 192.168.1.33 LoopBack0
192.168.1.33/32 Direct 0 0 D 127.0.0.1 LoopBack0
192.168.1.47/32 Direct 0 0 D 127.0.0.1 LoopBack0
192.168.1.48/28 Direct 0 0 D 192.168.1.49 LoopBack1
192.168.1.49/32 Direct 0 0 D 127.0.0.1 LoopBack1
192.168.1.63/32 Direct 0 0 D 127.0.0.1 LoopBack1
192.168.1.64/27 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
192.168.1.96/27 Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1
192.168.1.128/27 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0[r1]dis
[r1]display this
[V200R003C00]
#
sysname r1
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
ip route-static 192.168.1.8 255.255.255.252 192.168.1.2
ip route-static 192.168.1.12 255.255.255.252 192.168.1.6
ip route-static 192.168.1.16 255.255.255.252 192.168.1.2
ip route-static 192.168.1.16 255.255.255.252 192.168.1.6
ip route-static 192.168.1.64 255.255.255.224 192.168.1.2
ip route-static 192.168.1.96 255.255.255.224 192.168.1.6
ip route-static 192.168.1.128 255.255.255.224 192.168.1.2
ip route-static 192.168.1.128 255.255.255.224 192.168.1.6
#
return
[r1]dis
[r1]display ip
[r1]display ip rou
[r1]display ip routing-table p
[r1]display ip routing-table protocol s
[r1]display ip routing-table protocol static
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : Static
Destinations : 6 Routes : 8 Configured Routes : 8Static routing table status : <Active>
Destinations : 6 Routes : 8Destination/Mask Proto Pre Cost Flags NextHop Interface
192.168.1.8/30 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
192.168.1.12/30 Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1
192.168.1.16/30 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1
192.168.1.64/27 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
192.168.1.96/27 Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1
192.168.1.128/27 Static 60 0 RD 192.168.1.2 GigabitEthernet
0/0/0
Static 60 0 RD 192.168.1.6 GigabitEthernet
0/0/1Static routing table status : <Inactive>
Destinations : 0 Routes : 0[r1]
<r1>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r1>
<r1>sys
<r1>system-view
Enter system view, return user view with Ctrl+Z.
[r1]ip rou
[r1]ip route
[r1]ip route-static 0.0.0.0 0 192.168.1.2
[r1]ip route-static 0.0.0.0 0 192.168.1.6
[r1]
<r1>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r1>
<r1>sys
<r1>system-view
Enter system view, return user view with Ctrl+Z.
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.32 27 N
[r1]ip route-static 192.168.1.32 27 NULL 0
[r1]
r2:
<r2>
<r2>sys
<r2>system-view
Enter system view, return user view with Ctrl+Z.
[r2]int
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip add
[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 30
Jul 22 2023 22:16:39-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]q
[r2]int
[r2]interface g0/0/1
[r2-GigabitEthernet0/0/1]ip add
[r2-GigabitEthernet0/0/1]ip address 192.168.1.9 30
[r2-GigabitEthernet0/0/1]
Jul 22 2023 22:17:14-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]q
[r2]
<r2>#
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r2
[r2]int
[r2]interface loo
[r2]interface LoopBack 0
[r2-LoopBack0]ip add
[r2-LoopBack0]ip address 192.168.1.65 28
[r2-LoopBack0]q
[r2]int
[r2]interface loo
[r2]interface LoopBack 1
[r2-LoopBack1]ip add
[r2-LoopBack1]ip address
^
Error:Incomplete command found at '^' position.
[r2-LoopBack1]ip add
[r2-LoopBack1]ip address 192.168.1.81 28
[r2-LoopBack1]q
[r2]int
[r2]interface g0/0/0/
^
Error: Wrong parameter found at '^' position.
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip add
[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 30
Jul 22 2023 22:49:18-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]q
[r2]int
[r2]interface g0/0/1
[r2-GigabitEthernet0/0/1]ip add
[r2-GigabitEthernet0/0/1]ip address 192.168.1.9 30
[r2-GigabitEthernet0/0/1]
Jul 22 2023 22:50:13-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]
<r2>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r2>
<r2>dis
<r2>display ip
<r2>display ip int
<r2>display ip interface bri
<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 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.2/30 up up
GigabitEthernet0/0/1 192.168.1.9/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 192.168.1.65/28 up up(s)
LoopBack1 192.168.1.81/28 up up(s)
NULL0 unassigned up up(s)
<r2>
<r2>sys
<r2>system-view
Enter system view, return user view with Ctrl+Z.
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.32 27 192.168.1.1
[r2]rou
[r2]route
[r2]route-policy
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.4 30 192.168.1.1
[r2]ip rou
[r2]ip route
[r2]ip route-static
[r2]ip route
[r2]ip route-static 192.168.1.12 30 192.168.1.10
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.16 30 192.168.1.10
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.128 27 192.168.1.10
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.97 27 192.168.1.1
Info: The destination address and mask of the configured static route mismatched
, and the static route 192.168.1.96/27 was generated.
[r2]ip route-static 192.168.1.96 27 192.168.1.1
Error: The route already exists.
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.96 27 192.168.1.10
[r2]dis
[r2]display ip
[r2]display ip rou
[r2]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 22 Routes : 23Destination/Mask Proto Pre Cost Flags NextHop Interface
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/30 Direct 0 0 D 192.168.1.2 GigabitEthernet
0/0/0
192.168.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
192.168.1.3/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
192.168.1.4/30 Static 60 0 RD 192.168.1.1 GigabitEthernet
0/0/0
192.168.1.8/30 Direct 0 0 D 192.168.1.9 GigabitEthernet
0/0/1
192.168.1.9/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
192.168.1.11/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
192.168.1.12/30 Static 60 0 RD 192.168.1.10 GigabitEthernet
0/0/1
192.168.1.16/30 Static 60 0 RD 192.168.1.10 GigabitEthernet
0/0/1
192.168.1.32/27 Static 60 0 RD 192.168.1.1 GigabitEthernet
0/0/0
192.168.1.64/28 Direct 0 0 D 192.168.1.65 LoopBack0
192.168.1.65/32 Direct 0 0 D 127.0.0.1 LoopBack0
192.168.1.79/32 Direct 0 0 D 127.0.0.1 LoopBack0
192.168.1.80/28 Direct 0 0 D 192.168.1.81 LoopBack1
192.168.1.81/32 Direct 0 0 D 127.0.0.1 LoopBack1
192.168.1.95/32 Direct 0 0 D 127.0.0.1 LoopBack1
192.168.1.96/27 Static 60 0 RD 192.168.1.1 GigabitEthernet
0/0/0
Static 60 0 RD 192.168.1.10 GigabitEthernet
0/0/1
192.168.1.128/27 Static 60 0 RD 192.168.1.10 GigabitEthernet
0/0/1
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0[r2]dis
[r2]display this
[V200R003C00]
#
sysname r2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
ip route-static 192.168.1.4 255.255.255.252 192.168.1.1
ip route-static 192.168.1.12 255.255.255.252 192.168.1.10
ip route-static 192.168.1.16 255.255.255.252 192.168.1.10
ip route-static 192.168.1.32 255.255.255.224 192.168.1.1
ip route-static 192.168.1.96 255.255.255.224 192.168.1.1
ip route-static 192.168.1.96 255.255.255.224 192.168.1.10
ip route-static 192.168.1.128 255.255.255.224 192.168.1.10
#
return
[r2]
<r2>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r2>
<r2>sys
<r2>system-view
Enter system view, return user view with Ctrl+Z.
[r2]ip rou
[r2]ip route
[r2]ip route-static 0.0.0.0 192.168.1.10
^
Error:Incomplete command found at '^' position.
[r2]ip route-static 0.0.0.0 0 192.168.1.10
[r2]
<r2>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r2>
<r2>sys
<r2>system-view
Enter system view, return user view with Ctrl+Z.
[r2]ip rou
[r2]ip route
[r2]ip route-static 192.168.1.64 n
[r2]ip route-static 192.168.1.64 27 n
[r2]ip route-static 192.168.1.64 27 NULL 0
[r2]
r3:
The device is running!
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r3
[r3]int
[r3]interface loo
[r3]interface LoopBack 0
[r3-LoopBack0]ip add
[r3-LoopBack0]ip address 192.168.1.97 28
[r3-LoopBack0]q
[r3]int
[r3]interface loo
[r3]interface LoopBack 1
[r3-LoopBack1]ip add
[r3-LoopBack1]ip address 192.168.1.113 28
[r3-LoopBack1]q
[r3]q
<r3>qConfiguration console exit, please press any key to log on
##
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r3
[r3]int
[r3]interface loo
[r3]interface LoopBack 0
[r3-LoopBack0]ip add
[r3-LoopBack0]ip address 192.168.1.97 28
[r3-LoopBack0]q
[r3]int
[r3]interface loo
[r3]interface LoopBack 1
[r3-LoopBack1]ip add
[r3-LoopBack1]ip address 192.168.1.113 28
[r3-LoopBack1]
<r3>
<r3>sys
<r3>system-view
Enter system view, return user view with Ctrl+Z.
[r3]int
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]ip add
[r3-GigabitEthernet0/0/0]ip address 192.168.1.6 30
[r3-GigabitEthernet0/0/0]
Jul 22 2023 22:20:07-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]q
[r3]int
[r3]interface g0/0/1
[r3-GigabitEthernet0/0/1]ip add
[r3-GigabitEthernet0/0/1]ip address
^
Error:Incomplete command found at '^' position.
[r3-GigabitEthernet0/0/1]ip add
[r3-GigabitEthernet0/0/1]ip address 192.168.1.13 30
Jul 22 2023 22:20:40-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]
<r3>#########################################################
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r3
[r3]int
[r3]interface loo
[r3]interface LoopBack 0
[r3-LoopBack0]ip add
[r3-LoopBack0]ip address 192.168.1.97 28
[r3-LoopBack0]q
[r3]int
[r3]interface loo
[r3]interface LoopBack 1
[r3-LoopBack1]ip add
[r3-LoopBack1]ip address 192.168.1.113 28
[r3-LoopBack1]q
[r3]int
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]ip add
[r3-GigabitEthernet0/0/0]ip address 192.168.1.6 30
Jul 22 2023 22:52:22-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]q
[r3]int
[r3]interface g0/0/1
[r3-GigabitEthernet0/0/1]ip add
[r3-GigabitEthernet0/0/1]ip address 192.168.1.13 30
Jul 22 2023 22:53:23-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]
<r3>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r3>
<r3>dis
<r3>display ip int
<r3>display ip interface bri
<r3>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 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.6/30 up up
GigabitEthernet0/0/1 192.168.1.13/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 192.168.1.97/28 up up(s)
LoopBack1 192.168.1.113/28 up up(s)
NULL0 unassigned up up(s)
<r3>
<r3>sys
<r3>system-view
Enter system view, return user view with Ctrl+Z.
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.32 27 192.168.1.5
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.0 30 192.168.1.5
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.64 27 192.168.1.5
[r3]ip route-static 192.168.1.64 27 192.168.1.1
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.64 27 192.168.1.14
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.8 30 192.168.1.14
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.128 27 192.168.1.14
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.16 30 192.168.1.14
[r3]
<r3>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r3>
<r3>sys
<r3>system-view
Enter system view, return user view with Ctrl+Z.
[r3]ip rou
[r3]ip route
[r3]ip route-static 0.0.0.0 0 192.168.1.14
[r3]
<r3>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r3>
<r3>sys
<r3>system-view
Enter system view, return user view with Ctrl+Z.
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.96 27 n
[r3]ip route-static 192.168.1.96 27 NULL 0
[r3]
r4:
[r4-GigabitEthernet0/0/1]ip add
[r4-GigabitEthernet0/0/1]ip address 192.168.1.17 30
Jul 22 2023 22:23:52-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r4-GigabitEthernet0/0/1]q
[r4]int
[r4]interface g0/0/2
[r4-GigabitEthernet0/0/2]ip add
[r4-GigabitEthernet0/0/2]ip address 192.168.1.14 30
Jul 22 2023 22:24:29-08:00 r4 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[r4-GigabitEthernet0/0/2]q
[r4]int
[r4]interface g4/0/0
[r4-GigabitEthernet4/0/0]ip add
[r4-GigabitEthernet4/0/0]ip address 192.168.1.21 30
Jul 22 2023 22:25:02-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet4/0/0 has entered the UP state.
[r4-GigabitEthernet4/0/0]q
[r4]
<r4>#
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r4
[r4]int
[r4]interface loo
[r4]interface LoopBack 0
[r4-LoopBack0]ip add
[r4-LoopBack0]ip address
^
Error:Incomplete command found at '^' position.
[r4-LoopBack0]ip add
[r4-LoopBack0]ip address 192.168.1.129 28
[r4-LoopBack0]q
[r4]int
[r4]interface loo
[r4]interface LoopBack 1
[r4-LoopBack1]ip add
[r4-LoopBack1]ip address 192.168.1.145 28
[r4-LoopBack1]q
[r4]int
[r4]interface g0/0/0
[r4-GigabitEthernet0/0/0]ip addd
[r4-GigabitEthernet0/0/0]ip add
[r4-GigabitEthernet0/0/0]ip address 192.168.1.10 30
Jul 22 2023 22:57:14-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r4-GigabitEthernet0/0/0]q
[r4]int
[r4]interface g0/0/1
[r4-GigabitEthernet0/0/1]ip add
[r4-GigabitEthernet0/0/1]ip address 192.168.1.17 30
Jul 22 2023 22:57:49-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r4-GigabitEthernet0/0/1]q
[r4]int
[r4]interface g4/0/0
[r4-GigabitEthernet4/0/0]ip add
[r4-GigabitEthernet4/0/0]ip address 192.168.1.21 30
[r4-GigabitEthernet4/0/0]
Jul 22 2023 22:58:29-08:00 r4 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet4/0/0 has entered the UP state.
[r4-GigabitEthernet4/0/0]q
[r4]int
[r4]interface g0/0/2
[r4-GigabitEthernet0/0/2]ip add
[r4-GigabitEthernet0/0/2]ip address 192.168.1.14 30
[r4-GigabitEthernet0/0/2]
Jul 22 2023 22:59:19-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[r4-GigabitEthernet0/0/2]
<r4>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r4>
<r4>int g4/0/0
^
Error: Unrecognized command found at '^' position.
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]int g4/0/0
[r4-GigabitEthernet4/0/0]shu
[r4-GigabitEthernet4/0/0]shutdown
Jul 22 2023 23:09:21-08:00 r4 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthern
et4/0/0 has turned into DOWN state.
[r4-GigabitEthernet4/0/0]
[r4-GigabitEthernet4/0/0]
Jul 22 2023 23:09:21-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet4/0/0 has entered the DOWN state.
[r4-GigabitEthernet4/0/0]
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]ip rou
[r4]ip route
[r4]ip route-static 192.168.1.64 27 192.168.1.9
[r4]ip rou
[r4]ip route
[r4]ip route-static 192.168.1.0 30 192.168.1.9
[r4]ip rou
[r4]ip route
[r4]ip route-static 192.168.1.32 27 192.168.1.9
[r4]ip route-static 192.168.1.32 27 192.168.1.13
[r4]ip rou
[r4]ip route
[r4]ip route-static 192.168.1.4 30 192.168.1.13
[r4]ip rou
[r4]ip route
[r4]ip route-static 192.168.1.96 27 192.168.1.13
[r4]
<r4>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r4>
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]ip rou
[r4]ip route
[r4]ip route-static 0.0.0.0 0 192.168.1.18
[r4]ip rou
[r4]ip route
[r4]ip route-static 0.0.0.0 0.0.0.0 192.168.1.18
Error: The route already exists.
[r4]
<r4>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r4>
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]int
[r4]interface g4/0/0
[r4-GigabitEthernet4/0/0]undo s
[r4-GigabitEthernet4/0/0]undo shu
[r4-GigabitEthernet4/0/0]undo shutdown
[r4-GigabitEthernet4/0/0]
Jul 23 2023 00:16:14-08:00 r4 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthern
et4/0/0 has turned into UP state.
[r4-GigabitEthernet4/0/0]
Jul 23 2023 00:16:14-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet4/0/0 has entered the UP state.
[r4-GigabitEthernet4/0/0]
<r4>
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]int
[r4]interface g0/0/0
[r4-GigabitEthernet0/0/0]s
[r4-GigabitEthernet0/0/0]sh
[r4-GigabitEthernet0/0/0]shutdown
Jul 23 2023 00:20:57-08:00 r4 %%01IFPDT/4/IF_STATE(l)[2]:Interface GigabitEthern
et0/0/0 has turned into DOWN state.
[r4-GigabitEthernet0/0/0]
[r4-GigabitEthernet0/0/0]
Jul 23 2023 00:20:57-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the DOWN state.
[r4-GigabitEthernet0/0/0]undo shu
[r4-GigabitEthernet0/0/0]undo shutdown
[r4-GigabitEthernet0/0/0]
Jul 23 2023 00:21:29-08:00 r4 %%01IFPDT/4/IF_STATE(l)[4]:Interface GigabitEthern
et0/0/0 has turned into UP state.
[r4-GigabitEthernet0/0/0]
Jul 23 2023 00:21:29-08:00 r4 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r4-GigabitEthernet0/0/0]q
[r4]int
[r4]interface g0/0/1
[r4-GigabitEthernet0/0/1]shu
[r4-GigabitEthernet0/0/1]shutdown
Jul 23 2023 00:21:50-08:00 r4 %%01IFPDT/4/IF_STATE(l)[6]:Interface GigabitEthern
et0/0/1 has turned into DOWN state.
[r4-GigabitEthernet0/0/1]
[r4-GigabitEthernet0/0/1]
Jul 23 2023 00:21:50-08:00 r4 %%01IFNET/4/LINK_STATE(l)[7]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the DOWN state.
[r4-GigabitEthernet0/0/1]
Jul 23 2023 00:21:50-08:00 r4 %%01RM/4/IPV4_DEFT_RT_CHG(l)[8]:IPV4 default Route
is changed. (ChangeType=Delete, InstanceId=0, Protocol=Static, ExitIf=Unknown,
Nexthop=192.168.1.18, Neighbour=0.0.0.0, Preference=1006632960, Label=NULL, Metr
ic=0)
[r4-GigabitEthernet0/0/1]q
[r4]q
<r4>
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]ip
[r4]ip rou
[r4]ip route-static 0.0.0.0 0 192.168.1.22 p
[r4]ip route-static 0.0.0.0 0 192.168.1.22 permanent 61
^
Error:Too many parameters found at '^' position.
[r4]ip route-static 0.0.0.0 0 192.168.1.22 pre
[r4]ip route-static 0.0.0.0 0 192.168.1.22 preference 61
[r4]
<r4>
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]int
[r4]interface g0/0/1
[r4-GigabitEthernet0/0/1]undo shu
[r4-GigabitEthernet0/0/1]undo shutdown
[r4-GigabitEthernet0/0/1]
Jul 23 2023 00:33:59-08:00 r4 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthern
et0/0/1 has turned into UP state.
[r4-GigabitEthernet0/0/1]
Jul 23 2023 00:33:59-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r4-GigabitEthernet0/0/1]
Jul 23 2023 00:33:59-08:00 r4 %%01RM/4/IPV4_DEFT_RT_CHG(l)[2]:IPV4 default Route
is changed. (ChangeType=Delete, InstanceId=0, Protocol=Static, ExitIf=GigabitEt
hernet4/0/0, Nexthop=192.168.1.22, Neighbour=0.0.0.0, Preference=1023410176, Lab
el=NULL, Metric=0)
[r4-GigabitEthernet0/0/1]q
[r4]
<r4>
<r4>sys
<r4>system-view
Enter system view, return user view with Ctrl+Z.
[r4]ip rou
[r4]ip route
[r4]ip route-static 192.168.1.128 27 n
[r4]ip route-static 192.168.1.128 27 NULL 0
[r4]
r5:
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r5
[r5]int
[r5]interface loo
[r5]interface LoopBack 0
[r5-LoopBack0]ip add
[r5-LoopBack0]ip address 5.5.5.5 24
[r5-LoopBack0]q
[r5]int
[r5]interface g0/0/0
[r5-GigabitEthernet0/0/0]ip add
[r5-GigabitEthernet0/0/0]ip address 192.168.1.18 30
Jul 22 2023 23:00:40-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r5-GigabitEthernet0/0/0]q
[r5]int
[r5]interface g0/0/1
[r5-GigabitEthernet0/0/1]ip add
[r5-GigabitEthernet0/0/1]ip address 192.168.1.22 30
[r5-GigabitEthernet0/0/1]
Jul 22 2023 23:01:20-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r5-GigabitEthernet0/0/1]
<r5>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r5>
<r5>sys
<r5>system-view
Enter system view, return user view with Ctrl+Z.
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.32 27 192.168.1.17
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.64 27 192.168.1.17
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.96 27 192.168.1.17
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.128 27 192.168.1.17
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.0 30 192.168.1.17
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.4 30 192.168.1.17
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.8 30 192.168.1.17
[r5]ip rou
[r5]ip route
[r5]ip route-static 192.168.1.12 30 192.168.1.17
[r5]q
<r5>sys
<r5>system-view
Enter system view, return user view with Ctrl+Z.
[r5]dis
[r5]display this
[V200R003C00]
#
sysname r5
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
ip route-static 192.168.1.0 255.255.255.252 192.168.1.17
ip route-static 192.168.1.4 255.255.255.252 192.168.1.17
ip route-static 192.168.1.8 255.255.255.252 192.168.1.17
ip route-static 192.168.1.12 255.255.255.252 192.168.1.17
ip route-static 192.168.1.32 255.255.255.224 192.168.1.17
ip route-static 192.168.1.64 255.255.255.224 192.168.1.17
ip route-static 192.168.1.96 255.255.255.224 192.168.1.17
ip route-static 192.168.1.128 255.255.255.224 192.168.1.17
#
return
[r5]
<r5>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r5>
<r5>
<r5>sys
<r5>system-view
Enter system view, return user view with Ctrl+Z.
[r5]dis
[r5]display this
[V200R003C00]
#
sysname r5
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
ip route-static 192.168.1.0 255.255.255.252 192.168.1.17
ip route-static 192.168.1.4 255.255.255.252 192.168.1.17
ip route-static 192.168.1.8 255.255.255.252 192.168.1.17
ip route-static 192.168.1.12 255.255.255.252 192.168.1.17
ip route-static 192.168.1.32 255.255.255.224 192.168.1.17
ip route-static 192.168.1.64 255.255.255.224 192.168.1.17
ip route-static 192.168.1.96 255.255.255.224 192.168.1.17
ip route-static 192.168.1.128 255.255.255.224 192.168.1.17
#
return
[r5]ip route-static 192.168.1.0 255.255.255.252 192.168.1.21 pr 61
[r5]
[r5]ip route-static 192.168.1.4 255.255.255.252 192.168.1.21 pr 61
[r5]
[r5]ip route-static 192.168.1.8 255.255.255.252 192.168.1.21 pr 61
[r5]
[r5]ip route-static 192.168.1.12 255.255.255.252 192.168.1.21 pr 61
[r5]
[r5]ip route-static 192.168.1.32 255.255.255.224 192.168.1.21 pr 61
[r5]
[r5]ip route-static 192.168.1.64 255.255.255.224 192.168.1.21 pr 61
[r5]
[r5]ip route-static 192.168.1.96 255.255.255.224 192.168.1.21 pr 61
[r5]
[r5]ip route-static 192.168.1.128 255.255.255.224 192.168.1.21 pr 61
[r5]
[r5]
[r5]
[r5]q
<r5>sys
<r5>system-view
Enter system view, return user view with Ctrl+Z.
[r5]dis
[r5]display this
[V200R003C00]
#
sysname r5
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
ip route-static 192.168.1.0 255.255.255.252 192.168.1.17
ip route-static 192.168.1.0 255.255.255.252 192.168.1.21 preference 61
ip route-static 192.168.1.4 255.255.255.252 192.168.1.17
ip route-static 192.168.1.4 255.255.255.252 192.168.1.21 preference 61
ip route-static 192.168.1.8 255.255.255.252 192.168.1.17
ip route-static 192.168.1.8 255.255.255.252 192.168.1.21 preference 61
ip route-static 192.168.1.12 255.255.255.252 192.168.1.17
ip route-static 192.168.1.12 255.255.255.252 192.168.1.21 preference 61
ip route-static 192.168.1.32 255.255.255.224 192.168.1.17
ip route-static 192.168.1.32 255.255.255.224 192.168.1.21 preference 61
ip route-static 192.168.1.64 255.255.255.224 192.168.1.17
ip route-static 192.168.1.64 255.255.255.224 192.168.1.21 preference 61
ip route-static 192.168.1.96 255.255.255.224 192.168.1.17
ip route-static 192.168.1.96 255.255.255.224 192.168.1.21 preference 61
ip route-static 192.168.1.128 255.255.255.224 192.168.1.17
ip route-static 192.168.1.128 255.255.255.224 192.168.1.21 preference 61
#
return
[r5]