show vlan stpd

show [ {vlan} vlan_name | vlan vlan_list] stpd {blocked-ports}

Description

Displays the STP (Spanning Tree Protocol) configuration of the ports assigned to a specific VLAN (Virtual LAN).

Syntax Description

vlan_name Specifies a VLAN name.
vlan_list Specifies a VLAN list of IDs.

Default

N/A.

Usage Guidelines

If you have a VLAN that spans multiple STPD (Spanning Tree Domain)s, use this command to display the STP configuration of the ports assigned to that specific VLAN.

This command displays the following:
  • STPD port configuration.
  • STPD port mode of operation.
  • STPD path cost.
  • STPD priority.
  • STPD state (root bridge, etc.).
  • Port role (root designated, alternate etc.).
  • STPD port state (forwarding, blocking, etc.).
  • Configured port link type.
  • Operational port link type.

If your VLAN has the same name as another component, for example an STPD, Extreme Networks recommends that you specify the identifying keyword as well as the name. If you do not specify the vlan keyword, the switch displays an error message similar to the following:

%% Ambiguous command: "show Test stpd" 

In this example, to view the STPD state of VLAN Test, enter show vlan Test stpd.

If you enter a VLAN name that is not associated with an STPD or does not exist, the switch displays an error message similar to the following:

Failed to find vlan 'vlan1' or it has no STP domains configured on it 

If this happens, check to make sure you typed the correct name of the VLAN and that the VLAN is associated with an STPD.

If your VLAN has a name unique only to that VLAN, the keyword vlan is optional.

Example

The following sample output displays the spanning tree configurations for the VLAN Default:

#show vlan default stpd
s0(enabled)  Tag: (none)  Ports: 8 Root/P/C: 80:00:00:01:30:94:79:00/-----/0
Port   Mode   State      Cost   Flags   Priority Port ID Designated Bridge
1:1    802.1D LEARNING   19     eDbb-d- 16       8001    80:00:00:01:30:94:79:00
1:2    802.1D DISABLED   4      e------ 16       8002    00:00:00:00:00:00:00:00
1:3    802.1D DISABLED   4      e------ 16       8003    00:00:00:00:00:00:00:00
1:4    802.1D LEARNING   4      eDbb-d- 16       8004    80:00:00:01:30:94:79:00
1:5    802.1D LEARNING   4      eDbb-d- 16       8005    80:00:00:01:30:94:79:00
1:6    802.1D DISABLED   4      e------ 16       8006    00:00:00:00:00:00:00:00
1:7    802.1D DISABLED   4      e------ 16       8007    00:00:00:00:00:00:00:00
1:8    802.1D DISABLED   4      e------ 16       8008    00:00:00:00:00:00:00:00
------------------------- Flags: ----------------------------
1:                e=Enable, d=Disable
2: (Port role)    R=Root, D=Designated, A=Alternate, B=Backup, M=Master, Y=Boundary
3: (Config type)  b=broadcast, p=point-to-point, e=edge, a=auto
4: (Oper. type)   b=broadcast, p=point-to-point, e=edge
5:                p=proposing, a=agree
6: (partner mode) d=802.1d, w=802.1w, m=mstp
7:                i=edgeport inconsistency
8:                B = Boundary, I = Internal

History

This command was first available in ExtremeXOS 10.1.

The vlan_list variable was added in ExtremeXOS 16.1.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.