Command Reference Guide

Spanning Tree Protocol Commands
CLI Command Reference
September 2014 Page 294
HP Moonshot Switch Module CLI Command Reference
show spanning-tree mst port summary
This command displays the settings of one or all ports within the specified multiple spanning tree instance. The
parameter
mstid indicates a particular MST instance. The parameter {unit/slot/port|all} indicates the
desired switch port or all ports. Instead of
unit/slot/port, lag lag-intf-num can be used as an alternate way
to specify the LAG interface.
lag lag-intf-num can also be used to specify the LAG interface where lag-intf-
num
is the LAG port number.
If you specify 0 (defined as the default CIST ID) as the
mstid, the status summary displays for one or all ports
within the common and internal spanning tree.
Example: The following shows example CLI display output for the command in unit/slot/port format.
(Routing) >show spanning-tree mst port summary 0 1/0/1
MST Instance ID................................ CST
STP STP Port
Interface Mode Type State Role Desc
--------- -------- ------- ----------------- ---------- ----------
1/0/1 Enabled Disabled Disabled
Example: The following shows example CLI display output for the command using a LAG interface number.
(Routing) >show spanning-tree mst port summary 0 lag 1
MST Instance ID................................ CST
STP STP Port
Interface Mode Type State Role Desc
--------- -------- ------- ----------------- ---------- ----------
0/3/1 Enabled Disabled Disabled
Format
show spanning-tree mst port summary mstid {unit/slot/port |lag lag-intf-num| all}
Mode •Privileged EXEC
User EXEC
Term Definition
MST Instance ID The MST instance associated with this port.
Interface unit/slot/port
STP Mode Indicates whether spanning tree is enabled or disabled on the port.
Type Currently not used.
STP State The forwarding state of the port in the specified spanning tree instance.
Port Role The role of the specified port within the spanning tree.
Desc Indicates whether the port is in loop inconsistent state or not. This field is blank if the loop
guard feature is not available.