
Configuring BFD
Configuring BFD
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 20-17
6
To establish BFD sessions with neighbors that are in full state only, enter the
command as shown below:
-> ip ospf interface int1 bfd-state drs-only
The above command establishes a BFD session on interface named int1 with OSPF DR neighbors in full
state only.
To establish a BFD session on an interface with all neighbors which are greater than or equal to “2-way”
state, use the
ip ospf interface bfd-state all-neighbors
command as shown below:
-> ip ospf interface int2 bfd-state all-neighbors enable
The above command establishes a BFD session on interface named int2 with all OSPF neighbors that are
greater than or equal to “2-way” state.
When any neighbors are added to this interface, OSPF informs BFD about the newly added neighbor(s);
BFD then establishes a session with them. Use the
command to view BFD sessions
with all BFD neighbors as shown below:
-> show ip bfd sessions
Legends: Neg. = Negotiated
Discr = Discriminator
Intvl = Interval (in milliseconds)
Local Interface Neighbor State Remote Neg. Rx Neg. Tx EchoRx
Discr Name Address Discr Intvl Intvl Intvl
------+-----------+--------------+----------+------+----------+--------+-------
1 v1001 101.1.1.11 UP 1 300 300 300
2 v2000 200.1.1.1 UP 0 0 0 300
To view a BFD session with a particular neighbor, use the
command followed by the
session number. For example:
-> show ip bfd sessions 1
Local discriminator = 1,
Neighbor IP Address = 101.1.1.11,
Requested Session Type = ASYNC ,
Interface IfIndex = 2,
Source UDP Port = 49153,
State = UP,
Session Operating Mode = None,
Remote discriminator = 1,
Negotiated Tx interval = 300,
Negotiated Rx interval = 300,
Echo Rx interval = 300,
Multiplier = 3,
Applications Registered: = OSPF
Whenever there is any change to the interface/neighbor list or interface/neighbor state, OSPF immediately
informs BFD about the changes. Additionally, whenever BFD detects any changes to the other end, BFD
updates its database accordingly and informs OSPF for its fastest convergence.