isis process-id ipv6 cost

Function

The isis process-id ipv6 cost command configures a link cost in an IPv6 topology.

The undo isis process-id ipv6 cost command restores the default value.

By default, the link cost value in an IPv6 topology is 10.

Format

isis process-id process-id-value ipv6 cost cost-value [ level-1 | level-2 ]

undo isis process-id process-id-value ipv6 cost [ cost-value ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
cost-value

Specifies IPv6 link cost.

The value is an integer and varies with the cost type.

  • When the cost type is wide or wide-compatible, the value ranges from 1 to 16777214.
  • For other cost types, the value ranges from 1 to 63.

The default value is 10.

The cost type can be configured using the cost-style command.

level-1

Configures a link cost for Level-1 links.

-

level-2

Configures a link cost for Level-2 links.

If no IPv6 link level is specified, an IPv6 link cost is set for both Level-1 and Level-2 interfaces.

-

process-id process-id-value

Specifies the IID of an IS-IS multi-instance process.

The value is an integer ranging from 1 to 4294967295.

Views

100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VE interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

On a large-scale network, there are multiple valid routes destined for the same destination in most cases. IS-IS calculates an optimal route based on the SPF algorithm and transmits traffic over it. This feature may cause the following problems:

  • All traffic is transmitted over the optimal route, causing load imbalance.
  • If the optimal route fails, traffic transmitted over it will be discarded.

    To address this problem, run the isis ipv6 cost command to configure different link costs for different interfaces so that traffic can be transmitted over different physical links.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command in the interface view.

IPv6 has been enabled for the IS-IS process, and an IPv6 topology has been enabled. To enable IPv6 in an IS-IS process, run the isis ipv6 enable command.

Configuration Impact

If the link cost is changed, routes of the entire network are recalculated, and the traffic forwarding path changes accordingly.

Precautions

The isis ipv6 cost command takes effect only when links are active and an IPv6 topology is enabled.

If the IPv6 topology type is compatible or standard, the IPv6 link cost is the same as the IPv4 link cost. When an IPv6 topology type is compatible enable-mt-spf or ipv6, IPv6 and IPv4 link costs need to be configured separately.

If the isis ipv6 cost and ipv6 circuit-cost commands are both run, the value set using the isis ipv6 cost takes effect.

Example

# Set the IPv6 link cost value of the specified interface to 50.
<HUAWEI> system-view
[~HUAWEI] isis 1
[*HUAWEI-isis-1] ipv6 enable
[*HUAWEI-isis-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] isis ipv6 enable 1
[*HUAWEI-GigabitEthernet0/1/0] isis process-id 1 ipv6 cost 50
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >