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 are 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
Enable automatic IS-IS cost calculation
Follow these steps to enable automatic IS-IS cost calculation:
To do...
Enter system view
Enter IS-IS view
Specify an IS-IS cost style
Enable automatic IS-IS cost
calculation
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 ]
Use the command...
system-view
isis [ process-id ] [ vpn-instance
vpn-instance-name ]
cost-style { wide | wide-compatible }
auto-cost enable
147
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.
Remarks
—
—
Required
narrow by default
Required
Disabled by default