<Huawei>system-view
[Huawei]sysname r2
[r2]user-interface console 0
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip address 12.1.1.0 24
Error: The specified IP address is invalid.
[r2-GigabitEthernet0/0/0]ip address 12.1.1.1 24
Nov 14 2022 23:06:24-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]int g0/0/1
[r2-GigabitEthernet0/0/1]ip address 172.16.1.1 24
Nov 14 2022 23:07:03-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]ip route
[r2]ip route-static 23.1.1.0 24 12.1.1.2
[r2]ip route-static 34.1.1.0 24 12.1.1.2
[r2]ip route-static 46.1.1.0 24 12.1.1.2
[r2]ip route-static 192.168.0.0 22 12.1.1.2
[r2]ip route-static 32.1.1.0 22 12.1.1.2
Info: The destination address and mask of the configured static route mismatched
, and the static route 32.1.0.0/22 was generated.
[r2]ip route-static 32.1.1.0 24 12.1.1.2
[r2]ip pool 1
Info: It's successful to create an IP address pool.
[r2-ip-pool-1]net
[r2-ip-pool-1]network 172.16.1.0 mask 24
[r2-ip-pool-1]gate
[r2-ip-pool-1]gateway-list 172.16.1.1
[r2-ip-pool-1]dns
[r2-ip-pool-1]dns-list 8.8.8.8 114.114.114.114
[r2-ip-pool-1]int g0/0/1
[r2-GigabitEthernet0/0/1]dhcp sel
[r2-GigabitEthernet0/0/1]dhcp select glo
[r2-GigabitEthernet0/0/1]dhcp select global
[r2-GigabitEthernet0/0/1]quit
[r2]ip pool 1
[r2-ip-pool-1]sta
[r2-ip-pool-1]static-bind ip
[r2-ip-pool-1]static-bind ip-address 172.16.1.11 mac
[r2-ip-pool-1]static-bind ip-address 172.16.1.11 mac-address 5489-980C-5894
[r2-ip-pool-1]static-bind ip-address 172.16.1.13 mac-address 5489-98CD-1BBD
[r2-ip-pool-1]quit
[r2]ip route-sta
[r2]ip route-static 32.1.1.0 24 12.1.1.2 pre
[r2]ip route-static 32.1.1.0 24 12.1.1.2 preference 61
Info: Succeeded in modifying route.
[r2]
ar3
The device is running!
<Huawei>
Nov 14 2022 22:59:39-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/1 has turned into UP state.
<Huawei>
Nov 14 2022 22:59:39-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEt
hernet0/0/2 has turned into UP state.
<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>sy
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r3
[r3]user
[r3]user-int
[r3]user-interface con
[r3]user-interface console 0
[r3-ui-console0]idle
[r3-ui-console0]idle-timeout 0 0
[r3-ui-console0]quit
[r3]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add
[r3-GigabitEthernet0/0/0]ip address 12.1.1.2 24
[r3-GigabitEthernet0/0/0]
Nov 14 2022 23:09:25-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]int g0/0/1
[r3-GigabitEthernet0/0/1]ip add
[r3-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Nov 14 2022 23:09: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]int g0/0/2
[r3-GigabitEthernet0/0/2]ip add
[r3-GigabitEthernet0/0/2]ip address 32.1.1.1 24
[r3-GigabitEthernet0/0/2]
Nov 14 2022 23:10:18-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 route-static 172.16.1.0 24 12.1.1.1
[r3]ip route-static 34.1.1.0 24 32.1.1.2
[r3]ip route-static 46.1.1.0 24 32.1.1.2
[r3]ip route-static 192.168.0.0 22 32.1.1.2
[r3]ip route-static 34.1.1.0. 24 23.1.1.2
^
Error: Wrong parameter found at '^' position.
[r3]ip route-static 34.1.1.0 24 23.1.1.2
[r3]ip route-static 46.1.1.0 24 23.1.1.2
[r3]ip route-static 192.168.0.0 22 23.1.1.2
[r3]
ar4
The device is running!
##
<Huawei>
Nov 14 2022 22:59:52-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[2]:Interface GigabitEt
hernet0/0/2 has turned into UP state.
<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>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r4
[r4]user
[r4]user-bind
[r4]user-int
[r4]user-interface con
[r4]user-interface console 0
[r4-ui-console0]idle
[r4-ui-console0]idle-timeout 0 0
[r4-ui-console0]quit
[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]ip address 23.1.1.2 24
Nov 14 2022 23:11:43-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]int g0/0/1
[r4-GigabitEthernet0/0/1]ip address 32.1.1.2 24
Nov 14 2022 23:12:06-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]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add
[r4-GigabitEthernet0/0/1]ip address 34.1.1.1 24
[r4-GigabitEthernet0/0/1]iquit
^
Error: Unrecognized command found at '^' position.
[r4-GigabitEthernet0/0/1]quit
[r4]ip route-sta
[r4]ip route-static 172.16.1.0 24 23.1.1.1
[r4]ip route-static 12.1.1.0 24 23.1.1.1
[r4]ip route-static 46.1.1.0 24 34.1.1.2
[r4]ip route-static 192.168.0.0 22 34.1.1.2
[r4]ip route-static 172.16.1.0 24 32.1.1.1
[r4]ip route-static 12.1.1.0 24 32.1.1.1
[r4]
ar5
The device is running!
######
<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>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r5
[r5]user
[r5]user-int
[r5]user-interface con
[r5]user-interface console 0
[r5-ui-console0]idle
[r5-ui-console0]idle-timeout 0 0
[r5-ui-console0]quit
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ip add
[r5-GigabitEthernet0/0/0]ip address 46.1.1.2 24
Nov 14 2022 23:16:11-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]int g0/0/1
[r5-GigabitEthernet0/0/1]ip addr
[r5-GigabitEthernet0/0/1]ip address 192.168.1.1 24
Nov 14 2022 23:16:41-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]int g0/0/2
[r5-GigabitEthernet0/0/2]ip add
[r5-GigabitEthernet0/0/2]ip address 192.168.2.1 24
[r5-GigabitEthernet0/0/2]
Nov 14 2022 23:17:17-08:00 r5 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[r5-GigabitEthernet0/0/2]quit
[r5]ip rou
[r5]ip route-sta
[r5]ip route-static 34.1.1.0 24 46.1.1.1
[r5]ip route-static 23.1.1.0 24 46.1.1.1
[r5]ip route-static 32.1.1.0 24 46.1.1.1
[r5]ip route-static 12.1.1.0 24 46.1.1.1
[r5]ip route-static 172.16.1.0 24 46.1.1.1
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]dhcp sel
[r5-GigabitEthernet0/0/1]dhcp select glo
[r5-GigabitEthernet0/0/1]dhcp select global
Error: Please enable DHCP in the global view first.
[r5-GigabitEthernet0/0/1]ip add
[r5-GigabitEthernet0/0/1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]dhcp sel
[r5-GigabitEthernet0/0/1]dhcp select glo
[r5-GigabitEthernet0/0/1]dhcp select global
[r5-GigabitEthernet0/0/1]int g0/0/2
[r5-GigabitEthernet0/0/2]dhcp sel
[r5-GigabitEthernet0/0/2]dhcp select glo
[r5-GigabitEthernet0/0/2]dhcp select global
[r5-GigabitEthernet0/0/2]quit
[r5]ip pool aaa
Info: It's successful to create an IP address pool.
[r5-ip-pool-aaa]net
[r5-ip-pool-aaa]netbios-type
[r5-ip-pool-aaa]network 192.168.1.0 mask 24
[r5-ip-pool-aaa]gate
[r5-ip-pool-aaa]gateway-list 192.168.1.1
[r5-ip-pool-aaa]dns
[r5-ip-pool-aaa]dns-list 8.8.8.8 114.114.114.114
[r5-ip-pool-aaa]quit
[r5]ip pool bbb
Info: It's successful to create an IP address pool.
[r5-ip-pool-bbb]net
[r5-ip-pool-bbb]netbios-type
[r5-ip-pool-bbb]network 192.168.2.0 mask 24
[r5-ip-pool-bbb]gate
[r5-ip-pool-bbb]gateway-list 192.168.2.1
[r5-ip-pool-bbb]dns
[r5-ip-pool-bbb]dns-list 8.8.8.8 114.114.114.114
[r5-ip-pool-bbb]quit
[r5]ip pool aaa
[r5-ip-pool-aaa]exc
[r5-ip-pool-aaa]excluded-ip-address 192.168.1.250 192.168.1.254
[r5-ip-pool-aaa]quit
[r5]ip rou
[r5]ip route-sta
[r5]ip route-static 32.1.1.0 24 46.1.1.1 pre
[r5]ip route-static 32.1.1.0 24 46.1.1.1 preference 61
Info: Succeeded in modifying route.
[r5]
ar6
The device is running!
########################################
<Huawei>
Nov 14 2022 22:59:52-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/0 has turned into UP state.
<Huawei>
Nov 14 2022 22:59:52-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[1]:Interface GigabitEt
hernet0/0/1 has turned into UP state.
<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>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r6
[r6]user
[r6]user-int
[r6]user-interface con
[r6]user-interface console 0
[r6-ui-console0]idle
[r6-ui-console0]idle-timeout 0 0
[r6-ui-console0]quit
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]ip address 34.1.1.2 24
Nov 14 2022 23:14:11-08:00 r6 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r6-GigabitEthernet0/0/0]int g0/0/1
[r6-GigabitEthernet0/0/1]ip add
[r6-GigabitEthernet0/0/1]ip address 46.1.1.1 24
Nov 14 2022 23:14:51-08:00 r6 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r6-GigabitEthernet0/0/1]quit
[r6]ip rou
[r6]ip route-sta
[r6]ip route-static 192.168.0.0 22 46.1.1.2
[r6]ip route-static 23.1.1.0 24 34.1.1.1
[r6]ip route-static 32.1.1.0 24 34.1.1.1
[r6]ip route-static 12.1.1.0 24 34.1.1.1
[r6]ip route-static 172.1.1.0 24 34.1.1.1
[r6]ip rou
[r6]ip route-sta
[r6]ip route-static 32.1.1.0 24 34.1.1.1 pre
[r6]ip route-static 32.1.1.0 24 34.1.1.1 preference 61
Info: Succeeded in modifying route.
[r6]
pc1
Welcome to use PC Simulator!
PC>ipconfig
Link local IPv6 address...........: fe80::5689:98ff:fe0c:5894
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 172.16.1.11
Subnet mask.......................: 255.255.255.0
Gateway...........................: 172.16.1.1
Physical address..................: 54-89-98-0C-58-94
DNS server........................: 8.8.8.8
114.114.114.114
pc2
Welcome to use PC Simulator!
PC>ipconfig
Link local IPv6 address...........: fe80::5689:98ff:fecd:1bbd
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 172.16.1.13
Subnet mask.......................: 255.255.255.0
Gateway...........................: 172.16.1.1
Physical address..................: 54-89-98-CD-1B-BD
DNS server........................: 8.8.8.8
114.114.114.114
pc3
PC>ipconfig
Link local IPv6 address...........: fe80::5689:98ff:fe19:1fcc
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 192.168.1.249
Subnet mask.......................: 255.255.255.0
Gateway...........................: 192.168.1.1
Physical address..................: 54-89-98-19-1F-CC
DNS server........................: 8.8.8.8
114.114.114.114
pc4
PC>ipconfig
Link local IPv6 address...........: fe80::5689:98ff:fedf:76c2
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 192.168.1.248
Subnet mask.......................: 255.255.255.0
Gateway...........................: 192.168.1.1
Physical address..................: 54-89-98-DF-76-C2
DNS server........................: 8.8.8.8
114.114.114.114
————————————————
版权声明:本文为CSDN博主「qiuhaitang822」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qiuhaitang822/article/details/127865354