
[Huawei]int Eth-Trunk 0
[Huawei-Eth-Trunk0]int gi0/0/3
[Huawei-GigabitEthernet0/0/3]eth-trunk 0
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/3]int g0/0/4
[Huawei-GigabitEthernet0/0/4]eth 0
[sw1]vlan 2
[sw1]int eth0
[sw1-Eth-Trunk0]p l t
[sw1-Eth-Trunk0]port trunk allow-pass vlan all
[sw1]int g0/0/5
[sw1-GigabitEthernet0/0/5]p l t
[sw1-GigabitEthernet0/0/5]port trunk allow-pass vlan all
[sw1-GigabitEthernet0/0/6]p l t
[sw1-GigabitEthernet0/0/6]p t a vlan all
[sw1]stp enable
[sw1]stp mode mstp
[sw1]stp region-configuration
[sw1-mst-region]region-name huawei
[sw1-mst-region]instance 1 vlan 1
[sw1-mst-region]instance 2 vlan 2
[sw1-mst-region]active region-configuration
[sw1]display stp br
MSTID Port Role STP State Protection
0 GigabitEthernet0/0/1 DESI FORWARDING NONE
0 GigabitEthernet0/0/5 DESI FORWARDING NONE
0 GigabitEthernet0/0/6 ROOT FORWARDING NONE
0 Eth-Trunk0 ALTE DISCARDING NONE
1 GigabitEthernet0/0/1 DESI FORWARDING NONE
1 GigabitEthernet0/0/5 DESI FORWARDING NONE
1 GigabitEthernet0/0/6 ROOT FORWARDING NONE
1 Eth-Trunk0 ALTE DISCARDING NONE
2 GigabitEthernet0/0/5 DESI FORWARDING NONE
2 GigabitEthernet0/0/6 ROOT FORWARDING NONE
2 Eth-Trunk0 DESI FORWARDING NONE
[sw1]stp instance 1 root primary
[sw1]stp instance 2 root secondary
[sw1]display stp br
MSTID Port Role STP State Protection
0 GigabitEthernet0/0/1 DESI FORWARDING NONE
0 GigabitEthernet0/0/5 DESI FORWARDING NONE
0 GigabitEthernet0/0/6 ROOT FORWARDING NONE
0 Eth-Trunk0 ALTE DISCARDING NONE
1 GigabitEthernet0/0/1 DESI FORWARDING NONE
1 GigabitEthernet0/0/5 DESI FORWARDING NONE
1 GigabitEthernet0/0/6 DESI FORWARDING NONE
1 Eth-Trunk0 DESI FORWARDING NONE
2 GigabitEthernet0/0/5 DESI FORWARDING NONE
2 GigabitEthernet0/0/6 DESI FORWARDING NONE
2 Eth-Trunk0 ROOT FORWARDING NONE
[sw1]int vlan 1
[sw1-Vlanif1]ip add 172.16.1.254 24
[sw1-Vlanif2]ip add 172.16.2.254 24
[sw1-Vlanif2]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
MEth0/0/1 unassigned down down
NULL0 unassigned up up(s)
Vlanif1 172.16.1.254/24 up up
Vlanif2 172.16.2.254/24 up up
[sw1-Vlanif2]display vlan summary
static vlan:
Total 2 static vlan.
1 to 2
dynamic vlan:
Total 0 dynamic vlan.
reserved vlan:
Total 0 reserved vlan.
[sw1]ping 172.16.2.253
PING 172.16.2.253: 56 data bytes, press CTRL_C to break
Reply from 172.16.2.253: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 172.16.2.253: bytes=56 Sequence=2 ttl=255 time=40 ms
Reply from 172.16.2.253: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 172.16.2.253: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 172.16.2.253: bytes=56 Sequence=5 ttl=255 time=50 ms
--- 172.16.2.253 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/38/60 ms
[sw1]int vlan 1
[sw1-Vlanif1]vrrp vrid 1 virtual-ip 172.16.1.100
[sw1-Vlanif1]vrrp vrid 1 priority 101
[sw1-Vlanif1]vrrp vrid 1 track int g0/0/1 reduced 10
[sw1]int vlan 2
[sw1-Vlanif2]vrrp vrid 1 virtual-ip 172.16.2.100
[sw1]dhcp enable
[sw1]ip pool v1
Info:It's successful to create an IP address pool.
[sw1-ip-pool-v1]network 172.16.1.0 mask 24
[sw1-ip-pool-v1]gateway-list 172.16.1.100
[sw1-ip-pool-v1]dns-list 114.114.114.114
[sw1-ip-pool-v1]ip pool v2
[sw1-ip-pool-v2]network 172.16
Jan 19 2021 12:55:12-08:00 sw1 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 29, the
change loop count is 0, and the maximum number of records is 4095..2.0 mask 24
Jan 19 2021 12:55:16-08:00 sw1 %%01PHY/1/PHY(l)[25]: GigabitEthernet0/0/5: ch
ange status to down
[sw1-ip-pool-v2]
Jan 19 2021 12:55:17-08:00 sw1 %%01PHY/1/PHY(l)[26]: GigabitEthernet0/0/5: ch
ange status to up
[sw1-ip-pool-v2]
[sw1-ip-pool-v2]
Jan 19 2021 12:55:22-08:00 sw1 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 30, the
change loop count is 0, and the maximum number of records is 4095.
[sw1-ip-pool-v2]ga
[sw1-ip-pool-v2]gateway-list 172.16.2.100
[sw1-ip-pool-v2]dn
[sw1-ip-pool-v2]dns-list 114.114.114.114
[sw1-ip-pool-v2]int vlan 1
[sw1-Vlanif1]dhcp select global
[sw1-Vlanif1]int
Jan 19 2021 12:57:12-08:00 sw1 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 34, the
change loop count is 0, and the maximum number of records is 4095.vlan 2
[sw1-Vlanif2]dhcp select global
[sw1]dis vlan
The total number of vlans is : 2
--------------------------------------------------------------------------------
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;
#: ProtocolTransparent-vlan; *: Management-vlan;
--------------------------------------------------------------------------------
VID Type Ports
--------------------------------------------------------------------------------
1 common UT:GE0/0/1(U) GE0/0/2(D) GE0/0/5(U) GE0/0/6(U)
GE0/0/7(D) GE0/0/8(D) GE0/0/9(D) GE0/0/10(D)
GE0/0/11(D) GE0/0/12(D) GE0/0/13(D) GE0/0/14(D)
GE0/0/15(D) GE0/0/16(D) GE0/0/17(D) GE0/0/18(D)
GE0/0/19(D) GE0/0/20(D) GE0/0/21(D) GE0/0/22(D)
GE0/0/23(D) GE0/0/24(D) Eth-Trunk0(U)
2 common TG:GE0/0/5(U) GE0/0/6(U) Eth-Trunk0(U)
VID Status Property MAC-LRN Statistics Description
--------------------------------------------------------------------------------
1 enable default enable disable VLAN 0001
2 enable default enable disable VLAN 0002
[sw1]dis
[sw1]display cu
[sw1]display current-configuration
#
sysname sw1
#
vlan batch 2
#
stp instance 1 root primary
stp instance 2 root secondary
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
dhcp enable
#
diffserv domain default
#
stp region-configuration
region-name huawei
instance 1 vlan 1
instance 2 vlan 2
active region-configuration
#
drop-profile default
#
ip pool v1
gateway-list 172.16.1.100
network 172.16.1.0 mask 255.255.255.0
dns-list 114.114.114.114
#
ip pool v2
gateway-list 172.16.2.100
network 172.16.2.0 mask 255.255.255.0
dns-list 114.114.114.14 114.114.114.114
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
ip address 172.16.1.254 255.255.255.0
vrrp vrid 1 virtual-ip 172.16.1.100
vrrp vrid 1 priority 101
vrrp vrid 1 track interface GigabitEthernet0/0/1
dhcp select global
#
interface Vlanif2
ip address 172.16.2.254 255.255.255.0
vrrp vrid 1 virtual-ip 172.16.2.100
dhcp select global
#
interface MEth0/0/1
#
interface Eth-Trunk0
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
eth-trunk 0
#
interface GigabitEthernet0/0/4
eth-trunk 0
#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/6
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
[sw1]intg
Jan 19 2021 13:01:44-08:00 sw1 %%01PHY/1/PHY(l)[28]: GigabitEthernet0/0/5: ch
ange status to u g0/0/1
[sw1-GigabitEthernet0/0/1]portswitch
Jan 19 2021 13:02:55-08:00 sw1 %%01PHY/1/PHY(l)[32]: GigabitEthernet0/0/1: ch
ange status to down
[sw1-GigabitEthernet0/0/1]vlan 3
[sw1]int vlanif 3
[sw1-Vlanif3]ip add 172.16.0.1 30
[sw1-Vlanif3]int g0/0/1
[sw1-GigabitEthernet0/0/1]portswitch
Error: The interface is already a L2 interface.
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]p l a
[sw1-GigabitEthernet0/0/1]p d vlan 3
[sw1]ospf 10 rou
[sw1]ospf 10 router-id 2.2.2.2
[sw1-ospf-10]area
Jan 19 2021 13:12:12-08:00 sw1 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 42, the
change loop count is 0, and the maximum number of records is 4095.0
[sw1-ospf-10-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[sw1-ospf-10-area-0.0.0.0]q
[sw1-ospf-10]silent-interface Vlanif 2
[sw1-ospf-10]silent-interface g0/0/6
[sw1-ospf-10]silent-interface g0/0/5
[sw2]int eth0
[sw2-Eth-Trunk0]q
[sw2]int g0/0/3
[sw2-GigabitEthernet0/0/3]eth 0
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-GigabitEthernet0/0/3]int g0
Jan 19 2021 12:12:51-08:00 sw2 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 c
hange loop count is 0, and the maximum number of records is 4095./0/4
[sw2-GigabitEthernet0/0/4]eth 0
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-GigabitEthernet0/0/4]q
[sw2]vlan 2
[sw2]int eth0
[sw2-Eth-Trunk0]port lin
[sw2-Eth-Trunk0]port link-type
[sw2-Eth-Trunk0]port link-type acc
[sw2-Eth-Trunk0]port de
[sw2-Eth-Trunk0]port default
[sw2-Eth-Trunk0]port link-type trunk
[sw2]int eth0
[sw2-Eth-Trunk0]port lin
[sw2-Eth-Trunk0]port link-type tr
[sw2-Eth-Trunk0]port link-type trunk
[sw2-Eth-Trunk0]port tr
[sw2-Eth-Trunk0]port trunk al
[sw2-Eth-Trunk0]port trunk allow-pass vlan all
[sw2-Eth-Trunk0]q
[sw2]int g0/0/
Jan 19 2021 12:22:17-08:00 sw2 %%01PHY/1/PHY(l)[2]: GigabitEthernet0/0/7: cha
nge status to down6
[sw2-GigabitEthernet0/0/6]
Jan 19 2021 12:22:18-08:00 sw2 %%01PHY/1/PHY(l)[3]: GigabitEthernet0/0/7: cha
nge status to up
[sw2-GigabitEthernet0/0/6]p l t
[sw2-GigabitEthernet0/0/6]p t a vlan all
[sw2-GigabitEthernet0/0/6]int g0/0/7
[sw2-GigabitEthernet0/0/7]p l t
[sw2-GigabitEthernet0/0/7]p t a vlan all
[sw2]stp en
[sw2]stp enable
[sw2]stp mode mstp
[sw2]stp re
[sw2]stp region-configuration
[sw2-mst-region]re
[sw2-mst-region]region-name huawei
[sw2-mst-region]ins
[sw2-mst-region]instance 1 vlan 1
[sw2-mst-region]ins
[sw2-mst-region]instance 2 vlan 2
[sw2-mst-region]ac
[sw2-mst-region]active re
[sw2-mst-region]active region-configuration
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-mst-region]display stp br
MSTID Port Role STP State Protection
0 GigabitEthernet0/0/2 DESI FORWARDING NONE
0 GigabitEthernet0/0/5 ROOT FORWARDING NONE
0 GigabitEthernet0/0/7 DESI FORWARDING NONE
0 Eth-Trunk0 DESI FORWARDING NONE
1 GigabitEthernet0/0/2 DESI FORWARDING NONE
1 GigabitEthernet0/0/5 ROOT FORWARDING NONE
1 GigabitEthernet0/0/7 DESI FORWARDING NONE
1 Eth-Trunk0 DESI FORWARDING NONE
2 GigabitEthernet0/0/7 DESI FORWARDING NONE
2 Eth-Trunk0 ROOT FORWARDING NONE
[sw2-mst-region]q
[sw2]stp ins
[sw2]stp instance 2 root pr
[sw2]stp ins
[sw2]stp instance 1 r
Jan 19 2021 12:39:12-08:00 sw2 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 17, the
change loop count is 0, and the maximum number of records is 4095.oot se
[sw2]stp instance 1 root secondary
[sw2]display stp br
MSTID Port Role STP State Protection
0 GigabitEthernet0/0/2 DESI FORWARDING NONE
0 GigabitEthernet0/0/5 ROOT FORWARDING NONE
0 GigabitEthernet0/0/7 DESI FORWARDING NONE
0 Eth-Trunk0 DESI FORWARDING NONE
1 GigabitEthernet0/0/2 DESI FORWARDING NONE
1 GigabitEthernet0/0/5 DESI FORWARDING NONE
1 GigabitEthernet0/0/7 DESI FORWARDING NONE
1 Eth-Trunk0 ROOT FORWARDING NONE
2 GigabitEthernet0/0/7 DESI FORWARDING NONE
2 Eth-Trunk0 DESI FORWARDING NONE
[sw2]int vlan 1
[sw2-Vlanif1]ip add 172.16.1.253 24
[sw2-Vlanif1]int
Jan 19 2021 12:43:12-08:00 sw2 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 19, the
change loop count is 0, and the maximum number of records is 4095. vlan 2
[sw2-Vlanif2]
Jan 19 2021 12:43:14-08:00 sw2 %%01IFNET/4/IF_STATE(l)[23]:Interface Vlanif2 has
turned into UP state.
[sw2-Vlanif2]
[sw2-Vlanif2]ip add 172.16.2.253 24
[sw2-Vlanif2]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
MEth0/0/1 unassigned down down
NULL0 unassigned up up(s)
Vlanif1 172.16.1.253/24 up up
Vlanif2 172.16.2.253/24 up up
[sw2-Vlanif2]vrrp vrid 1 virtual-ip 172.16.2.100
[sw2-Vlanif2]vrrp vrid 1 po
[sw2-Vlanif2]vrrp vrid 1 pr
[sw2-Vlanif2]vrrp vrid 1 priority 101
[sw2-Vlanif2]vrrp vrid 1 track int g0/0/1
[sw2-Vlanif2]int vlan 1
[sw2-Vlanif1]vrrp vi
[sw2-Vlanif1]vrrp vr
[sw2-Vlanif1]vrrp vrid 1 vr
[sw2-Vlanif1]vrrp vrid 1 vi
[sw2-Vlanif1]vrrp vrid 1 virtual-ip 172.16.1.100
[sw2-Vlanif1]ip pool v1
Info:It's successful to create an IP address pool.
[sw2-ip-pool-v1] gateway-list 172.16.1.100
[sw2-ip-pool-v1] network 172.16.1.0 mask 255.255.255.0
[sw2-ip-pool-v1] dns-list 114.114.114.114
[sw2-ip-pool-v1]#
[sw2-ip-pool-v1]ip pool v2
Info:It's successful to create an IP address pool.
[sw2-ip-pool-v2] gateway-list 172.16.2.100
[sw2-ip-pool-v2] network 172.16.2.0 mask 255.255.255.0
[sw2-ip-pool-v2] dns-list 114.114.114.14 114.114.114.114
[sw2-ip-pool-v2]
[sw2-ip-pool-v2]int
Jan 19 2021 12:59:19-08:00 sw2 %%01PHY/1/PHY(l)[36]: GigabitEthernet0/0/7: ch
ange status to down vla
Jan 19 2021 12:59:20-08:00 sw2 %%01PHY/1/PHY(l)[37]: GigabitEthernet0/0/7: ch
ange status to upn 1
[sw2-Vlanif1]dhcp se
[sw2-Vlanif1]dhcp select glo
[sw2-Vlanif1]dhcp select global
Error: Please enable DHCP in the global view first.
[sw2-Vlanif1]dh
[sw2-Vlanif1]dhcp en
[sw2-Vlanif1]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[sw2]int vlan 1
[sw2-Vlanif1]dhcp se
[sw2-Vlanif1]dhcp select glo
[sw2-Vlanif1]dhcp select global
[sw2-Vlanif1]int vlan 2
Jan 19 2021 12:59:52-08:00 sw2 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 34, the
change loop count is 0, and the maximum number of records is 4095.
[sw2-Vlanif2]dhcp se
[sw2-Vlanif2]dhcp select gl
[sw2-Vlanif2]dhcp select global
[sw2-Vlanif2]vlan 4
[sw2-vlan4]int
Jan 19 2021 13:07:12-08:00 sw2 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 36, the
change loop count is 0, and the maximum number of records is 4095.vlanif 4
[sw2-Vlanif4]ip add 172.16.0.5 30
[sw2-GigabitEthernet0/0/1]p l a
[sw2-GigabitEthernet0/0/1]p d vlan
Jan 19 2021 13:07:52-08:00 sw2 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 38, the
change loop count is 0, and the maximum number of records is 4095.4
[sw2-GigabitEthernet0/0/1]
Jan 19 2021 13:08:02-08:00 sw2 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 39, the
change loop count is 0, and the maximum number of records is 4095.
Jan 19 2021 13:11:43-08:00 sw2 %%01PHY/1/PHY(l)[46]: GigabitEthernet0/0/7: ch
ange status to up
[sw2-GigabitEthernet0/0/1]q
[sw2]ospf 10 router-id 3.3.3.3
[sw2-ospf-10]area 0
[sw2-ospf-10-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[sw2-ospf-10]silent-interface vlanif 2
[sw2-ospf-10]si
[sw2-ospf-10]silent-interface
Jan 19 2021 13:18:03-08:00 sw2 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 43, the
change loop count is 0, and the maximum number of records is 4095.
^
Error:Incomplete command found at '^' position.
[sw2-ospf-10]si
[sw2-ospf-10]silent-interface g0/0/5
Jan 19 2021 13:19:28-08:00 sw2 %%01PHY/1/PHY(l)[64]: GigabitEthernet0/0/7: ch
ange status to up
[sw2-ospf-10]silent-interface g0/0/7
[sw2]ip
Jan 19 2021 13:29:44-08:00 sw2 %%01PHY/1/PHY(l)[66]: GigabitEthernet0/0/7: ch
ange status to down
Jan 19 2021 13:29:45-08:00 sw2 %%01PHY/1/PHY(l)[67]: GigabitEthernet0/0/7: ch
ange status to up
Jan 19 2021 13:31:01-08:00 sw2 %%01PHY/1/PHY(l)[68]: GigabitEthernet0/0/7: ch
ange status to up
Jan 19 2021 13:31:09-08:00 sw2 %%01PHY/1/PHY(l)[69]: GigabitEthernet0/0/7: ch
ange status to down
Jan 19 2021 13:31:10-08:00 sw2 %%01PHY/1/PHY(l)[70]: GigabitEthernet0/0/7: ch
ange status to up User interface con0 is available
[sw3]
Jan 19 2021 12:13:31-08:00 sw3 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 c
hange loop count is 0, and the maximum number of records is 4095.
[sw3]
[sw3]vlan 2
[sw3-vlan2]int e0/
Jan 19 2021 12:14:11-08:00 sw3 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 c
hange loop count is 0, and the maximum number of records is 4095.0/2
[sw3-Ethernet0/0/2]port lin
[sw3-Ethernet0/0/2]port link-
Jan 19 2021 12:14:22-08:00 sw3 %%01PHY/1/PHY(l)[2]: Ethernet0/0/2: change sta
tus to down
Jan 19 2021 12:14:23-08:00 sw3 %%01PHY/1/PHY(l)[3]: Ethernet0/0/2: change sta
tus to up
^
Error:Ambiguous command found at '^' position.
[sw3-Ethernet0/0/2]port lin
[sw3-Ethernet0/0/2]port link-
[sw3-Ethernet0/0/2]port link-flap
[sw3-Ethernet0/0/2]port link-type acc
[sw3-Ethernet0/0/2]port link-type access
[sw3-Ethernet0/0/2]port de
[sw3-Ethernet0/0/2]port default vlan
Jan 19 2021 12:14:51-08:00 sw3 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 c
hange loop count is 0, and the maximum number of records is 4095.
Jan 19 2021 12:15:00-08:00 sw3 %%01PHY/1/PHY(l)[4]: Ethernet0/0/2: change sta
tus to up
Jan 19 2021 12:15:12-08:00 sw3 %%01PHY/1/PHY(l)[5]: Ethernet0/0/1: change sta
tus to down
Jan 19 2021 12:15:13-08:00 sw3 %%01PHY/1/PHY(l)[6]: Ethernet0/0/1: change sta
tus to up
^
Error:Incomplete command found at '^' position.
[sw3-Ethernet0/0/2]q
[sw3]vlan 2
[sw3]int g0/0/1
[sw3-GigabitEthernet0/0/1]p l t
[sw3-GigabitEthernet0/0/1]p t a
Jan 19 2021 12:23:51-08:00 sw3 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 c
hange loop count is 0, and the maximum number of records is 4095. vlan all
[sw3-GigabitEthernet0/0/1]int
Jan 19 2021 12:24:01-08:00 sw3 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 c
hange loop count is 0, and the maximum number of records is 4095.e0/0/7
[sw3-Ethernet0/0/7]p l t
[sw3-Ethernet0/0/7]p t a vlan
[sw3]int e0/0/1
[sw3-Ethernet0/0/1]p l a
[sw3-Ethernet0/0/1]p d vlan 1
[sw3-Ethernet0/0/1]int e0/0/2
[sw3-Ethernet0/0/2]p l a
[sw3-Ethernet0/0/2]p d vlan 2
[sw3-Ethernet0/0/2]q
[sw3]stp en
[sw3]stp enable
[sw3]stp mode ms
[sw3]stp mode mstp
[sw3]stp re
[sw3]stp region-configuration
[sw3-mst-region]re
[sw3-mst-region]region-name huawei
[sw3-mst-region]ins
[sw3-mst-region]instance 1 vlan
Jan 19 2021 12:33:14-08:00 sw3 %%01PHY/1/PHY(l)[14]: Ethernet0/0/2: change st
atus to down1
[sw3-mst-region]
Jan 19 2021 12:33:15-08:00 sw3 %%01PHY/1/PHY(l)[15]: Ethernet0/0/2: change st
atus to up
[sw3-mst-region]ins
[sw3-mst-region]instance 1 vlan 1
[sw3-mst-region]ins
[sw3-mst-region]instance 2 vlan 2
[sw3-mst-region]ac
[sw3-mst-region]active re
[sw3-mst-region]active region-configuration
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw3-mst-region]display stp br
MSTID Port Role STP State Protection
0 Ethernet0/0/1 DESI LEARNING NONE
0 Ethernet0/0/2 DESI FORWARDING NONE
0 Ethernet0/0/7 ALTE DISCARDING NONE
0 GigabitEthernet0/0/1 ROOT FORWARDING NONE
1 Ethernet0/0/1 DESI LEARNING NONE
1 Ethernet0/0/7 ALTE DISCARDING NONE
1 GigabitEthernet0/0/1 ROOT FORWARDING NONE
2 Ethernet0/0/2 DESI FORWARDING NONE
2 Ethernet0/0/7 ALTE DISCARDING NONE
2 GigabitEthernet0/0/1 ROOT FORWARDING NONE
[sw3]int e0/0/1
[sw3-Ethernet0/0/1]stp ed
[sw3-Ethernet0/0/1]stp edged-port en
[sw3-Ethernet0/0/1]stp edged-port enable
[sw3-Ethernet0/0/1]int e0/0/2
[sw3-Ethernet0/0/2]stp edged-port enable
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]sy sw4
[sw4]vlan 2
[sw4-vlan2]q
[sw4]int g0/0/1
[sw4-GigabitEthernet0/0/1]p l t
[sw4-GigabitEthernet0/0/1]int
Jan 19 2021 12:24:51-08:00 sw4 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 c
hange loop count is 0, and the maximum number of records is 4095.e0/0/6
[sw4-Ethernet0/0/6]p l t
[sw4-Ethernet0/0/6]p t a
Jan 19 2021 12:25:11-08:00 sw4 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 c
hange loop count is 0, and the maximum number of records is 4095.vlan all
[sw4-Ethernet0/0/6]
Jan 19 2021 12:25:21-08:00 sw4 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 c
hange loop count is 0, and the maximum number of records is 4095.
Jan 19 2021 12:25:55-08:00 sw4 %%01PHY/1/PHY(l)[15]: Ethernet0/0/1: change st
atus to down
Jan 19 2021 12:25:56-08:00 sw4 %%01PHY/1/PHY(l)[16]: Ethernet0/0/1: change st
atus to up
[sw4-Ethernet0/0/6]
[sw4-Ethernet0/0/6]
[sw4-Ethernet0/0/6]
[sw4-Ethernet0/0/6]q
[sw4]int e0/0/1
[sw4-Ethernet0/0/1]p l a
[sw4-Ethernet0/0/1]p d vlan 1
[sw4-Ethernet0/0/1]int e0/
Jan 19 2021 12:27:41-08:00 sw4 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
change loop count is 0, and the maximum number of records is 4095.0/2
[sw4-Ethernet0/0/2]p l a
[sw4-Ethernet0/0/2]p d
Jan 19 2021 12:27:51-08:00 sw4 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
change loop count is 0, and the maximum number of records is 4095.vlan 2
[sw4]stp en
[sw4]stp enable
[sw4]stp mo
[sw4]stp mode mstp
[sw4]ac
[sw4]stp re
[sw4]stp region-configuration
[sw4-mst-region]r
Jan 19 2021 12:34:32-08:00 sw4 %%01PHY/1/PHY(l)[21]: Ethernet0/0/2: change st
atus to upe
[sw4-mst-region]region-name huawei
[sw4-mst-region]ins
[sw4-mst-region]instance 1 vlan 1
[sw4-mst-region]ins
[sw4-mst-region]instance 2 vlan 2
[sw4-mst-region]ac
[sw4-mst-region]active re
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw4-mst-region]display stp br
MSTID Port Role STP State Protection
0 Ethernet0/0/1 DESI FORWARDING NONE
0 Ethernet0/0/2 DESI FORWARDING NONE
0 Ethernet0/0/6 DESI FORWARDING NONE
0 GigabitEthernet0/0/1 DESI FORWARDING NONE
1 Ethernet0/0/1 DESI FORWARDING NONE
1 Ethernet0/0/6 DESI FORWARDING NONE
1 GigabitEthernet0/0/1 DESI FORWARDING NONE
2 Ethernet0/0/2 DESI FORWARDING NONE
2 Ethernet0/0/6 DESI FORWARDING NONE
2 GigabitEthernet0/0/1 DESI FORWARDING NONE
[sw4]int e0/0/1
[sw4-Ethernet0/0/1]stp ed
[sw4-Ethernet0/0/1]stp edged-port en
[sw4-Ethernet0/0/1]stp edged-port enable
[sw4-Ethernet0/0/1]stp edged-port enable
Jan 19 2021 13:21:33-08:00 sw4 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 14, the
change loop count is 0, and the maximum numbeint e0/0/1
[sw4-Ethernet0/0/1]int e0/0/2
[sw4-Ethernet0/0/2]stp edged-port enable
[r1]int g0/0/2
[r1-GigabitEthernet0/0/2]ip add 172.16.0.2 30
Jan 19 2021 01:29:35-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[r1-GigabitEthernet0/0/2]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 172.16.0.6 30
Jan 19 2021 01:30:21-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]ping 172.16.0.1
PING 172.16.0.1: 56 data bytes, press CTRL_C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- 172.16.0.1 ping statistics ---
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
[r1-GigabitEthernet0/0/1]q
[r1]ospf 10 rou
[r1]ospf 10 router-id 1.1.1.1
[r1-ospf-10]area 0
[r1-ospf-10-area-0.0.0.0]net
[r1-ospf-10-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 1.1.1.1 24
[r1-GigabitEthernet0/0/0]q
[r1]ip rou
[r1]ip route
[r1]ip route-static
[r1]ip route
[r1]ip route-static 0.0.0.0 0 1.1.1.2
[r1]ospf 10
[r1-ospf-10]de
[r1-ospf-10]default
[r1-ospf-10]default-route-advertise al
[r1-ospf-10]default-route-advertise always
[r1-ospf-10]
[r1-ospf-10]
[r1-ospf-10]q
[r1]acl 2000
[r1-acl-basic-2000]ru
[r1-acl-basic-2000]rule 0 pe
[r1-acl-basic-2000]rule 0 permit s
[r1-acl-basic-2000]rule 0 permit source 172.16.0.0 0.0.255.255
[r1-acl-basic-2000]
[r1-acl-basic-2000]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]nat ou
[r1-GigabitEthernet0/0/0]nat outbound 2000
Enter system view, return user view with Ctrl+Z.
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 1.1.1.2 24
Jan 19 2021 01:44:41-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]
[Huawei-GigabitEthernet0/0/0]q
[Huawei]int loo 0
[Huawei-LoopBack0]ip add 2.2.2.2 24
[Huawei-LoopBack0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on




版权声明:本文为W981113原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。