COMMAND LINE INTERFACE

Spanning Tree Protocol Configuration (stp)

The STP configuration commands include the following items.

STP Commands

enable stp

Enables the spanning tree protocol.

disable stp

Disables the spanning tree protocol.

show stpstate

Shows whether STP is enabled or disabled.

config stp hellotime <1~10>

Sets the interval (in seconds) at which the root device transmits a configuration message.

config stp maxage <6~40>

Sets the maximum time (in seconds) a device can wait without receiving a configuration message before attempting to reconfigure.

config stp fwdly <4~30>

Sets the maximum time (in seconds) the root device will wait before changing states (i.e., listening to learning to forwarding).

config stp priority <0~65535>

Sets the bridge priority used in selecting the root device, root port, and designated port.

show stp info

Displays global STP settings.

show stp rootbridge

Displays information about the root bridge.

show stp portstatus

Displays the STP settings for each port.

5-10

Page 132
Image 132
SMC Networks SMC6709L2 Spanning Tree Protocol Configuration stp, STP configuration commands include the following items