Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 143
109
Figure 33 Network diagram
Configuration procedure
1.
Configure VLANs and VLAN member ports. (Details not shown.)
{
Create VLAN 10, VLAN 20, and VLAN 30 on both Device A and Device B.
{
Create VLAN 10, VLAN 20, and VLAN 40 on Device C.
{
Create VLAN 20, VLAN 30, and VLAN 40 on Device D.
{
Configure the ports on these devices as trunk ports and assign them to related VLANs.
2.
Configure Device A:
# Set the spanning tree mode to PVST.
[DeviceA] stp mode pvst
# Configure the device as the root bridge of VLAN 10 and VLAN 20.
[DeviceA] stp vlan 10 20 root primary
# Enable the spanning tree feature globally and in VLAN 10, VLAN 20, and VLAN 30.
[DeviceA] stp global enable
[DeviceA] stp vlan 10 20 30 enable
3.
Configure Device B:
# Set the spanning tree mode to PVST.
[DeviceB] stp mode pvst
# Configure the device as the root bridge of VLAN 30.
[DeviceB] stp vlan 30 root primary
# Enable the spanning tree feature globally and in VLAN 10, VLAN 20, and VLAN 30.
[DeviceB] stp global enable
[DeviceB] stp vlan 10 20 30 enable
4.
Configure Device C:
# Set the spanning tree mode to PVST.
[DeviceC] stp mode pvst
# Configure the device as the root bridge of VLAN 40.
[DeviceC] stp vlan 40 root primary
G
E
1
/0
/1
G
E
1
/0
/1
G
E
1
/0
/1
G
E
1
/0
/1
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module