ospfv3 cost
Use ospfv3 cost to set an OSPFv3 cost for an interface in an instance.
Use undo ospfv3 cost to remove the configuration.
Syntax
ospfv3 cost cost-value [ instance instance-id ]
undo ospfv3 cost [ instance instance-id ]
Default
The cost is 1 for a VLAN interface, is 0 for a loopback interface, and is computed according to the interface bandwidth for other interfaces.
Views
Interface view
Predefined user roles
network-admin
Parameters
cost-value: Specifies an OSPFv3 cost in the range of 0 to 65535 for a loopback interface, and in the range of 1 to 65535 for other interfaces.
instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.
Examples
# Set the OSPFv3 cost to 33 for VLAN-interface 10 in instance 1.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 cost 33 instance 1