external-cost (MSTAG/REPAG)
To set the external path cost on the current port, use the external-cost command in MSTAG interface or
REPAG interface configuration submode.
external-cost cost [startup-value startup-cost]
Syntax Description
Interface external path 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 external path cost.
startup-cost
Command Default
If no startup-value is configured, the startup value defaults to 200000000.
Command Modes
MSTAG interface configuration, REPAG Interface Configuration
Command History
ModificationRelease
This command was introduced.Release 3.9.0
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 external cost that it advertised in
STP BPDUs sent from this interface.
Task ID
OperationsTask ID
read, writeinterface
Examples
The following example shows how to set the external cost to 10000:
RP/0/RSP0/CPU0:router(config-mstag-if)# external-cost 10000
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
497
Multiple Spanning Tree Protocol Commands
external-cost (MSTAG/REPAG)