Assigning A Path Cost - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Chapter 34
Configuring Fallback Bridging
Command
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 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 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
Step 3
bridge-group bridge-group path-cost
cost
Step 4
end
Step 5
show running-config
Step 6
copy running-config startup-config
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 gigabitethernet0/1
Switch(config-if)# bridge-group 10 path-cost 20
78-16156-01
Purpose
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.
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 Mbps, the default path cost is 100.
For 100 Mbps, the default path cost is 19.
For 1000 Mbps, the default path cost is 4.
Return to privileged EXEC mode.
Verify your entry.
(Optional) Save your entry in the configuration file.
Catalyst 3560 Switch Software Configuration Guide
Configuring Fallback Bridging
34-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents