stp-state-show

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

Syntax   step-state-show

vlan vlan-id

Displays the VLAN identifier for the STP instance.

ports port-list

Displays STP ports.

instance-id instance-id-number 

Displays the STP instance ID.

name name-string

Specifies the name of the Spanning Tree Group (STG) for the STP instance.

bridge-id mac-address

Specifies the MAC address of the bridge switch.

bridge-priority bridge-priority-
number

Specifies the priority for the bridge switch.

root-id mac-address

Specifies the MAC address of the root switch.

root-priority root-priority-number

Specifies the priority for the root switch.

root-port root-port-number

Specifies the root port for STP.

root-port(peer) root-port(peer)-number

Specifies the peer root port for STP.

hello-time hello-time-number

Specifies the interval, in seconds, between the generation of configuration messages by the root switch.

forwarding-delay forwarding-delay-
number

Specifies the number of seconds that the interface waits before changing from its spanning-tree learning and listening states to the forwarding state.

max-age max-age-number]

Specifies the amount of time that the switch stores protocol information received on an interface.

internal|no-internal

Specifies if it is an internal port.

[peer|no-peer]

Specifies if it is a peer port or not.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.2

The parameter, blocking, removed, and edge, designated, alternate, backup, vlag-mirror, internal, and peer added to support RSTP.

Version 2.2.6

The parameter, root-port(peer), added.

Version 2.3

The following parameters are deprecated:

disabled

learning

forwarding

discarding

edge

designated

alternate

backup

vlag-mirror

Version 2.3.1

The parameter, ports, added.

Version 2.4.1

The parameter, instance-id, added.

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 information, use the following command:

CLI network-admin@switch > stp-state-show

switch:           pleiades25

vlan:             1

name:             stg-default-stg

bridge-id:        64:0e:94:18:00:8f

bridge-priority:  32769

root-id:          64:0e:94:18:00:8f

root-priority:    32769

root-port:        0

hello-time:       2

forwarding-delay: 15

max-age:          20

disabled:         none

learning:         none

forwarding:       12,56,65-66,255

discarding:       none

edge:             65-66

designated:       12,56,65-66,255

alternate:        none

backup:           none

vlag-mirror:      none

 

See Also   

stp-modify

stp-show

stp-port-modify

stp-port-show