The ipv6 circuit-cost command sets the cost value of all the IPv6 interface applicable to SPF counting in IS-IS, that is the global IPv6 cost value.
The undo ipv6 circuit-cost command deletes the configured interface cost value.
By default, the configured cost value is applicable to the Level-1-2.
ipv6 circuit-cost { cost | maximum } [ level-1 | level-2 ]
undo ipv6 circuit-cost [ cost | maximum ] [ level-1 | level-2 ]
ipv6 circuit-cost cost [ level-1 | level-2 ]
| Parameter | Description | Value |
|---|---|---|
| cost | Specifies the cost value of all the IPv6 interface applicable to SPF counting in IS-IS. | If IS-IS cost type is wide or wide-compatible, the value of the cost of the imported route ranges from 1 to 16777214; otherwise, the value is 1 to 63. |
| maximum | Sets the link cost of an interface to 16777215. NOTE:
The maximum parameter can be configured only when the cost-style of IS-IS is wide or wide-compatible. The neighbor TLV generated after the cost of an interface is set to 16777215 can be used only for TE information transmission but not for route calculation. |
- |
| level-1 | Specifies the cost value of the Level-1 interface. | - |
| level-2 | Specifies the cost value of the Level-2 interface. | - |
This command is valid only for an IPv6 base topology.
The priority of the IPv6 cost value on the interface is higher than the priority of the global IPv6 cost value.
The ipv6 circuit-cost command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.
# Set the cost value of the global IPv6 , which is applicable to SPF counting, to 20.
<sysname> system-view
[sysname] ipv6
[sysname] isis 1
[sysname-isis-1] ipv6 enable
[sysname-isis-1] ipv6 circuit-cost 20
<sysname> system-view
[sysname] ipv6
[sysname] isis 1
[sysname-isis-1] ipv6 enable
[sysname-isis-1] ipv6 circuit-cost maximum