Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

show spanning-tree 0

Display the spanning tree group configuration and status of interfaces in the spanning tree group.

Syntax
show spanning-tree 0 [active | brief | guard | interface interface | root | summary]
Parameters
0
Enter 0 (zero) to display information about that specific spanning tree group.
active
(OPTIONAL) Enter the keyword active to display only active interfaces in spanning tree group 0.
brief
(OPTIONAL) Enter the keyword brief to display a synopsis of the spanning tree group configuration information.
guard
(OPTIONAL) Enter the keyword guard to display the type of guard enabled on an STP interface and the current port state.
interface interface
(OPTIONAL) Enter the keyword interface and the type slot/port of the interface you want displayed. Type slot/port options are the following:
  • For a port-channel interface, enter the keywords port-channel then the port-channel ID.
  • For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port[/subport] information.
  • For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
root
(OPTIONAL) Enter the keyword root to display configuration information on the spanning tree group root.
summary
(OPTIONAL) Enter the keyword summary to only the number of ports in the spanning tree group and their state.
Command Modes
EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100–ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.5.1.0
Added support for 4-port 40G line cards on the E-Series.
8.4.2.1
Added support for the optional guard keyword on the C-Series, S-Series, and E-Series.
8.3.7.0
Introduced on the S4810.
7.7.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
6.2.1.1
Introduced on the E-Series.
Usage Information
Enable spanning tree group 0 prior to using this command.

The following describes the show spanning-tree 0 command shown in the example.

Field
Description
“Bridge Identifier...”
Lists the bridge priority and the MAC address for this STP bridge.
“Configured hello...”
Displays the settings for hello time, max age, and forward delay.
“We are...”
States whether this bridge is the root bridge for the STG.
“Current root...”
Lists the bridge priority and MAC address for the root bridge.
“Topology flag...”
States whether the topology flag and the detected flag were set.
“Number of...”
Displays the number of topology changes, the time of the last topology change, and on what interface the topology change occurred.
“Timers”
Lists the values for the following bridge timers: hold time, topology change, hello time, max age, and forward delay.
“Times”
List the number of seconds since the last:
  • hello time
  • topology change
  • notification
  • aging
“Port 1...”
Displays the Interface type slot/port information and the status of the interface (Disabled or Enabled).
“Port path...”
Displays the path cost, priority, and identifier for the interface.
“Designated root...”
Displays the priority and MAC address of the root bridge of the STG that the interface belongs.
“Designated port...”
Displays the designated port ID.
Example
DellEMC# show spann 0

Executing IEEE compatible Spanning Tree Protocol
 Bridge Identifier has priority 32768, Address 0001.e800.0a56
 Configured hello time 2, max age 20, forward delay 15
 We are the root of the spanning tree
 Current root has priority 32768 address 0001.e800.0a56
 Topology change flag set, detected flag set
 Number of topology changes 1 last change occurred 0:00:05 ago
   from TenGigabitEthernet 1/3
 Timers:hold 1, topology change 35
        hello 2, max age 20, forward_delay 15
 Times:hello 1, topology change 1, notification 0, aging 2

Port 26 (TenGigabitEthernet 1/1) is Forwarding
 Port path cost 4, Port priority 8, Port Identifier 8.26
 Designated root has priority 32768, address 0001.e800.0a56
 Designated bridge has priority 32768, address 0001.e800.0a56
 Designated port id is 8.26, designated path cost 0
 Timers: message age 0, forward_delay 0, hold 0
 Number of transitions to forwarding state 1
 BPDU: sent:18, received 0
 The port is not in the portfast mode

Port 27 (TenGigabitEthernet 1/2) is Forwarding
 Port path cost 4, Port priority 8, Port Identifier 8.27
 Designated root has priority 32768, address 0001.e800.0a56
 Designated bridge has priority 32768, address 0001.e800.0a56
 Designated port id is 8.27, designated path cost 0
 Timers: message age 0, forward_delay 0, hold 0
 Number of transitions to forwarding state 1
 BPDU: sent:18, received 0
 The port is not in the portfast mode

Port 28 (TenGigabitEthernet 1/3) is Forwarding
 Port path cost 4, Port priority 8, Port Identifier 8.28
 Designated root has priority 32768, address 0001.e800.0a56
 Designated bridge has priority 32768, address 0001.e800.0a56
 Designated port id is 8.28, designated path cost 0
 Timers: message age 0, forward_delay 0, hold 0
 Number of transitions to forwarding state 1
 BPDU: sent:31, received 0
 The port is not in the portfast mode

DellEMC#
Example (Brief)
DellEMC# show span 0 brief
  Executing IEEE compatible Spanning Tree Protocol
    Root ID Priority 32768
      Address 0001.e800.0a56
    Root Bridge hello time 2, max age 20, forward delay 15
    Bridge ID Priority 32768,
      Address 0001.e800.0a56
    Configured hello time 2, max age 20, forward delay 15
Interface                        Designated
Name   PortID Prio Cost Sts Cost Bridge ID            PortID
-------------- ------ ---- ---- --- ----- ------------------
Te 1/1 8.26   8   4     FWD 0    32768 0001.e800.0a56 8.26
Te 1/2 8.27   8   4     FWD 0    32768 0001.e800.0a56 8.27
Te 1/3 8.28   8   4     FWD 0    32768 0001.e800.0a56 8.28
DellEMC#
Usage Information
The following describes the show spanning-tree 0 guard command shown in the example.
Field
Description
Interface Name
STP interface.
Instance
STP 0 instance.
Sts
Port state: root-inconsistent (INCON Root), forwarding (FWD), listening (LIS), blocking (BLK), or shut down (EDS Shut).
Guard Type
Type of STP guard configured (Root, Loop, or BPDU guard).
Example (Guard)
DellEMC#show spanning-tree 0 guard
Interface
Name      Instance   Sts         Guard type
--------  --------  ---------    ----------
Te 1/1      0       INCON(Root)  Rootguard
Te 1/2      0       LIS          Loopguard
Te 1/3      0       EDS (Shut)   Bpduguard

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\