R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
375
Default command level
2: System level
Parameters
instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.
Examples
# Enable BFD on Gigabitethernet 2/1/1 in instance 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-Gigabitethernet2/1/1] ospfv3 bfd enable instance 1
ospfv3 cost
Use ospfv3 cost to configure the OSPFv3 cost of the interface in an instance.
Use undo ospfv3 cost to restore the default OSPFv3 cost of the interface in an instance.
Syntax
ospfv3 cost value [ instance instance-id ]
undo ospfv3 cost [ value ] [ instance instance-id ]
Default
The default cost depends on the interface type: 1 for a VLAN interface; 0 for a loopback interface;
computed according to the bandwidth for other interfaces with the formula: Interface OSPF cost =
Bandwidth reference value (100 Mbps) รท Interface bandwidth (Mbps).
Views
Interface view
Default command level
2: System level
Parameters
value: Specifies an OSPFv3 cost in the range of 0 to 65535 for a loopback interface and 1 to 65535 for
other interfaces.
instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.
Usage guidelines
If the calculated cost is greater than 65535, the value of 65535 is used; if the calculated cost is smaller
than 1, the value of 1 is used.
Examples
# Specifies the OSPFv3 cost of the interface in instance 1 as 33.
<Sysname> system-view
[Sysname] interface serial 2/2/0
[Sysname-Serial2/2/0] ospfv3 cost 33 instance 1
ospfv3 dr-priority
Use ospfv3 dr-priority to set the DR priority for an interface in an instance.










