Enabling or disabling stp globally, Enabling or disabling stp on a vlan – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 349
![background image](/manuals/361635/349/background.png)
Multi-Service IronWare Switching Configuration Guide
319
53-1003036-02
IEEE 802.1D Spanning Tree Protocol (STP)
12
•
Globally – Affects all VLANs on the Brocade device.
•
Individual VLAN – Affects all ports within the specified VLAN. When you enable or disable STP
within a VLAN, the setting overrides the global setting. Thus, you can enable STP for the ports
within a VLAN even when STP is globally disabled, or disable the ports within a port-based
VLAN when STP is globally enabled.
•
Individual port – Affects only the individual port. However, if you change the STP state of the
primary port in a LAG group, the change affects all ports in the LAG group.
Enabling or disabling STP globally
Use the following methods to enable or disable STP on the Brocade device on which you have not
configured VLANs.
NOTE
When you configure a VLAN, the VLAN inherits the global STP settings. However, once you begin to
define a VLAN, you can no longer configure standard STP parameters globally using the CLI. From
that point on, you can configure STP only within individual VLANs.
NOTE
Reloading the Brocade device with global STP enabled can display error on boot-up (error - no more
stp instances available) if the number of vlans in the configuration are more than configured
system-max for STP instances. The error message has no effect on the functionality
.
When configuring spanning- tree at the global CLI level, the following message will prompt you to
enter “y” for yes or “n” for no to change the spanning-tree behavior at the global level:
Brocade(config)#spanning-tree
This will change the spanning-tree behavior at the global level.
Are you sure? (enter 'y' or 'n'): y
Enter ‘y’ to change the spanning-tree behavior. Enter ‘n’ to make no change to the spanning-tree
configuration at the global level.
This command enables a separate spanning tree in each VLAN, including the default VLAN.
Syntax: [no] spanning-tree
Enabling or disabling STP on a VLAN
Use the following procedure to disable or enable STP on a Brocade device on which you have
configured a VLAN. Changing the STP state in a VLAN affects only that VLAN.
To enable STP for all ports in a port-based VLAN, enter commands such as the following.
Brocade(config)# vlan 10
Brocade(config-vlan-10)# spanning-tree
that there is no effect on the functionality due to this error message
Syntax: [no] spanning-tree