CLI Commands: Switching
422
5.1
Spanning Tree Commands
CLI L2P
Release
7.0
05/2011
5.1.24 spanning-tree mst
This command sets the Path Cost or Port Priority for this port within the mul-
tiple spanning tree instance or in the common and internal spanning tree. If
the <mstid> parameter corresponds to an existing multiple spanning tree in-
stance, then the configurations are done for that multiple spanning tree in-
stance. If however 0 (defined as the default CIST ID) is passed as the
<mstid>, then the configurations are performed for the common and internal
spanning tree instance.
This command accepts the value 0 for the mstid, meaning the common and
internal spanning tree.
If the ‘cost’ token is specified, this command sets the path cost for this port
within a multiple spanning tree instance or the common and internal span-
ning tree instance, depending on the <mstid> parameter. The pathcost can
be specified as a number in the range of 1 to 200000000 or auto. If "auto" is
specified, the pathcost value will be set based on Link Speed.
If the ‘port-priority’ token is specified, this command sets the priority for this
port within a specific multiple spanning tree instance or the common and in-
ternal spanning tree instance, depending on the <mstid> parameter. The
port-priority value is a number in the range of 0 to 240 in increments of 16.
Default
cost : auto; external-cost : auto;
port-priority : 128
Format
spanning-tree mst <mstid>
{{cost <1-200000000> | auto } |
{external-cost <1-200000000> | auto } |
port-priority <0-240>}
Mode
Interface Config
U no spanning-tree mst
This command sets the Path Cost or Port Priority for this port within the
multiple spanning tree instance or in the common and internal spanning
tree to the respective default values. If the <mstid> parameter corre-
sponds to an existing multiple spanning tree instance, then the configura-
tions are done for that multiple spanning tree instance. If however 0