Dell Catalyst 3130 Command Reference Manual page 778

Blade switch
Table of Contents

Advertisement

spanning-tree vlan
Examples
This example shows how to disable the STP on VLAN 5:
Switch(config)# no spanning-tree vlan 5
You can verify your setting by entering the show spanning-tree privileged EXEC command. In this
instance, VLAN 5 does not appear in the list.
This example shows how to set the spanning-tree forwarding time to 18 seconds for VLANs 20 and 25:
Switch(config)# spanning-tree vlan 20,25 forward-time 18
This example shows how to set the spanning-tree hello-delay time to 3 seconds for VLANs 20 to 24:
Switch(config)# spanning-tree vlan 20-24 hello-time 3
This example shows how to set spanning-tree max-age to 30 seconds for VLAN 20:
Switch(config)# spanning-tree vlan 20 max-age 30
This example shows how to reset the max-age parameter to the default value for spanning-tree
instance 100 and 105 to 108:
Switch(config)# no spanning-tree vlan 100, 105-108 max-age
This example shows how to set the spanning-tree priority to 8192 for VLAN 20:
Switch(config)# spanning-tree vlan 20 priority 8192
This example shows how to configure the switch as the root switch for VLAN 10 with a network
diameter of 4:
Switch(config)# spanning-tree vlan 10 root primary diameter 4
This example shows how to configure the switch as the secondary root switch for VLAN 10 with a
network diameter of 4:
Switch(config)# spanning-tree vlan 10 root secondary diameter 4
You can verify your settings by entering the show spanning-tree vlan vlan-id privileged EXEC
command.
Related Commands
Command
show spanning-tree
spanning-tree cost
spanning-tree guard
spanning-tree port-priority
spanning-tree portfast (global
configuration)
spanning-tree portfast
(interface configuration)
spanning-tree uplinkfast
Cisco Catalyst Blade Switch 3120 for HP Command Reference
2-748
Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands
Description
vlan
Displays spanning-tree information.
Sets the path cost for spanning-tree calculations.
Enables the root guard or the loop guard feature for all the VLANs
associated with the selected interface.
Sets an interface priority.
Globally enables the BPDU filtering or the BPDU guard feature on
Port Fast-enabled interfaces or enables the Port Fast feature on all
nontrunking interfaces.
Enables the Port Fast feature on an interface in all its associated
VLANs.
Enables the UplinkFast feature, which accelerates the choice of a
new root port.
OL-12248-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3032

Table of Contents