OcNOS-SP : Layer 3 Guide : Bidirectional Forwarding Detection Configuration Guide : Base BFD Configuration : Validation:
Validation:
R1
#sh bfd session detail
 
Session Interface Index : 3 Session Index : 1
Lower Layer : IPv4 Version : 1
Session Type : Single Hop Session State : Up
Local Discriminator : 1 Local Address : 10.1.1.1/32
Remote Discriminator : 1 Remote Address : 10.1.1.2/32
Local Port : 49152 Remote Port : 3784
Options :
 
Diagnostics : None
 
Timers in Milliseconds :
Min Tx: 100 Min Rx: 100 Multiplier: 4
Neg Tx: 100 Neg Rx: 100 Neg detect mult: 4
Min echo Tx: 100 Min echo Rx: 1000 Neg echo intrvl: 0
Storage type : 2
Sess down time : 00:00:00
Sess discontinue time : 00:00:00
Bfd GTSM Disabled
Bfd Authentication Disabled
 
Counters values:
Pkt In : 000000000000156e Pkt Out : 0000000000001748
Echo Out : 000000000000019b IPv6 Echo Out : 0000000000000000
IPv6 Pkt In : 0000000000000000 IPv6 Pkt Out : 0000000000000000
UP Count : 139 UPTIME : 00:14:23
 
Protocol Client Info:
BFD-> Client ID: 28 Flags: 4
----------------------------------------------------------
Number of Sessions: 1
R2
#sh bfd session detail
 
Session Interface Index : 3 Session Index : 1
Lower Layer : IPv4 Version : 1
Session Type : Single Hop Session State : Up
Local Discriminator : 1 Local Address : 10.1.1.2/32
Remote Discriminator : 1 Remote Address : 10.1.1.1/32
Local Port : 49152 Remote Port : 3784
Options :
 
Diagnostics : None
 
Timers in Milliseconds :
Min Tx: 100 Min Rx: 100 Multiplier: 4
Neg Tx: 100 Neg Rx: 100 Neg detect mult: 4
Min echo Tx: 100 Min echo Rx: 1000 Neg echo intrvl: 0
Storage type : 2
Sess down time : 00:00:00
Sess discontinue time : 00:00:00
Bfd GTSM Disabled
Bfd Authentication Disabled
 
Counters values:
Pkt In : 000000000000181d Pkt Out : 00000000000019ab
Echo Out : 00000000000001b5 IPv6 Echo Out : 0000000000000000
IPv6 Pkt In : 0000000000000000 IPv6 Pkt Out : 0000000000000000
UP Count : 145 UPTIME : 00:15:19
 
Protocol Client Info:
BFD-> Client ID: 28 Flags: 4
----------------------------------------------------------
Number of Sessions: 1
BFD Echo Interval
R1
 
R1#configure terminal
Enter the Configure mode.
R1(config)#interface eth1
Enter interface Mode.
R1(config-if)#ip address 10.1.1.1/24
Assign IP address for interface
R1(config-if)#bfd session 10.1.1.1 10.1.1.2
Configure BFD session on interface.
R1(config-if)#bfd echo interval 100
 
R1(config-if)#exit
Exit from interface mode.
R1(config)#bfd echo
Enable BFD echo mode.
R1(config)#commit
Commit the candidate configuration to the running configuration.
R1(config)#exit
Exit from interface mode.
R2
 
R2#configure terminal
Enter the Configure mode.
R2(config)#interface eth1
Enter interface Mode.
R2(config-if)#ip address 10.1.1.2/24
Assign IP address for interface
R2(config-if)#bfd session 10.1.1.2 10.1.1.1
Configure BFD session on interface.
R1(config-if)#bfd echo interval 100
.
R2(config-if)#exit
Exit from interface mode.
R2(config)#bfd echo
Enable BFD echo mode.
R2(config)#commit
Commit the candidate configuration to the running configuration.
R2(config)#exit
Exit from interface mode.
Validation
R1
#sh bfd session detail
 
Session Interface Index : 3 Session Index : 1
Lower Layer : IPv4 Version : 1
Session Type : Single Hop Session State : Down
Local Discriminator : 1 Local Address : 10.1.1.1/32
Remote Discriminator : 1 Remote Address : 10.1.1.2/32
Local Port : 49152 Remote Port : 3784
Local Echo Port : 49153
Options :
Echo Enabled
Diagnostics : None
 
Timers in Milliseconds :
Min Tx: 250 Min Rx: 250 Multiplier: 3
Neg Tx: 2000 Neg Rx: 2000 Neg detect mult: 3
Min echo Tx: 100 Min echo Rx: 1000 Neg echo intrvl: 1000
Storage type : 2
Sess down time : 00:00:00
Sess discontinue time : 00:00:00
Bfd GTSM Disabled
Bfd Authentication Disabled
 
Counters values:
Pkt In : 00000000000001ea Pkt Out : 0000000000000398
Echo Out : 0000000000000147 IPv6 Echo Out : 0000000000000000
IPv6 Pkt In : 0000000000000000 IPv6 Pkt Out : 0000000000000000
UP Count : 109 UPTIME : 00:00:00
 
Protocol Client Info:
BFD-> Client ID: 28 Flags: 4
----------------------------------------------------------
Number of Sessions: 1
 
R2
#sh bfd session detail
 
Session Interface Index : 3 Session Index : 1
Lower Layer : IPv4 Version : 1
Session Type : Single Hop Session State : Down
Local Discriminator : 1 Local Address : 10.1.1.2/32
Remote Discriminator : 1 Remote Address : 10.1.1.1/32
Local Port : 49152 Remote Port : 3784
Local Echo Port : 49153
Options :
Echo Enabled
Diagnostics : None
 
Timers in Milliseconds :
Min Tx: 250 Min Rx: 250 Multiplier: 3
Neg Tx: 2000 Neg Rx: 2000 Neg detect mult: 3
Min echo Tx: 100 Min echo Rx: 1000 Neg echo intrvl: 1000
Storage type : 2
Sess down time : 00:00:01
Sess discontinue time : 00:00:00
Bfd GTSM Disabled
Bfd Authentication Disabled
 
Counters values:
Pkt In : 000000000000028f Pkt Out : 00000000000003b8
Echo Out : 0000000000000183 IPv6 Echo Out : 0000000000000000
IPv6 Pkt In : 0000000000000000 IPv6 Pkt Out : 0000000000000000
UP Count : 129 UPTIME : 00:00:00
 
Protocol Client Info:
BFD-> Client ID: 28 Flags: 4
----------------------------------------------------------
Number of Sessions: 1
Last modified date: 10/16/2023