Enabling or disabling STP globally

Use the following method to enable or disable STP on a device on which you have not configured port-based 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.

To enable STP for all ports in all VLANs on a Brocade device, enter the spanning-tree command.

device(config)# spanning-tree

The spanning-tree command enables a separate spanning tree in each VLAN, including the default VLAN.

To set system maximum value for number of spanning tree instances, enter the command such as the following:

device(config)# system-max spanning-tree 254
NOTE
The number of spanning tree instances ranges from 1 through 254 on ICX 7750, ICX 7450, and ICX 7250 devices. The range of STP instances on Ruckus ICX 7150 device is from 1 through 253. The default value is 128 on ICX 7750 device and 32 on ICX 7450, ICX 7250, and Ruckus ICX 7150 devices.