route is undisturbed. BFD can take action only if the session is UP and then transitions to DOWN or vice-
versa.
Usage
There are two distinct ways to configure the static route. BFD configuration is allowed on each type of static route
configuration:
• Method 1: Configure the gateway as the IP-address of the next-hop device.
• Method 2: Configure the gateway as the
vlan-id
to which the next-hop device is connected.
Example
Configuring static route BFD using next hop IP and BFD source IP. All other BFD parameters (like detect
multiplier, transmit/receive intervals, authentication) are automatically obtained from the associated VLAN
interface of the
bfd source-ip
. In the following example, the BFD parameters are obtained from VLAN 10.
Switch 1:
Ip route <
destination-network
/
prefix-length
> <
gateway-ip
> bfd {source-ip |
destination-ip} <
IP-Address-on-self-device
>
BFD is enabled between self-device and the peer-device for the static route configured with gateway as Nexthop-
IP-Address (Method 1):
switch(config)#
ip route 172.192.4.0/24 172.16.4.2 bfd source-ip 172.16.4.1
switch(config)#
switch(config)#
show running-config
Running configuration:
; J9850A Configuration Editor; Created on release #KB.16.04.0000x
; Ver #10:1b.7f.bf.bb.ff.7c.59.fc.7b.ff.ff.fc.ff.ff.3f.ef:01
hostname "switch"
module A type j9992a
ip route 172.192.4.0 255.255.255.0 172.16.4.2 bfd source-ip 172.16.4.1
ip routing
snmp-server community "public" unrestricted
oobm
ip address dhcp-bootp
exit
bfd enable
bfd echo-src-ip-address 2.2.2.2
vlan 1
name "DEFAULT_VLAN"
no untagged A1
untagged A2-A21
ip address dhcp-bootp
exit
vlan 10
name "VLAN10"
untagged A1
bfd min-echo-receive-interval 700
ip address 172.16.4.1 255.255.255.0
exit
no allow-v2-modules
Switch(config)#
show bfd
Chapter 18 Bidirectional Forwarding Detection (BFD)
425