50-7
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 50 Configuring Fallback Bridging Configuring Fallback Bridging
To return to the default setting, use the no bridge-group bridge-group priority interface configuration
command.
This example shows how to change the priority to 20 on a port in bridge group 10:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# bridge-group 10 priority 20
Assigning a Path Cost
Each port has a path cost associated with it. By convention, the path cost is 1000/data rate of the attached
LAN, in Mb/s.
Beginning in privileged EXEC mode, follow these steps to assign a path cost. This procedure is optional.
To return to the default path cost, use the no bridge-group bridge-group path-cost interface
configuration command.
This example shows how to change the path cost to 20 on a port in bridge group 10:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# bridge-group 10 path-cost 20
Adjusting BPDU Intervals
Adjusting the Interval between Hello BPDUs, page 50-8 (optional)
Changing the Forward-Delay Interval, page 50-8 (optional)
Changing the Maximum-Idle Interval, page 50-9 (optional)
Step 5 show running-config Verify your entry.
Step 6 copy running-config startup-config (Optional) Save your entry in the configuration file.
Command Purpose
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Specify the port to set the path cost, and enter interface configuration
mode.
Step 3 bridge-group bridge-group path-cost
cost Assign the path cost of a port.
For bridge-group, specify the bridge group number. The range is 1
to 255.
For cost, enter a number from 0 to 65535. The higher the value, the
higher the cost.
For 10 Mb/s, the default path cost is 100.
For 100 Mb/s, the default path cost is 19.
For 1000 Mb/s, the default path cost is 4.
Step 4 end Return to privileged EXEC mode.
Step 5 show running-config Verify your entry.
Step 6 copy running-config startup-config (Optional) Save your entry in the configuration file.