C H A P T E R 2 | Configuring and Managing the Switch |
get-stp
Displays the current state of spanning tree (either enabled or disabled). By default, spanning tree is enabled in accordance with 802.1d.
set-stp
Enables or disables the spanning tree protocol. Enabled is the default. Enabling or disabling spanning tree doesn’t take effect until the SNMP agent is reset
get-st-bcfg
Displays the spanning tree bridge parameters. If spanning tree is disabled, parameters aren’t displayed.
get-st-pcfg
Displays the spanning tree port parameter table. If spanning tree is disabled, parameters aren’t displayed.
get-st-syscfg
Displays the spanning tree state for all ports.
set-br-prio
Sets the spanning tree bridge priority of the switch. priority is a number from 0 to 65535. This is equivalent to setting the MIB variable dot1dStpPriority (RFC 1493).
set-br-maxage
Sets the spanning tree bridge maximum age. This is the amount of time between spanning tree configuration messages. maxage is in seconds, from 6 to 40. However, the corresponding MIB variable, dot1dStpBridgeMaxAge (RFC 1493), is in hundreths of seconds, ranging from 600 to 4000, and must be a multiple of 100.
47