Configuring IS-IS Link Cost
The IS-IS cost of an interface is determined in the following order:
ISIS cost specified in interface view.
ISIS cost specified in system view. The cost is applied to the interfaces associated to the IS-IS
process.
Automatically calculated cost: When the cost style is wide or wide-compatible, IS-IS
automatically calculates the cost using the formula: interface cost= (bandwidth reference
value/interface bandwidth) ×10. When the cost style is some other type: if the interface bandwidth
does not exceed 10 Mbps, the interface cost equals 60; if the interface bandwidth does not exceed
100 Mbps, the interface cost equals 50; if the interface bandwidth does not exceed 155 Mbps, the
interface cost equals 40; if the interface bandwidth does not exceed 622 Mbps, the interface cost
equals 30; if the interface bandwidth does not exceed 2500 Mbps, the interface cost equals 20; if
the interface bandwidth exceeds 2500 Mbps, the interface cost equals 10.
If none of the above costs is used, a default cost of 10 applies.
Configuring an IS-IS cost for an interface
Follow these steps to configure a cost for an interface:
To do...
Enter system view
Enter IS-IS view
Specify an IS-IS cost style
Return to system view
Enter interface view
Specify a cost for the
interface
Configuring a global IS-IS cost
Follow these steps to configure a global IS-IS cost:
To do...
Enter system view
Enter IS-IS view
Specify an IS-IS cost
style
Specify a global IS-IS
cost
Use the command...
system-view
isis [ process-id ] [ vpn-instance
vpn-instance-name ]
cost-style { narrow | wide |
wide-compatible | { compatible |
narrow-compatible } [ relax-spf-limit ] }
quit
interface interface-type
interface-number
isis cost value [ level-1 | level-2 ]
Use the command...
system-view
isis [ process-id ] [ vpn-instance
vpn-instance-name ]
cost-style { narrow | wide | wide-compatible
| { compatible | narrow-compatible }
[ relax-spf-limit ] }
circuit-cost value [ level-1 | level-2 ]
1-18
Remarks
––
––
Optional
narrow by default
––
––
Optional
No cost is specified for
the interface by default.
Remarks
—
—
Optional
narrow by default
Required
No global cost is
specified by default.