circuit-cost
Use circuit-cost to set a global SPBM link metric value.
Use undo circuit-cost to restore the default.
Syntax
circuit-cost cost-value
undo circuit-cost
Default
No global SPBM link metric value is set.
Views
SPBM view
Predefined user roles
network-admin
Parameters
cost-value: Specifies a link metric value in the range of 1 to 16777215.
Usage guidelines
To assign a link metric value to an interface, use one of the following methods:
Set an interface-specific value in interface view.
Set a global value in SPBM view. This global value applies to all SPBM-enabled interfaces.
Set a bandwidth reference for the system to calculate a value automatically for the interface.
The system chooses a link metric value for an interface in order of interface-specific value, global value, and autocalculated value.
Examples
# Set the global SPBM link metric value to 11.
<Sysname> system-view [Sysname] spbm [Sysname-spbm] circuit-cost 11
Related commands
bandwidth-reference
spbm cost