Configuring The Path Cost - Cisco ONS 15454 SDH Configuration Manual

Hide thumbs Also See for ONS 15454 SDH:
Table of Contents

Advertisement

Configuring the Path Cost

Command
Step 3
Router(config-if)# bridge-group
bridge-group-number priority-value
Step 4
Router(config-if)# end
To return the interface to its default setting, use the no bridge-group id bridge-group-number priority-
value command.
Configuring the Path Cost
The spanning-tree path cost default value is derived from the media speed of an interface. If a loop
occurs, spanning tree uses cost when selecting an interface to put in the forwarding state. You can assign
lower cost values to interfaces that you want selected first and higher cost values to interfaces that you
want selected last. If all interfaces have the same cost value, spanning tree puts the interface with the
lowest interface number in the forwarding state and blocks the other interfaces.
Beginning in privileged EXEC mode, follow these steps to configure the cost of an interface:
Command
Step 1
Router# configure terminal
Step 2
Router(config)# interface
interface-id
Step 3
Router(config-if)# bridge-group
bridge-group-number path-cost
cost
Step 4
Router(config-if)# end
Note
The show spanning-tree interface interface-id privileged EXEC command displays information only
for ports that are in a link-up operative state. Otherwise, you can use the show running-config privileged
EXEC command to confirm the configuration.
To return the interface to its default setting, use the no bridge-group bridge-group-number path-cost
cost command.
Cisco ONS 15454 and Cisco ONS 15454 SDH Ethernet Card Software Feature and Configuration Guide, R8.0
7-18
Purpose
Configures the port priority for an interface that is an
access port.
For the priority-value, the range is 0 to 255; the default is
128 in increments of 16. The lower the number, the higher
the priority.
Return to privileged EXEC mode.
Purpose
Enters the global configuration mode.
Enters the interface configuration mode and specifies an
interface to configure.
Valid interfaces include physical interfaces and port-channel
logical interfaces (port-channel port-channel-number).
Configures the cost for an interface that is an access port.
If a loop occurs, spanning tree uses the path cost when selecting
an interface to place into the forwarding state. A lower path cost
represents higher-speed transmission.
For cost, the range is 0 to 65535; the default value is derived
from the media speed of the interface.
Returns to the privileged EXEC mode.
Chapter 7 Configuring STP and RSTP

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ons 15454

Table of Contents