© Copyright IBM Corp. 2011 Chapter 10. Spanning Tree Protocols 125
Configuring Multiple STGs
This configuration shows how to configure the three instances of STGs on the
switches A, B, C, and D illustrated in Figure 13 on page 124.
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.
1. Set the Spanning Tree mode on each switch to PVRST.
Note: PVRST is the default mode on the G8000. This step is not required unless
the STP mode has been previously changed, and is shown here merely as
an example of manual configuration.
2. Configure the following on Switch A:
Add port 17 to VLAN 2, port 18 to VLAN 3, and define STG 2 for VLAN 2 and
VLAN 3.
VLAN 2 and VLAN 3 are removed from STG 1.
Note: In PVRST mode, each instance of STG is enabled by default.
3. Configure the following on Switch B:
Add port 8 to VLAN 2 and define STG 2 for VLAN 2.
VLAN 2 is automatically removed from STG 1. By default VLAN 1 remains in
STG 1.
4. Configure the following on application switch C:
Add port 8 to VLAN 3 and define STG 2 for VLAN 3.
VLAN 3 is automatically removed from STG 1. By default VLAN 1 remains in
STG 1.
5. Switch D does not require any special configuration for multiple Spanning
Trees. Switch D uses default STG 1 only.
RS G8000(config)# spanning-teywree mode pvrst
RS G8000(config)# vlan 2
RS G8000(config-vlan)# enable
RS G8000(config-vlan)# member 17
RS G8000(config-vlan)# exit
RS G8000(config)# vlan 3
RS G8000(config-vlan)# enable
RS G8000(config-vlan)# member 18
RS G8000(config-vlan)# exit
RS G8000(config)# spanning-tree stp 2 vlan 2,3
RS G8000(config)# vlan 2
RS G8000(config-vlan)# enable
RS G8000(config-vlan)# member 8
RS G8000(config-vlan)# stg 2
RS G8000(config-vlan)# exit
RS G8000(config)# vlan 3
RS G8000(config-vlan)# enable
RS G8000(config-vlan)# member 8
RS G8000(config-vlan)# stg 2
RS G8000(config-vlan)# exit