beautypg.com

Configuring is-is link cost, Configuring an is-is cost for an interface, Configuring a global is-is cost – H3C Technologies H3C S12500 Series Switches User Manual

Page 165

background image

149

Configuring IS-IS link cost

The IS-IS cost of an interface is determined in the following order:

1.

IS-IS cost specified in interface view.

2.

IS-IS cost specified in system view. The cost is applied to the interfaces associated with the IS-IS
process.

3.

Automatically calculated cost. If 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. For other cost styles,

Table 6

applies.

Table 6 Automatic cost calculation scheme for cost styles other than wide and wide-compatible

Interface bandwidth

Interface cost

≤ 10 Mbps

60

≤ 100 Mbps

50

≤ 155 Mbps

40

≤ 622 Mbps

30

≤ 2500 Mbps

20

> 2500 Mbps

10

4.

If none of the above costs is used, a default cost of 10 applies.

Configuring an IS-IS cost for an interface

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter IS-IS view.

isis [ process-id ] [ vpn-instance
vpn-instance-name ]

N/A

3.

Specify an IS-IS cost style.

cost-style { narrow | wide | wide-compatible
| { compatible | narrow-compatible }

[ relax-spf-limit ] }

Optional.
narrow by default.

4.

Return to system view.

quit

N/A

5.

Enter interface view.

interface interface-type interface-number

N/A

6.

Specify a cost for the

interface.

isis [ ipv6-unicast ] cost value [ level-1 |
level-2 ]

By default, no cost is
specified for the interface.

Configuring a global IS-IS cost

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter IS-IS view.

isis [ process-id ] [ vpn-instance vpn-instance-name ] N/A

3.

Specify an IS-IS
cost style.

cost-style { narrow | wide | wide-compatible |
{ compatible | narrow-compatible }

[ relax-spf-limit ] }

Optional.
narrow by default.