Foundry Configuration Guide for the FESX, FSX, and FWSX
7 - 12 © Foundry Networks, Inc. December 2005
Displaying the STP State of a Port-Based VLAN
When you display information for a port-based VLAN, that information includes the STP state of the VLAN.
To display information for a port-based VLAN, enter a command such as the following at any level of the CLI. The
STP state is shown in bold type in this example.
Syntax: show vlans [<vlan-id> | ethernet [<slotnum>/]<portnum>
The <vlan-id> parameter specifies a VLAN for which you want to display the configuration information.
The <portnum> parameter specifies a port. If you use this parameter, the command lists all the VLAN
memberships for the port. If you use this command on a chassis device, specify the slot number as well as the
port number (<slotnum>/]<portnum>).
Displaying Detailed STP Information for Each Interface
To display the detailed STP information, enter the following command at any level of the CLI:
If a port is disabled, the only information shown by this command is “DISABLED”. If a port is enabled, this display
shows the following information.
FastIron SuperX Router(config)# show vlans
Total PORT-VLAN entries: 2
Maximum PORT-VLAN entries: 16
legend: [S=Slot]
PORT-VLAN 1, Name DEFAULT-VLAN, Priority level0, Spanning tree On
Untagged Ports: (S3) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Untagged Ports: (S3) 17 18 19 20 21 22 23 24
Untagged Ports: (S4) 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Untagged Ports: (S4) 18 19 20 21 22 23 24
Tagged Ports: None
Uplink Ports: None
PORT-VLAN 2, Name greenwell, Priority level0, Spanning tree Off
Untagged Ports: (S1) 1 2 3 4 5 6 7 8
Untagged Ports: (S4) 1
Tagged Ports: None
Uplink Ports: None
FastIron SuperX Router# show span detail
======================================================================
VLAN 1 - MULTIPLE SPANNING TREE (MSTP) ACTIVE
======================================================================
Bridge identifier - 0x800000e0804d4a00
Active global timers - Hello: 0
Port 1/1 is FORWARDING
Port - Path cost: 19, Priority: 128, Root: 0x800000e052a9bb00
Designated - Bridge: 0x800000e052a9bb00, Interface: 1, Path cost: 0
Active Timers - None
BPDUs - Sent: 11, Received: 0
Port 1/2 is DISABLED
Port 1/3 is DISABLED
Port 1/4 is DISABLED
<lines for remaining ports excluded for brevity>