show spanning-tree vlan

This command displays spanning tree information per VLAN and also lists out the port roles and states along with port cost. The vlan-list parameter is a list of VLANs or VLAN-ranges separated by commas and with no embedded blank spaces. VLAN ranges are of the form "X-Y" where X and Y are valid VLAN identifiers and X<Y. The vlanid corresponds to an existing VLAN ID.

Format show spanning-tree vlan {vlanid | vlan-list}
Mode
  • Privileged EXEC
  • User EXEC

Example: The following shows example CLI display output for the command.

(Routing) show spanning-tree vlan 1

VLAN    1
          Spanning-tree enabled protocol rpvst
          RootID    Priority        32769
           Address         00:0C:29:D3:80:EA
           Cost            0
           Port            This switch is the root
           Hello Time 2 Sec Max Age 15 sec Forward Delay 15 sec
 BridgeID  Priority        32769 (priority 32768 sys-id-ext 1)
           Address         00:0C:29:D3:80:EA
           Hello Time 2 Sec Max Age 15 sec Forward Delay 15 sec
           Aging Time 300
Interface  Role        Sts            Cost       Prio.Nbr
---------  ----------  -------------  ---------  --------
1/0/1      Designated  Forwarding     3000       128.1
1/0/2      Designated  Forwarding     3000       128.2
1/0/3      Disabled    Disabled       3000       128.3
1/0/4      Designated  Forwarding     3000       128.4
1/0/5      Designated  Forwarding     3000       128.5
1/0/6      Designated  Forwarding     3000       128.6
1/0/7      Designated  Forwarding     3000       128.7
1/0/8      Designated  Forwarding     3000       128.8
0/1/1      Disabled    Disabled       3000       128.1026
0/1/2      Disabled    Disabled       3000       128.1027
0/1/3      Disabled    Disabled       3000       128.1028
0/1/4      Disabled    Disabled       3000       128.1029
0/1/5      Disabled    Disabled       3000       128.1030
0/1/6      Disabled    Disabled       3000       128.1031

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo