cisco — (Optional) Configuring the Device Priority

Procedure The show spanning-tree mst interface interface-id privileged EXEC command displays information only for ports that are in a link-up operative state. Otherwise, you can use the show running-config privileged EXEC command to confirm the configuration. (Optional) Configuring the Device Priority Changing the priority of a device makes it more likely to be chosen as the root switch whether it is a standalone switch or a switch in the stack. Configuring Multiple Spanning-Tree Protocol (Optional) Configuring the Device Priority Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example:

Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example: Device(config)# interface gigabitethernet 1/0/1 Specifies an interface to configure, and enters interface configuration mode. Valid interfaces include physical ports and port-channel logical interfaces. The port-channel range is 1 to 48. Step 4 spanning-tree mst instance-id cost cost Example: Device(config-if)# spanning-tree mst 0 cost 17031970 Configures the cost. If a loop occurs, the MSTP uses the path cost when selecting an interface to place into the forwarding state. A lower path cost represents higher-speed transmission.

• For instance-id, you can specify a single instance, a range of instances separated by a hyphen, or a series of instances separated by a comma. The range is 0 to 4094. • For cost, the range is 1 to 200000000; the default value is derived from the media speed of the interface. Step 5 end Example: Device(config-if)# end Returns to privileged EXEC mode. Configuring Multiple Spanning-Tree Protocol 21