Configuring Spanning Tree Protocol (STP) and IronSpan Features
December 2005 © Foundry Networks, Inc. 7 - 61
FastIron SuperX Router(config-vlan-3601)# vlan 3801
FastIron SuperX Router(config-vlan-3801)# spanning-tree priority 20
FastIron SuperX Router(config-vlan-3801)# tag ethernet 1/20 ethernet 5/1 to 5/3
FastIron SuperX Router(config-vlan-3801)# exit
The next group of commands configures VLAN groups for the member VLANs. Notice that the VLAN groups do
not contain the VLAN numbers assigned to the master VLANs. Also notice that no STP parameters are
configured for the groups of member VLANs. Each group of member VLANs will inherit its STP settings from its
master VLAN.
Set the bridge priority for each master VLAN to the highest priority (1) on one of the devices in the STP per VLAN
group configuration. By setting the bridge priority to the highest priority, you make the device the default root
bridge for the spanning tree. To ensure STP load balancing, make each of the devices the default root bridge for a
different master VLAN.
FastIron SuperX Router(config)# vlan-group 1 vlan 2 to 200
FastIron SuperX Router(config-vlan-group-1)# tag ethernet 1/1 ethernet 5/1 to 5/3
FastIron SuperX Router(config-vlan-group-1)# vlan-group 2 vlan 202 to 400
FastIron SuperX Router(config-vlan-group-2)# tag ethernet 1/2 ethernet 5/1 to 5/3
FastIron SuperX Router(config-vlan-group-2)# vlan-group 3 vlan 402 to 600
FastIron SuperX Router(config-vlan-group-2)# tag ethernet 1/3 ethernet 5/1 to 5/3
...
FastIron SuperX Router(config-vlan-group-19)# vlan-group 20 vlan 3082 to 4000
FastIron SuperX Router(config-vlan-group-20)# tag ethernet 1/20 ethernet 5/1 to 5/3
FastIron SuperX Router(config-vlan-group-20)# exit
The following group of commands configures the STP groups. Each STP group in this configuration contains one
master VLAN, which contains a VLAN group. This example shows that an STP group also can contain additional
VLANs (VLANs not configured in a VLAN group).
FastIron SuperX Router(config)# stp-group 1
FastIron SuperX Router(config-stp-group-1)# master-vlan 1
FastIron SuperX Router(config-stp-group-1)# member-group 1
FastIron SuperX Router(config-stp-group-1)# member-vlan 4001 4004 to 4010
FastIron SuperX Router(config-stp-group-1)# stp-group 2
FastIron SuperX Router(config-stp-group-2)# master-vlan 201
FastIron SuperX Router(config-stp-group-2)# member-group 2
FastIron SuperX Router(config-stp-group-2)# member-vlan 4002 4003 4011 to 4015
FastIron SuperX Router(config-stp-group-2)# stp-group 3
FastIron SuperX Router(config-stp-group-3)# master-vlan 401
FastIron SuperX Router(config-stp-group-3)# member-group 3
...
FastIron SuperX Router(config-stp-group-19)# stp-group 20
FastIron SuperX Router(config-stp-group-20)# master-vlan 3081
FastIron SuperX Router(config-stp-group-20)# member-group 20
PVST/PVST+ Compatibility
The FastIron family of switches provide support for Cisco's Per VLAN Spanning Tree plus (PVST+), by allowing the
device to run multiple spanning trees (MSTP) while also interoperating with IEEE 802.1Q devices
1
.
NOTE: Foundry ports automatically detect PVST+ BPDUs and enable support for the BPDUs once detected.
You do not need to perform any configuration steps to enable PVST+ support. However, to support the IEEE
802.1Q BPDUs, you might need to enable dual-mode support.
1.Cisco user documentation for PVST/PVST+ refers to the IEEE 802.1Q spanning tree as the Common
Spanning Tree (CST).