exit
no allow-v2-modules
Switch(config)#
show bfd-session
Bidirectional Forwarding Detection (BFD) Information
Administrative Status : Enabled
Echo Source IP : 3.3.3.3
Maximum number of sessions supported : 128
Number of sessions reserved for internal use : 0
Total Number of Sessions : 1
Number of Sessions Up : 1
Number of Sessions Down : 0
Global Statistics:
Total Number of Control Packets Transmitted : 9256
Total Number of Control Packets Received : 9194
Total Number of Control Packets Dropped : 57
Session VLAN Source IP Destination IP Echo State Application
-------- ------ ---------------- ---------------- ---------- ----------- -----------
1 10 172.16.4.2 172.16.4.1 Enabled Up STATIC
Switch(config)#
Example
Sharing a BFD session between STATIC and OSPF applications. When BFD is enabled for both STATIC and
OSPF applications over the same pair of source and destination IPs, a single BFD session can be used to
monitor the connectivity.
Switch 1:
switch(config)#
ip route 200.1.12.0 255.255.255.0 172.16.4.2 bfd source-ip 172.16.4.1
switch(config)#
show run
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 200.1.12.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
router ospf
area backbone
enable
exit
bfd enable
bfd echo-src-ip-address 2.2.2.2
vlan 1
name "DEFAULT_VLAN"
no untagged A1
Chapter 18 Bidirectional Forwarding Detection (BFD)
429