VLAN spanning tree configuration


View the current spanning tree bridge configuration for a VLAN.

You must configure a VLAN interface to view or change the spanning tree bridge configuration. Use the vRouter Vlan vlan list command to add the VLAN interface.

Access mode

exec

Syntax

show vSwitch-name vRouter-name vlan spanningTree

Output Description

Heading Description Filter
Vlan Name Specifies the unique name for the VLAN. VLAN names must be unique across the entire switch (you cannot use the same name within different vRouters on the system). vlanName text
Admin State Specifies whether the VLAN uses the Spanning Tree Protocol.

Valid values:
  • disabled : The port does not participate in the spanning tree topology.
  • enabled : The port participates in the spanning tree topology.
adminState enumeration
Priority Sets the priority for this bridge. The spanning tree protocol uses this value to select the root bridge in the VLAN. The lower the priority value, the higher the priority assigned to the bridge.

Valid values are from 0 to 65535.
priority integer
Time Since Topology Change The time, in hundredths of a second, since the spanning tree network topology changed. timeSinceTopologyChange timeTicks
Topology Changes The number of topology changes that have occurred. topChanges counter32
Designated Root The root bridge identifier (ID), consisting of a two-byte priority and a 6-byte MAC address. designatedRoot physAddress
Root Cost The cost of the path to the root bridge for this switch. If this bridge is the root bridge, the cost is 0. rootCost integer
Root Port The port that this switch uses to reach the root bridge. This port has the lowest cost path between the switch and the root bridge. rootPort IfName
Max Age The maximum amount of time, in seconds, that the switch waits without receiving a configuration BPDU before it reconfigures the spanning tree topology. If this switch is the root bridge, all switches in the network use this value. maxAge integer
Hello Time The Hello Time is the time interval, in seconds, between a root bridge transmission of a configuration bridge protocol data unit (BPDU) to other devices. If this switch is the root bridge, all switches in the network use this value. helloTime integer
Hold Time The amount of time between bridge transmissions of configuration BPDUs to other devices on the network. holdTime integer
Forward Delay The Forward Delay is the time, in seconds, that a port spends in the listening and learning states before it changes to a forwarding state. If this switch is the root bridge, all switches in the network use this value. forwardDelay integer
Bridge Max Age Sets the maximum amount of time, in seconds, that a bridge waits without receiving a configuration bridge protocol data unit before it reconfigures the STP network. The value for this argument should be greater than or equal to 2 x (Hello Time + 1) and less than or equal to 2 x (Forward Delay -1). If this switch is the root bridge, all other switches in the network use this value.

Valid values are from 6 to 40.
bridgeMaxAge integer
Bridge Hello Time Sets the time, in seconds, that the root bridge waits to transmit a configuration bridge protocol data unit (BPDU) to other devices. If this switch is the root bridge, all other switches in the network use this value.

Valid values are from 1 to 10.
bridgeHelloTime integer
Bridge Forward Delay Sets the time, in seconds, that a port spends in the listening and learning states before it changes to a forwarding state. If this switch is the root bridge, all other switches in the network use this value.

Valid values are from 4 to 30.
bridgeForwardDelay integer

Related actions

You can do the following