R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
755
By default, the OSPFv3 interface is not enabled with BFD.
The following matrix shows the command and firewall compatibility:
Command F1000-A-EI/S-EI
F1000-E
F5000
Firewall module
ospfv3 bfd enable
No No Yes No
Examples
# Enable BFD on GigabitEthernet 0/1 in instance 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet 0/1] 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.
By default, the cost of a loopback interface is 0, and is 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 gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ospfv3 cost 33 instance 1