cost
To set the internal path cost for a given instance on the current port, use the cost command in MSTAG interface
instance or REPAG interface instance configuration submode.
cost cost [startup-value startup-cost]
Syntax Description
Port cost. Range is 1 to 200000000.
cost
Specifies an alternate value to use when the interface first comes up, while
the preempt delay timer is running.
startup-value
Sets the startup internal path cost.
startup-id
Command Default
If the startup value is not specified, it defaults to 200000000.
Command Modes
MSTAG interface instance configuration, REPAG Instance Configuration
Command History
ModificationRelease
This command was introduced.Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
This command is used when configuring Access Gateway, to change the cost value that is advertised for this
MSTI in the STP BPDUs.
MSTP cost for bundle interfaces is fixed to 10000 and does not depend on the number of interfaces and
the speed of individual members.
Note
Task ID
OperationsTask ID
read, writeinterface
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
473
Multiple Spanning Tree Protocol Commands
cost