Set BFD source IP address for echo packets

This command helps to set a source IP address of echo packet for all BFD instances on the switch.

Syntax


bfd echo-src-ip-address IP-ADDR
no bfd echo-src-ip-address IP-ADDR

Description

Set the source IP address for BFD echo packets transmitted by the switch. The special value 0.0.0.0 will close only BFD echo sessions. Any existing control sessions will not be affected.

Options

echo-src-ip-address

Set the source IP address for BFD echo packets transmitted by the switch.

IP-ADDR

The source IP address for BFD echo packets transmitted by the switch.

Set BFD source IP address for echo packets configuration

switch(config)# bfd echo-src-ip-address 2.2.2.2
ATTENTION!! Make sure that echo packet source IP configured,
does not belong to same subnet as the IP address assigned to any VLAN on the switch.

Running configuration:

; J9850A Configuration Editor; Created on release #KB.16.02.0000x
; Ver #0b:fc.59.f4.7b.ff.ff.fc.ff.ff.3f.ef:0d
hostname "switch-name"
module A type j9989a
module F type j9987a
no rest-interface
password minimum-length 8
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"
  untagged A1-A24,F1-F24
  ip address dhcp-bootp
  exit
no allow-v2-modules

Show BFD-session

switch# show bfd-session

Bidirectional Forwarding Detection (BFD) Information

 Admin Status   : Enabled
 Echo source IP : 2.2.2.2

 Session VLAN  Source IP  Destination IP  Echo State application
 ------ ------ ---------- --------------- ----- ---- -----------
switch#
 
switch# show bfd-session 1

BFD Session Information
BFD session 1 not found