S
PANNING
TREE
COMMANDS
3-91bridge-group path-costUse this command to configure the spanning tree path cost for the
specified interface. Use the no form to restore the default.
Syntax
bridge-group bridge-group path-cost cost
no bridge-group bridge-group path-cost
•bridge-group - Bridge group index (bridge 1.)
•cost - The path cost for the port. (Range: 1-65535)
• The r ecommended range is -
- Ethernet: 50-600
- Fast Ethernet: 10-60
- Gigabit Ethernet: 3-10
Default Setting
• Ethernet – half duplex: 100; full duplex: 95; trunk: 90
• Fast Ethernet – half duplex: 19; full duplex: 18; trunk: 15
• Gigabit Ethernet – full duplex: 4; trunk: 3
Command Mode
Interface Configuration (Ethernet, Port Channel)
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
Console(config)#interface ethernet 1/5
Console(config-if)#bridge-group 1 path-cost 50
Console(config-if)#