
Configuring BFD
Configuring BFD
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 20-21
Use the
command to view BFD sessions with all BFD neighbors. For example:
-> 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
-> show ip bfd sessions 2
Local discriminator = 2,
Neighbor IP Address = 10.1.1.1,
Requested Session Type = ECHO,
Interface IfIndex = 4,
Source UDP Port = 49153,
State = UP,
Session Operating Mode = None,
Remote discriminator = 0,
Negotiated Tx interval = 0,
Negotiated Rx interval = 0,
Echo Rx interval = 300,
Multiplier = 3,
Applications Registered: = VRRP
Configuring BFD Support for Static Routes
This section provides information about how to configure and verify BFD support for static routing.
To change the default BFD status for a particular static route and to enable BFD support, use the
command. For example :
-> ip static-route 10.1.1.1 mask 255.0.0.0 gateway 10.1.1.25 bfd-state enable
Note.
Static Routes support BFD in the echo-only operational mode.
The above command enables BFD support for a static route with destination ip address as 10.1.1.1, desti-
nation network mask as 255.0.0.0, and gateway address as 10.1.1.25.
In order to create a BFD session for a static route, the gateway address should not match with any local
interface address of the switch. If multiple routes are configured with the same gateway address, only one
BFD session is run. You can verify the BFD session list which shows the gateway address using the
command.
To enable BFD support for all static routes, use the
command:
-> ip static-route all bfd-state enable
To verify the static routes on which BFD is enabled, use the
show ip router database
command with the
protocol static
option. For example:
-> show ip router database protocol static