ip地址配置
[r1]int g 0/0/2
[r1-GigabitEthernet0/0/2]ip add
[r1-GigabitEthernet0/0/2]ip address 12.1.1.1 24
Jan 28 2024 14:07:16-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]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip add
[r1-GigabitEthernet0/0/0]ip address 23.1.1.1 24
Jan 28 2024 14:07:31-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]q
[r1]int g 0/0/1
[r1-GigabitEthernet0/0/1]ip add
[r1-GigabitEthernet0/0/1]ip address 34.1.1.1 24
Jan 28 2024 14:07:49-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r1-GigabitEthernet0/0/1]int l0
[r1-LoopBack0]ip add
[r1-LoopBack0]ip add
[r1-LoopBack0]ip address 1.1.1.1 32
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip add
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
[r2-GigabitEthernet0/0/0]
Jan 28 2024 14:08:56-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 l0
[r2-LoopBack0]ip add
[r2-LoopBack0]ip address 2.2.2.2 32
[Huawei]int g 0/0/3
[Huawei-GigabitEthernet0/0/3]e
[Huawei-GigabitEthernet0/0/3]eth-trunk 1
[Huawei]int g 0/0/7
[Huawei-GigabitEthernet0/0/7]e
[Huawei-GigabitEthernet0/0/7]eth-trunk 1
[Huawei]lin
[Huawei]int e
[Huawei]int Eth-Trunk 1
[Huawei-Eth-Trunk1]por
[Huawei-Eth-Trunk1]port lin
[Huawei-Eth-Trunk1]port link-type t
[Huawei-Eth-Trunk1]port link-type trunk
[Huawei-Eth-Trunk1]port t
[Huawei-Eth-Trunk1]port trunk al
[Huawei-Eth-Trunk1]port trunk allow-pass vl
[Huawei-Eth-Trunk1]port trunk allow-pass vlan al
[Huawei-Eth-Trunk1]port trunk allow-pass vlan all
[Huawei]vl
[Huawei]vlan b
[Huawei]vlan batch 2 3
[Huawei]int g 0/0/4
[Huawei-GigabitEthernet0/0/4]por
[Huawei-GigabitEthernet0/0/4]port lin
[Huawei-GigabitEthernet0/0/4]port link-t
[Huawei-GigabitEthernet0/0/4]port link-type ac
[Huawei-GigabitEthernet0/0/4]port link-type access
[Huawei-GigabitEthernet0/0/4]por
[Huawei-GigabitEthernet0/0/4]port de
[Huawei-GigabitEthernet0/0/4]port default vl
[Huawei-GigabitEthernet0/0/4]port default vlan 2
[Huawei]int g 0/0/5
[Huawei-GigabitEthernet0/0/5]por
[Huawei-GigabitEthernet0/0/5]port lin
[Huawei-GigabitEthernet0/0/5]port link-t
[Huawei-GigabitEthernet0/0/5]port link-type ac
[Huawei-GigabitEthernet0/0/5]port link-type access
[Huawei-GigabitEthernet0/0/5]por
[Huawei-GigabitEthernet0/0/5]port de
[Huawei-GigabitEthernet0/0/5]port default vl
[Huawei-GigabitEthernet0/0/5]port default vlan 3
[Huawei]int g 0/0/6
[Huawei-GigabitEthernet0/0/6]por
[Huawei-GigabitEthernet0/0/6]port lin
[Huawei-GigabitEthernet0/0/6]port link-t
[Huawei-GigabitEthernet0/0/6]port link-type t
[Huawei-GigabitEthernet0/0/6]port link-type trunk
[Huawei-GigabitEthernet0/0/6]por
[Huawei-GigabitEthernet0/0/6]port t
[Huawei-GigabitEthernet0/0/6]port trunk
[Huawei-port-group-trunk]por
[Huawei-port-group-trunk]port
[Huawei-port-group-trunk]port t
[Huawei-port-group-trunk]port trunk
[Huawei-port-group-trunk]por
[Huawei-port-group-trunk]port t
[Huawei-port-group-trunk]port trunk al
[Huawei-port-group-trunk]port trunk allow-pass vl
[Huawei-port-group-trunk]port trunk allow-pass vlan al
[Huawei-port-group-trunk]port trunk allow-pass vlan all
[Huawei]st
[Huawei]stp mo
[Huawei]stp mode ms
[Huawei]stp mode mstp
[Huawei]st
[Huawei]stp re
[Huawei]stp region-configuration
[Huawei-mst-region]in
[Huawei-mst-region]instance 1 vl
[Huawei-mst-region]instance 1 vlan 2
[Huawei-mst-region]iint
[Huawei-mst-region]in
[Huawei-mst-region]instance 2 vl
[Huawei-mst-region]instance 2 vlan 3
[Huawei-mst-region]ac
[Huawei-mst-region]active re
[Huawei-mst-region]active region-configuration
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-mst-region]q
[Huawei]st
[Huawei]stp
Jan 28 2024 14:49:40-08:00 Huawei 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, t
he change loop count is 0, and the maximum number of records is 4095.
^
Error:Incomplete command found at '^' position.
[Huawei]st
[Huawei]stp in
[Huawei]stp instance 1 ro
[Huawei]stp instance 1 root pr
[Huawei]stp instance 1 root primary
[Huawei]st
[Huawei]stp in
[Huawei]stp instance
Jan 28 2024 14:50:10-08:00 Huawei 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 18, t
he change loop count is 0, and the maximum number of records is 4095.2 ro
[Huawei]stp instance 2 root se
[Huawei]stp instance 2 root secondary
[Huawei]
Jan 28 2024 14:50:30-08:00 Huawei 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, t
he change loop count is 0, and the maximum number of records is 4095.
[Huawei]
Jan 28 2024 14:51:39-08:00 Huawei %%01PHY/1/PHY(l)[0]: GigabitEthernet0/0/7:
change status to down
Jan 28 2024 14:51:40-08:00 Huawei %%01PHY/1/PHY(l)[1]: GigabitEthernet0/0/7:
change status to up
[Huawei]int vl
[Huawei]int Vlanif 2
[Huawei-Vlanif2]
Jan 28 2024 14:51:59-08:00 Huawei %%01IFNET/4/IF_STATE(l)[2]:Interface Vlanif2 h
as turned into UP state.
[Huawei-Vlanif2]vr
[Huawei-Vlanif2]vrrp v
[Huawei-Vlanif2]vrrp vrid v
[Huawei-Vlanif2]vrrp vrid vi
[Huawei-Vlanif2]vrrp vrid 1 vi
[Huawei-Vlanif2]vrrp vrid 1 virtual-ip 192.168.1.1
[sw2]int vl
[sw2]int Vlanif 1
[sw2-Vlanif1]ip add
[sw2-Vlanif1]ip address 34.1.1.2 24
[sw2]int e
[sw2]int Eth-Trunk 1
[sw2-Eth-Trunk1]q
[sw2]int g 0/0/2
[sw2-GigabitEthernet0/0/2]e
[sw2-GigabitEthernet0/0/2]eth-trunk 1
sw2]int g 0/0/3
[sw2-GigabitEthernet0/0/3]e
[sw2-GigabitEthernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
sw2]int g 0/0/7
[sw2-GigabitEthernet0/0/7]e
[sw2-GigabitEthernet0/0/7]eth-trunk 1
[sw2]int e
[sw2]int Eth-Trunk 1
[sw2-Eth-Trunk1]por
[sw2-Eth-Trunk1]port;in
[sw2-Eth-Trunk1]port lin
[sw2-Eth-Trunk1]port link-type t
[sw2-Eth-Trunk1]port link-type trunk
[sw2-Eth-Trunk1]por
[sw2-Eth-Trunk1]port
sw2-Eth-Trunk1]port t
[sw2-Eth-Trunk1]port trunk al
[sw2-Eth-Trunk1]port trunk allow-pass al
[sw2-Eth-Trunk1]port trunk allow-pass vl
[sw2-Eth-Trunk1]port trunk allow-pass vlan al
[sw2-Eth-Trunk1]port trunk allow-pass vlan all
sw2]vl
[sw2]vlan b
[sw2]vlan batch 2 3
sw2]int g 0/0/6
[sw2-GigabitEthernet0/0/6]por
[sw2-GigabitEthernet0/0/6]port lin
[sw2-GigabitEthernet0/0/6]port link-t
[sw2-GigabitEthernet0/0/6]port link-type t
[sw2-GigabitEthernet0/0/6]port link-type trunk
[sw2-GigabitEthernet0/0/6]por
[sw2-GigabitEthernet0/0/6]port t
[sw2-GigabitEthernet0/0/6]port trunkal
[sw2-GigabitEthernet0/0/6]port trunk al
[sw2-GigabitEthernet0/0/6]port trunk allow-pass vl
[sw2-GigabitEthernet0/0/6]port trunk allow-pass vlan al
[sw2-GigabitEthernet0/0/6]port trunk allow-pass vlan all
[sw2]int g 0/0/4
[sw2-GigabitEthernet0/0/4]por
[sw2-GigabitEthernet0/0/4]port lin
[sw2-GigabitEthernet0/0/4]port link-t
[sw2-GigabitEthernet0/0/4]port link-type ac
[sw2-GigabitEthernet0/0/4]port link-type access
[sw2-GigabitEthernet0/0/4]por
[sw2-GigabitEthernet0/0/4]port
[sw2-GigabitEthernet0/0/4]port de
[sw2-GigabitEthernet0/0/4]port default vl
[sw2-GigabitEthernet0/0/4]port default vlan 3
[sw2-GigabitEthernet0/0/4]int g 0/0/5
[sw2-GigabitEthernet0/0/5]por
[sw2-GigabitEthernet0/0/5]port lin
[sw2-GigabitEthernet0/0/5]port link-t
[sw2-GigabitEthernet0/0/5]port link-type ac
[sw2-GigabitEthernet0/0/5]port link-type access
sw2]int g 0/0/5
[sw2-GigabitEthernet0/0/5]por
[sw2-GigabitEthernet0/0/5]port lin
[sw2-GigabitEthernet0/0/5]port de
[sw2-GigabitEthernet0/0/5]port default vlan 3
[sw2-GigabitEthernet0/0/5]q
[sw3]por
[sw3]port
[sw3]port-
[sw3]port-g
[sw3]port-group 1
[sw3-port-group-1]g
[sw3-port-group-1]gvrp
[sw3-port-group-1]grou
[sw3-port-group-1]group-member e
[sw3-port-group-1]group-member Ethernet 0/0/1 to e0/0/4
[sw3-port-group-1]port lin
[sw3-port-group-1]port link-t
[sw3-port-group-1]port link-type ac
[sw3-port-group-1]port link-type access
[sw3-Ethernet0/0/1]port link-type access
[sw3-Ethernet0/0/2]port link-type access
[sw3-Ethernet0/0/3]port link-type access
[sw3-Ethernet0/0/4]port link-type access
sw3-port-group-1]port de
[sw3-port-group-1]port default vl
[sw3-port-group-1]port default vlan 2
[sw4]vlan 3
[sw4-vlan3]
[sw4]por
[sw4]port-g
[sw4]port-group 1
[sw4-port-group-1]gr
[sw4-port-group-1]group-member e
sw4-port-group-1]por
[sw4-port-group-1]port lin
[sw4-port-group-1]port link-t
[sw4-port-group-1]port link-type ac
[sw4-port-group-1]port link-type access
[sw4-Ethernet0/0/1]port link-type access
[sw4-Ethernet0/0/2]port link-type access
[sw4-Ethernet0/0/3]port link-type access
[sw4-Ethernet0/0/4]port link-type access
[sw4-port-group-1]por
[sw4-port-group-1]port de
[sw4-port-group-1]port default vl
[sw4-port-group-1]port default vlan 3
sw4-Ethernet0/0/1]port default vlan 3
sw5]int e 0/0/1
[sw5-Ethernet0/0/1]q
[sw5]vl
[sw5]vlan b
[sw5]vlan batch 2 3
sw5]int e 0/0/1
[sw5-Ethernet0/0/1]por
[sw5-Ethernet0/0/1]port lin
[sw5-Ethernet0/0/1]port link-t
[sw5-Ethernet0/0/1]port link-type ac
[sw5-Ethernet0/0/1]port link-type access
sw5-Ethernet0/0/1]portde
[sw5-Ethernet0/0/1]port de
[sw5-Ethernet0/0/1]port default vl
[sw5-Ethernet0/0/1]port default vlan
[sw5-Ethernet0/0/1]undo por
[sw5-Ethernet0/0/1]undo port lin
[sw5-Ethernet0/0/1]undo port link-
[sw5-Ethernet0/0/1]undo port link-type ac
[sw5-Ethernet0/0/1]undo port link-type ac
[sw5-Ethernet0/0/1]undo port link-type
[sw5-Ethernet0/0/1]por
[sw5-Ethernet0/0/1]port
sw5-Ethernet0/0/1]port lin
[sw5-Ethernet0/0/1]port link-t
[sw5-Ethernet0/0/1]port link-type t
[sw5-Ethernet0/0/1]port link-type trunk
[sw5-Ethernet0/0/1]por
[sw5-Ethernet0/0/1]port lin
[sw5-Ethernet0/0/1]por
[sw5-Ethernet0/0/1]port al
[sw5-Ethernet0/0/1]port t
[sw5-Ethernet0/0/1]port trunk al
[sw5-Ethernet0/0/1]port trunk allow-pass vl
[sw5-Ethernet0/0/1]port trunk allow-pass vlan al
[sw5-Ethernet0/0/1]port trunk allow-pass vlan all
sw5]int e 0/0/2
[sw5-Ethernet0/0/2]
[sw5-Ethernet0/0/2]port lin
[sw5-Ethernet0/0/2]port link-t
[sw5-Ethernet0/0/2]port link-type t
[sw5-Ethernet0/0/2]port link-type trunk
sw5-Ethernet0/0/2]port t
[sw5-Ethernet0/0/2]port trunk al
[sw5-Ethernet0/0/2]port trunk allow-pass vl
[sw5-Ethernet0/0/2]port trunk allow-pass vlan al
[sw5-Ethernet0/0/2]port trunk allow-pass vlan all
[sw5]int e 0/0/3
[sw5-Ethernet0/0/3]por
[sw5-Ethernet0/0/3]port de
[sw5-Ethernet0/0/3]port de
[sw5-Ethernet0/0/3]por
[sw5-Ethernet0/0/3]port de
[sw5-Ethernet0/0/3]q
[sw5]int e 0/0/4
[sw5-Ethernet0/0/4]por
[sw5-Ethernet0/0/4]port lin
[sw5-Ethernet0/0/4]port link-t
[sw5-Ethernet0/0/4]port link-type ac
[sw5-Ethernet0/0/4]port link-type access
[sw5-Ethernet0/0/4]por
[sw5-Ethernet0/0/4]port de
[sw5-Ethernet0/0/4]port default vl
[sw5-Ethernet0/0/4]port default vlan 3