Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show spanning-tree interface

Syntax

Syntax (EX Series Switches and QFX Series Switches)

Syntax (EX Series Switches)

Description

Display the configured or calculated interface-level spanning-tree protocol (can be either STP, RSTP, or MSTP) parameters. In brief mode, will not display interfaces that are administratively disabled or do not have a physical link.

Options

none

Display brief STP interface information.

brief | detail

(Optional) Display the specified level of output.

interface-name interface-name

(Optional) Name of an interface.

msti msti-id

(Optional) Display STP interface information for the specified MST instance.

routing-instance routing-instance-name

(Optional) Display STP interface information for the specified routing instance.

vlan-id vlan-id

(Optional) Display STP interface information for the specified VLAN.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show spanning-tree interface command. Output fields are listed in the approximate order in which they appear.

Table 1: show spanning-tree Interface Output Fields

Field Name

Field Description

Interface name

Interface configured to participate in the STP, RSTP, VSTP, or MSTP instance.

Port ID

Logical interface identifier configured to participate in the MSTP or VSTP instance.

Designated port ID

Port ID of the designated port for the LAN segment to which this interface is attached.

Designated bridge ID

Bridge ID of the designated bridge for the LAN segment to which this interface is attached.

Port Cost

Configured cost for the interface.

Port State

STP port state: forwarding (FWD), blocking (BLK), listening, learning, or disabled.

Port Role

MSTP, VSTP, or RSTP port role: designated (DESG), backup (BKUP), alternate (ALT), (ROOT), or Root Prevented (Root-Prev).

Link type

MSTP, VSTP, or RSTP link type. Shared or point-to-point (pt-pt) and edge or nonedge.

Alternate

Identifies the interface as an MSTP, VSTP, or RSTP alternate root port (Yes) or nonalternate root port (No).

Boundary Port

Identifies the interface as an MSTP regional boundary port (Yes) or nonboundary port (No).

Edge delay while expiry count

Number of times the edge delay timer expired on that interface.

Rcvd info while expiry count

Number of times the rcvd info timer expired on that interface.

Sample Output

show spanning-tree interface

show spanning-tree interface (QFX Series)

show spanning-tree interface (EX Series)

show spanning-tree interface detail

show spanning-tree interface detail (EX Series)

show spanning-tree interface msti

show spanning-tree interface vlan-id

show spanning-tree interface (VSTP)

show spanning-tree interface vlan-id (VSTP)

show spanning-tree interface brief (EX Series)

show spanning-tree interface ge-1/0/0 (EX Series)

Release Information

Command introduced in Junos OS Release 8.4.