356 Spanning-Tree Commandsspanning-tree mst port-priorityThe spanning-tree mst port-priority Interface Configuration mode command configures port priority forthe 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 SettingThe default port priority for IEEE Multiple Spanning Tree Protocol (MSTP) is 128.Command ModesInterface Configuration (Ethernet, port-channel) mode.User Guidlines• There are no user guidelines for this command.ExampleThe following example configures the port priority of port g1 to 142.spanning-tree mst costThe spanning-tree mst cost Interface Configuration mode command configures the path cost formultiple spanning tree (MST) calculations. If a loop occurs, the spanning tree considers path cost whenselecting an interface to put in the forwarding state. Use the no form of this command to return to thedefault 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 g1Console(config-if)# spanning-tree mst 1 port-priority 1425400_CLI.book Page 356 Wednesday, December 17, 2008 4:33 PM