Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
344
show spanning-tree
show spanning-tree [detail | interface <type> <number>]
Displays spanning tree information.
Syntax Description detail Displays detailed spanning-tree configuration and sta-
tistics.
interface <type> <num-
ber>
Displays the running state for a specific interface.
Options for “type”: ethernet or port-channel.
Options for “number”: <slot/port> or <number>.
Default N/A
Modes/Context Any Command Mode
History 3.1.0000
Role admin
Example
switch (config) # show spanning-tree
Switch ethernet-default
Spanning tree protocol is enabled rstp
Spanning tree force version:2
Root ID
Priority 32768
Address 00:02:c9:5c:61:70
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID
Priority 32768
Address 00:02:c9:5c:61:70
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Role Sts Cost Prio Type
---- ---- ----- ---- ---- ----
switch (config) #
Related Commands clear spanning-tree counters
spanning-tree
Note