356 Spanning-Tree Commands
spanning-tree mst port-priority
The spanning-tree mst port-priority Interface Configuration mode command configures port priority for
the specified MST instance. Use the no form of this command to return to the default configuration.
Syntax
•
spanning-tree mst
instance-id
port-priority
priority
•
no spanning-tree mst
instance-id
port-priority
•
instance-ID —
ID of the spanning tree instance. (Range: 1 - 15)
•
priority —
The port priority. (Range: 0 - 240 in multiples of 16)
Default Setting
The default port priority for IEEE Multiple Spanning Tree Protocol (MSTP) is 128.
Command Modes
Interface Configuration (Ethernet, port-channel) mode.
User Guidlines
• There are no user guidelines for this command.
Example
The following example configures the port priority of port g1 to 142.
spanning-tree mst cost
The spanning-tree mst cost Interface Configuration mode command configures the path cost for
multiple spanning tree (MST) calculations. If a loop occurs, the spanning tree considers path cost when
selecting an interface to put in the forwarding state. Use the no form of this command to return to the
default configuration.
Syntax
•
spanning-tree mst
instance-id
cost
cost
•
no spanning-tree mst
instance-id
cost
•
instance-ID —
ID of the spanning -tree instance. (Range: 1 - 15)
•
cost —
The port path cost. (Range: 1 - 200,000,000)
Console(config)# interface ethernet g1
Console(config-if)# spanning-tree mst 1 port-priority 142
5400_CLI.book Page 356 Wednesday, December 17, 2008 4:33 PM