![H3C S5500-EI series Скачать руководство пользователя страница 165](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960165.webp)
148
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter IS-IS view
isis
[
process-id
] [
vpn-instance
vpn-instance-name
]
—
Specify an IS-IS cost style
cost-style
{
narrow
|
wide
|
wide-compatible
| {
compatible
|
narrow-compatible
}
[
relax-spf-limit
] }
Optional
narrow
by default
Return to system view
quit
—
Enter interface view
interface
interface-type interface-number
—
Specify a cost for the interface
isis cost
value
[
level-1
|
level-2
]
Optional
No cost is specified for the
interface by default.
Configuring a global IS-IS cost
Follow these steps to configure a global IS-IS cost:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter IS-IS view
isis
[
process-id
] [
vpn-instance
vpn-instance-name
] —
Specify an IS-IS cost style
cost-style
{
narrow
|
wide
|
wide-compatible
|
{
compatible
|
narrow-compatible
}
[
relax-spf-limit
] }
Optional
narrow
by default
Specify a global IS-IS
cost
circuit-cost
value
[
level-1
|
level-2
]
Required
No global cost is specified
by default.
Enable automatic IS-IS cost calculation
Follow these steps to enable automatic IS-IS cost calculation:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter IS-IS view
isis
[
process-id
] [
vpn-instance
vpn-instance-name
]
—
Specify an IS-IS cost style
cost-style
{
wide
|
wide-compatible
}
Required
narrow
by default
Enable automatic IS-IS cost
calculation
auto-cost enable
Required
Disabled by default