beautypg.com

Enabling or disabling stp globally, Enabling or disabling stp in a port-based vlan, Enabling or disabling stp on an individual port – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 255

background image

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.

Syntax: [no] spanning-tree

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

Brocade (config)# system-max spanning-tree 254

Syntax: system-max spanning-tree number

NOTE
The number of spanning tree instances ranges from 1 - 254, with 32 as the default.

Enabling or disabling STP in a port-based VLAN

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

device(config)#vlan 10

device(config-vlan-10)#spanning-tree

Syntax: [no] spanning-tree

Enabling or disabling STP on an individual port

Use the following procedure to disable or enable STP on an individual port.

NOTE
If you change the STP state of the primary port in a trunk group, it affects all ports in the trunk group.

To enable STP on an individual port, enter commands such as the following.

device(config)#interface 1/1

device(config-if-e1000-1/1)#spanning-tree

Syntax: [no] spanning-tree

Enabling or disabling STP globally

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

255

53-1003086-04