Displays the STP configuration of the ports assigned to a specific VLAN.
vlan_name | Specifies a VLAN name. |
vlan_list | Specifies a VLAN list of IDs. |
N/A.
If you have a VLAN that spans multiple STPDs, use this command to display the STP configuration of the ports assigned to that specific VLAN.
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.
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
This command was first available in ExtremeXOS 10.1.
The vlan_list variable was added in ExtremeXOS 16.1.
This command is available on all Universal switches supported in this document.