Chapter 42
Configuring Fallback Bridging
Switch(config)# bridge 10 priority 100
Changing the Interface Priority
You can change the priority for a port. When two switches tie for position as the root switch, you
configure a port priority to break the tie. The switch with the lowest interface value is elected.
Beginning in privileged EXEC mode, follow these steps to change the interface priority. This procedure
is optional.
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
bridge-group bridge-group priority
number
Step 4
end
Step 5
show running-config
Step 6
copy running-config startup-config
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 Mbps.
Beginning in privileged EXEC mode, follow these steps to assign a path cost. This procedure is optional.
Command
Step 1
configure terminal
Step 2
interface interface-id
OL-8550-02
Purpose
Enter global configuration mode.
Specify the interface to set the priority, and enter interface
configuration mode.
Change the priority of a port.
For bridge-group, specify the bridge group number. The range is 1
•
to 255.
For number, enter a number from 0 to 255 in increments of 4. The
•
lower the number, the more likely that the port on the switch will
be chosen as the root. The default is 128.
Return to privileged EXEC mode.
Verify your entry.
(Optional) Save your entry in the configuration file.
Purpose
Enter global configuration mode.
Specify the port to set the path cost, and enter interface configuration
mode.
Catalyst 3750 Switch Software Configuration Guide
Configuring Fallback Bridging
42-7