F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
357
Default
BFD is not enabled on an OSPF interface.
Views
Interface view
Default command level
2: System level
Parameters
echo: Configures BFD single-hop echo detection. Without this keyword, this command enables BFD
bidirectional control detection.
Usage guidelines
The following matrix shows the ospf bfd enable command and firewalls and UTM devices compatibility:
Hardware Command com
p
atible
F1000-A-EI/F1000-S-EI No
F1000-E No
F5000 Yes
Firewall module No
U200-A No
U200-S No
Examples
# Enable OSPF and BFD on GigabitEthernet 1/1.
<Sysname> system-view
[Sysname] ospf
[Sysname-ospf-1] area 0
[Sysname-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255
[Sysname-ospf-1-area-0.0.0.0] interface gigabitethernet 1/1
[Sysname-GigabitEthernet1/1] ospf bfd enable
ospf cost
Use ospf cost to set an OSPF cost for an interface.
Use undo ospf cost to restore the default.
Syntax
ospf cost value
undo ospf cost
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).