Changing stp bridge and port parameters, Enabling or disabling stp in a port-based vlan, Enabling or disabling stp on an individual port – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 548: Changing stp bridge parameters

Advertising
background image

514

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Configuring standard STP parameters

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.

TurboIron(config)#vlan 10

TurboIron(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.

TurboIron(config)#interface 1

TurboIron(config-if-e10000-1)#spanning-tree

Syntax: [no] spanning-tree

Changing STP bridge and port parameters

Table 86

on page 512 and

Table 87

on page 513 list the default STP parameters. If you need to

change the default value for an STP parameter, use the following procedures.

Changing STP bridge parameters

NOTE

If you plan to change STP bridge timers, Brocade recommends that you stay within the following
ranges, from section 8.10.2 of the IEEE STP specification.

2 * (forward_delay -1) >= max_age

max_age >= 2 * (hello_time +1)

To change a STP bridge priority on a device to the highest value to make the device the root bridge,
enter the following command.

TurboIron(config)#spanning-tree priority 0

The command in this example changes the priority on a device on which you have not configured
port-based VLANs. The change applies to the default VLAN. If you have configured a port-based
VLAN on the device, you can configure the parameters only at the configuration level for individual
VLANs. Enter commands such as the following.

TurboIron(config)#vlan 20

TurboIron(config-vlan-20)#spanning-tree priority 0

To make this change in the default VLAN, enter the following commands.

Advertising