beautypg.com

Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 300

background image

To enable 802.1W for all ports in a port-based VLAN, enter commands such as the following.

device(config)#vlan 10

device(config-vlan-10)#spanning-tree 802-1w

Syntax: [no] spanning-tree 802-1w

Note regarding pasting 802.1W settings into the running configuration

If you paste 802.1W settings into the running configuration, and the pasted configuration includes
ports that are already up, the ports will initially operate in STP legacy mode before operating in
802.1W RSTP mode. For example, the following pasted configuration will cause ports e 1 and e 2 to
temporarily operate in STP legacy mode, because these ports are already up and running.

conf t

vlan 120

tag e 1 to e 2

spanning-tree 802-1w

spanning-tree 802-1w priority 1001

end

To avoid this issue, 802.1W commands/settings that are pasted into the configuration should be in the
following order.

1. Ports that are not yet connected

2. 802.1W RSTP settings

3. Ports that are already up

Example

conf t

vlan 120

untag e 3

spanning-tree 802-1w

spanning-tree 802-1w priority 1001

tag e 1 to 2

end

In the above configuration, untagged port e3 is added to VLAN 120 before the 802.1W RSTP settings,
and ports e1 and e2 are added after the 802.1W RSTP settings. When these commands are pasted
into the running configuration, the ports will properly operate in 802.1W RSTP mode.

Enabling or disabling 802.1W on a single spanning tree

To enable 802.1W for all ports of a single spanning tree, enter a command such as the following.

device(config-vlan-10)#spanning-tree single 802-1w

Syntax: [no] spanning-tree single 802-1w

Disabling or enabling 802.1W on an individual port

The spanning-tree 802-1w or spanning-tree single 802-1w command must be used to initially
enable 802.1W on ports. Both commands enable 802.1W on all ports that belong to the VLAN or to
the single spanning tree.

Once 802.1W is enabled on a port, it can be disabled on individual ports. 802.1W that have been
disabled on individual ports can then be enabled as required.

Spanning Tree Protocol

300

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04