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.
Parameter | Description | Value |
---|---|---|
cost-value |
Specifies IPv6 link cost. |
The value is an integer and varies with the cost type.
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. |
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
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:
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.<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