Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
452
Mellanox Technologies Confidential
show spanning-tree
show spanning-tree [detail | interface {ethernet <slot>/<port> | port-channel
<port-channel>} | mst [<instance> interface {ethernet <slot>/<port> | port-
channel <port-channel>} | details | interface {ethernet <slot>/<port> | port-
channel <port-channel>}] | root]
Displays spanning-tree information for a switch.
Syntax Description detail Displays detailed spanning-tree information on a
switch.
interface {ethernet <slot>/
<port> | port-channel
<port-channel>}
Displays running state for the specified interface.
mst [<instance> interface
{ethernet <slot>/<port> |
port-channel <port-chan-
nel>} | details | interface
{ethernet <slot>/<port> |
port-channel <port-chan-
nel>}
Displays basic multi-spanning-tree information of a
specific switch or a specific interface.
root Displays root multi-spanning-tree information of a spe-
cific switch.
Default N/A
Configuration Mode Any Command Mode
History 3.3.4150
Role admin
Example
switch (config) # show spanning-tree root
Instance Priority MAC addr Root Cost Hello Time Max Age FWD Dly Root Port
------- ------ -------- --------- -------- -------- ------- --------
MST0 32768 00:02:c9:71:ed:40 500 2 20 15 Eth1/20
MST1 32768 00:02:c9:71:f0:c0 0 2 20 15 -
MST2 0 00:02:c9:71:f0:c0 0 2 20 15 -
MST3 32768 00:02:c9:71:f0:c0 0 2 20 15 -
switch (config) #
Related Commands
Note