This command is used to display information about the state of Spanning Tree Protocol (STP) ports.

Syntax   stp-port-state-show

vlan vlan-id

The VLAN identifier for the STP instance.

ports port-list

The STP ports.

stp-state Disabled|Discarding|Learning|Forwarding

The forwarding state.

role Disabled|Root|Designated|Alternate|Backup

The port role.

selected-role Disabled|Root|Designated|Alternate|Backup

The selected port role.

state new-info|proposing|proposed|agreed|agreed|learn|learning|forward|forwarding|reselect|selected|reroot|rcvd-bpdu|rcvd-msg|rcvd-tc|rcvd-tc-ack|send-rstp|tc-prop|tc-ack|update-info|sync|synced|disputed|fdb-flush|online|looping|manual-online|edge|vlag-local-up|vlag-remote-up|requested-online|first-sync|p-is-d|p-is-m|root-guard-active

The port state machine state.

designated-priority designated-priority-string

The designated priority vector.

port-priority port-priority-string

The port priority vector.

message-priority message-priority-string

The message priority vector.

info-is disabled|received|mine|aged

The origin of the port information.

designated-times designated-times-string

The designated times: age, max age, hello, forward delay

port-times port-times-string

The port times: age, max age, hello, forward delay.

message-times message-times-string

The message times: age, max age, hello, forward delay.

hello-timer hello-timer-number

The hello time value.

topology-timer topology-timer-number

The topology timer value.

forward-timer forward-timer-number

The forward timer value.

rcvd-info-timer rcvd-info-timer-number

The received info timer value.

recent-root-timer recent-root-timer-number

The recent root timer value.

recent-backup-timer recent-backup-timer-number

The recent backup timer value.

edge-delay-timer edge-delay-timer-number

The edge delay timer value.

migration-timer migration-timer-number

The migration timer value.

sm-table-bits sm-table-bits-number

The state machine table state.

sm-table sm-table-string

The state machine table description

vlag-peer-port vlag-peer-port-number

The VLAG peer port if it is an active-active VLAG.


The STP peer state.

Defaults   None.

Access   CLI


Version 2.4.1

Command introduced.

Usage   STP is a standard inter-switch protocol is used to ensure that an ad hoc network topology is loop-free at Layer 2, on a per VLAN basis. If your network connections form loops, and STP is disabled, packets recirculate between the switches, and causes a decrease in network performance. If you are certain that your network is loop-free, you do not need to enable STP. One drawback of STP is that it does not allow for Layer 2 multipathing, and may result in suboptimal utilization of available network links. Therefore, a fabric of Pluribus Networks switches does not use STP within the boundaries of the fabric. The use of STP is recommended for ad hoc networks that interoperate in a heterogeneous, multi-vendor switch environment. Use this command to enable or disable STP on the network.

Examples  To display STP port state information, use the following command:

CLI (network-admin@switch) > stp-port-state-show