S
PANNING
T
REE
C
OMMANDS
3-89
Command Usage
This command is used by the spanning-tree algorithm to determine the
best path between devices. Therefore, lower values should be assigned
to ports attached to faster media, and higher values assigned to ports
with slower media.
Path cost takes precedence over port priority.
Example
bridge-group priority
Use this command to configure the priority for the specified port. Use the
no form to restore the default.
Syntax
bridge-group bridge-group priority priority
no bridge-group bridge-group priority
bridge-group - Bridge group index (bridge 1).
priority - The priority for a port. (Range: 0-255)
Default Setting
128
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
This command defines the priority for the use of a port in the
spanning-tree algorithm. If the path cost for all ports on a switch are
the same, the port with the highest priority (that is, lowest value) will be
configured as an active link in the spanning tree.
Where more than one port is assigned the highest priority , the port with
lowest numeric identifier will be enabled.
Console(config)#interface ethernet 1/5
Console(config-if)#bridge-group 1 path-cost 50
Console(config-if)#