The ospfv3 cost command sets the cost of the interface in different instances.
The undo ospfv3 cost command restores the default cost of the interface in different instances.
| Parameter | Description | Value |
|---|---|---|
| cost | Specifies the cost for running OSPFv3. | The value is an integer ranging from 1 to 65535. By default, it is 1. |
| instance instance-id | Specifies instance ID of the interface. | The value is an integer ranging from 0 to 255. By default, it is 0. |
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view
Before configuring this command, run the ipv6 enable command to enable IPv6 in the interface view.
Using the ospfv3 cost command sets the cost of an interface that runs OSPFv3. The priority of the cost set through the ospfv3 cost command is higher than that of the cost set through the bandwidth-reference command.