Default level
2: System level
Parameters
instance-id
: Instance ID of the interface. It ranges from 0 to 255 and defaults to 0.
Description
Use
ospfv3 bfd enable
to enable BFD for link failure detection on an OSPFv3 interface.
Use
undo
ospfv3
bfd enable
to disable BFD on the OSPFv3 interface.
By default, the OSPFv3 interface is not enabled with BFD.
Examples
# Enable BFD on VLAN-interface 11 in instance 1.
<Sysname> system-view
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] ospfv3 bfd enable instance 1
ospfv3 cost
Syntax
ospfv3 cost
value
[
instance instance-id
]
undo ospfv3 cost
[
value
] [
instance instance-id
]
View
Interface view
Default level
2: System level
Parameters
value
: OSPFv3 cost, in the range of 0 to 65535 for a loopback interface and 1 to 65535 for other
interfaces.
instance-id
: Instance ID of an interface, in the range of 0 to 255, which defaults to 0.
Description
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.
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).
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 vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 cost 33 instance 1
318