46-6
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 46 Configuring Fallback Bridging
Configuring Fallback Bridging
To return to the default setting, use the no bridge bridge-group priority global configuration command.
To change the priority on a port, use the bridge-group priority interface configuration command
(described in the next section).
This example shows how to set the switch priority to 100 for bridge group 10:
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.
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 gigabitethernet0/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.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Specify the interface to set the priority, and enter interface
configuration mode.
Step 3 bridge-group bridge-group priority
number
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.
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.
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.