Configuring Multiple STGs
1. Set the Spanning Tree mode on each switch to PVRST.
2. Configure the following on Switch A:
3. Configure the following on Switch B:
© Copyright Lenovo 2018
This configuration shows how to configure the three instances of STGs on the
switches A, B, C and D illustrated in Figure 14 on page
Because VASA is enabled by default, each new VLAN is automatically assigned its
own STG. However, for this configuration example, some VLANs are explicitly
reassigned to other STGs.
NE2552E(config)# spanning-tree mode pvrst
Note: PVRST is the default mode on the NE2552E. This step is not required unless
the STP mode has been previously changed, and is shown here merely as an
example of manual configuration.
a. Enable VLAN 2 and VLAN 3.
NE2552E(config)# vlan 2
NE2552E(config-vlan)# exit
NE2552E(config)# vlan 3
NE2552E(config-vlan)# exit
If VASA is disabled, enter the following commands:
NE2552E(config)# spanning-tree stp 2 vlan 2
NE2552E(config)# spanning-tree stp 3 vlan 3
b. Add port 17 to VLAN 2 and port 18 to VLAN 3.
NE2552E(config)# interface port 17
NE2552E(config-if)# switchport access vlan 2
NE2552E(config-if)# exit
NE2552E(config)# interface port 18
NE2552E(config-if)# switchport access vlan 3
NE2552E(config-if)# exit
VLAN 2 and VLAN 3 are removed from STG 1.
Note: In PVRST mode, each instance of STG is enabled by default.
Add port 8 to VLAN 2. Ports 1 and 2 are by default in VLAN 1 assigned to STG 1.
NE2552E(config)# vlan 2
NE2552E(config-vlan)# stg 2
NE2552E(config-vlan)# exit
NE2552E(config)# interface port 8
NE2552E(config-if)# switchport mode trunk
NE2552E(config-if)# exit
If VASA is disabled, enter the following command:
NE2552E(config)# spanning-tree stp 2 vlan 2
184.
Chapter 10: Spanning Tree Protocols
185