陈鑫
一.拓扑信息
二.IP设置
三.交换机配置
LSW1
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys sw1
[sw1]
Mar 27 2023 21:28:34-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 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1]vlan 2
[sw1-vlan2]
Mar 27 2023 21:29:05-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 5, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1-vlan2]quit
[sw1]int g 0/0/1
[sw1-GigabitEthernet0/0/1]port link
[sw1-GigabitEthernet0/0/1]port link-
[sw1-GigabitEthernet0/0/1]port link-flap
[sw1-GigabitEthernet0/0/1]port link-type acc
[sw1-GigabitEthernet0/0/1]port link-type access
[sw1-GigabitEthernet0/0/1]port
Mar 27 2023 21:30:25-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 6, the c
hange loop count is 0, and the maximum number of records is 4095. de
[sw1-GigabitEthernet0/0/1]port default va
[sw1-GigabitEthernet0/0/1]port default vla
[sw1-GigabitEthernet0/0/1]port default vlan 2
[sw1-GigabitEthernet0/0/1]
Mar 27 2023 21:30:55-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 7, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1-GigabitEthernet0/0/1]vlan 3
[sw1-vlan3]
Mar 27 2023 21:31:55-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 8, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1-vlan3]quit
[sw1]int g 0/0/2
[sw1-GigabitEthernet0/0/2]port li
[sw1-GigabitEthernet0/0/2]port link-
[sw1-GigabitEthernet0/0/2]port link-flap
[sw1-GigabitEthernet0/0/2]port link-type acc
[sw1-GigabitEthernet0/0/2]port link-type access
[sw1-GigabitEthernet0/0/2]por
Mar 27 2023 21:32:45-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 9, the c
hange loop count is 0, and the maximum number of records is 4095.t de
[sw1-GigabitEthernet0/0/2]port default vla
[sw1-GigabitEthernet0/0/2]port default vlan 3
[sw1-GigabitEthernet0/0/2]
Mar 27 2023 21:33:05-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 10, the
change loop count is 0, and the maximum number of records is 4095.
[sw1-GigabitEthernet0/0/2]int g 0/0/3
[sw1-GigabitEthernet0/0/3]port lin
[sw1-GigabitEthernet0/0/3]port link-
[sw1-GigabitEthernet0/0/3]port link-flap
[sw1-GigabitEthernet0/0/3]port link-type tru
[sw1-GigabitEthernet0/0/3]port link-type trunk
[sw1-GigabitEthernet0/0/3]por
Mar 27 2023 21:33:45-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 11, the
change loop count is 0, and the maximum number of records is 4095.t
^
Error:Incomplete command found at '^' position.
[sw1-GigabitEthernet0/0/3]port tru
[sw1-GigabitEthernet0/0/3]port trunk all
[sw1-GigabitEthernet0/0/3]port trunk allow-pass vl
[sw1-GigabitEthernet0/0/3]port trunk allow-pass vlan 2 3
LSW2
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys sw2
[sw2]
Mar 27 2023 21:31:16-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 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2]vla
[sw2]vlan 2
[sw2-vlan2]in
Mar 27 2023 21:34:46-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.
^
Error: Unrecognized command found at '^' position.
[sw2-vlan2]int g 0/0/1
[sw2-GigabitEthernet0/0/1]port lin
[sw2-GigabitEthernet0/0/1]port link-
[sw2-GigabitEthernet0/0/1]port link-flap
[sw2-GigabitEthernet0/0/1]port link-type acc
[sw2-GigabitEthernet0/0/1]port link-type access
[sw2-GigabitEthernet0/0/1]port
Mar 27 2023 21:35:36-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 6, the c
hange loop count is 0, and the maximum number of records is 4095.
^
Error:Incomplete command found at '^' position.
[sw2-GigabitEthernet0/0/1]port de
[sw2-GigabitEthernet0/0/1]port default vla
[sw2-GigabitEthernet0/0/1]port default vlan 2
[sw2-GigabitEthernet0/0/1]
Mar 27 2023 21:36:16-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 7, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2-GigabitEthernet0/0/1]quit
[sw2]vlan 3
[sw2-vlan3]in
Mar 27 2023 21:37:06-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 8, the c
hange loop count is 0, and the maximum number of records is 4095.t
^
Error: Unrecognized command found at '^' position.
[sw2-vlan3]int g 0/0/2
[sw2-GigabitEthernet0/0/2]port lin
[sw2-GigabitEthernet0/0/2]port link-
[sw2-GigabitEthernet0/0/2]port link-flap
[sw2-GigabitEthernet0/0/2]port link-type acc
[sw2-GigabitEthernet0/0/2]port link-type access
[sw2-GigabitEthernet0/0/2]port de
[sw2-GigabitEthernet0/0/2]port default
Mar 27 2023 21:37:56-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 9, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2-port-group-default]port default
Mar 27 2023 21:38:06-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 10, the
change loop count is 0, and the maximum number of records is 4095.vla
[sw2-port-group-default]port default vlan 3
[sw2-port-group-default]quit
[sw2]int g 0/0/3
[sw2-GigabitEthernet0/0/3]port lin
[sw2-GigabitEthernet0/0/3]port link-
[sw2-GigabitEthernet0/0/3]port link-flap
[sw2-GigabitEthernet0/0/3]port link-type tru
[sw2-GigabitEthernet0/0/3]port link-type trunk
[sw2-GigabitEthernet0/0/3]port
Mar 27 2023 21:39:26-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 11, the
change loop count is 0, and the maximum number of records is 4095.tr
[sw2-GigabitEthernet0/0/3]port trunk a
[sw2-GigabitEthernet0/0/3]port trunk allow-pass vl
[sw2-GigabitEthernet0/0/3]port trunk allow-pass vlan 2 3