Command Reference Guide
Spanning Tree Protocol Commands
CLI Command Reference
September 2014 Page 284
HP Moonshot Switch Module CLI Command Reference
spanning-tree mst vlan
This command adds an association between a multiple spanning tree instance and one or more VLANs so that
the VLAN(s) are no longer associated with the common and internal spanning tree. The parameter
mstid is a
multiple spanning tree instance identifier, in the range of 0 to 4094, that corresponds to the desired existing
multiple spanning tree instance. The
vlanid can be specified as a single VLAN, a list, or a range of values. To
specify a list of VLANs, enter a list of VLAN IDs in the range 1 to 4093, each separated by a comma with no
spaces in between. To specify a range of VLANs, separate the beginning and ending VLAN ID with a dash (-).
Spaces and zeros are not permitted. The VLAN IDs may or may not exist in the system.
no spanning-tree mst vlan
This command removes an association between a multiple spanning tree instance and one or more VLANs so
that the VLAN(s) are again associated with the common and internal spanning tree.
spanning-tree port mode
This command sets the Administrative Switch Port State for this port to enabled for use by spanning tree.
no spanning-tree port mode
This command sets the Administrative Switch Port State for this port to disabled, disabling the port for use by
spanning tree.
spanning-tree port mode all
This command sets the Administrative Switch Port State for all ports to enabled.
Format
spanning-tree mst vlan mstid vlanid
Mode Global Config
Format
no spanning-tree mst vlan mstid vlanid
Mode Global Config
Default enabled
Format
spanning-tree port mode
Mode Interface Config
Format
no spanning-tree port mode
Mode Interface Config
Default enabled
Format
spanning-tree port mode all
Mode Global Config