Users Guide

Layer 2 Switching Commands 818
The default configuration is:
Ethernet (10 Mbps) — 2,000,000
Fast Ethernet (100 Mbps) — 200,000
Gigabit Ethernet (1000 Mbps) — 20,000
Port-Channel — 20,000
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet,
fortygigabitethernet) mode
User Guidelines
Use the spanning-tree cost command to configure MST instance 0 (the
common spanning tree instance). Use the show spanning-tree active
command to display the spanning tree costs.
Example
The following example configures the MSTP instance 1 path cost for Gigabit
Ethernet interface 1/0/9 to 4.
console(config)#interface gigabitethernet 1/0/9
console(config-if-Gi1/0/9)#spanning-tree mst 1 cost 4
spanning-tree mst port-priority
Use the spanning-tree mst port-priority command in Interface Configuration
mode to configure port priority. To return to the default port priority, use the
no form of this command.
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-4094)
priority—The port priority. (Range: 0-240 in multiples of 16.)