Enable Spanning Tree on a VLAN
The spanning tree bridge and port parameters are configurable using one CLI command set at the global configuration level of each Port-based VLAN. Suppose you want to enable the IEEE 802.1D STP across VLAN 3. To do so, use the following method.
Note: When port-based VLANs are not operating on the system, STP is set on a system-wide
level at the global CONFIG level of the CLI.
- Access the global configuration level of the CLI on Device-A by entering the following commands.
- Access the level of the CLI for configuring port-based VLAN 3 by entering the following command.
- From VLAN 3 configuration level of the CLI, enter the following command to enable STP on all tagged and untagged ports associated with VLAN 3.
- Enter the following commands to exit the VLAN configuration mode and save the configuration to the system-config file on flash memory.
- Repeat steps 1 - 4 on Device-B.
Note: You do not need to configure values for the STP parameters. All parameters have default values. Additionally, all values will be globally applied to all ports on the system or on the port-based VLAN for which they are defined.
To configure STP bridge and port parameters, refer to Configuring Spanning Tree Protocol.