Modify a VLAN spanningTree configuration


Modify one or more existing spanning tree configurations.

Access mode

config

Syntax

vSwitch-name vRouter-name vlan spanningTree vlanName text

Arguments

Field Name Description
adminState enumeration Optional: Specifies whether the VLAN uses the Spanning Tree Protocol.

The default setting is "disabled".

Valid values:
  • disabled : The port does not participate in the spanning tree topology.
  • enabled : The port participates in the spanning tree topology.
priority integer Optional: 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; the default setting is "32768".
bridgeMaxAge integer Optional: 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; the default setting is "20".
bridgeHelloTime integer Optional: 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; the default setting is "2".
bridgeForwardDelay integer Optional: 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; the default setting is "15".