Set intervals
This command helps to assign the minimum transmit interval and minimum receive interval in the range 1 to 20 seconds. Detect multiplier value is assigned as a number between 1 and 5. By default, the minimum transmit and receive interval is 3 seconds and multiplier value is 5.
Syntax
bfd authentication | min-echo-receive-interval | min-transmit-interval
Description
Configure Bidirectional Forwarding Detection (BFD) for the VLAN.
Options
- min-transmit-interval
Update the minimum transmit interval of the BFD session.
- min-echo-receive-interval
Update the minimum echo receive interval of the BFD session.
- authentication
Configure authentication mode and key for all BFD sessions under the current VLAN.
Syntax
bfd min-transmit-interval TXSECONDS min-receive-interval RXSECONDS detect-multiplierMULTIPLIER
Description
Update BFD timer intervals for all the sessions under the current VLAN.
Options
- min-transmit-interval
Update the minimum transmit interval of the BFD session.
- min-receive-interval
Update the minimum receive interval of the BFD session.
- detect-multiplier
Update the detect multiplier count of the BFD session.
- txseconds
The time interval, in the range 1 to 20 seconds, between the transmission of two BFD hello packets.
- rxseconds
The time interval, in the range 0 to 20 seconds, between the reception of two BFD hello packets.
0 indicates the local end is not interested in receiving hello packets from the peer.
- multiplier
Number of BFD packets, in the range 1 to 5, that are allowed to be missed before BFD session times out.
If
min-transmit-interval
ormin-receive-interval
value is configured as 1 sec, the value of detect multiplier should be at least 3.If detect multiplier value is 1, the value of
min-transmit-interval
andmin-receive-interval
should be at least 3 sec.
Set intervals 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" module A type j9989a module C type j9550a module F type j9987a snmp-server community "public" unrestricted oobm ip address dhcp-bootp exit vlan 1 name "DEFAULT_VLAN" untagged A2-A24,C1-C24,F1-F24 ip address dhcp-bootp exit ip routing router ospf area 0.0.0.2 area 0.0.0.3 area backbone enable exit bfd enable bfd echo-src-ip-address 2.2.2.2 vlan 20 untagged A1 bfd min-transmit-interval 10 min-receive-interval 10 detect-multiplier 3 ip address 100.100.100.100 255.255.255.0 ip ospf 100.100.100.100 area backbone ip ospf 100.100.100.100 bfd exit
Show BFD session
Switch# show bfd-session 1 BFD Session Information – Session 1 Min Tx Interval (sec) : 10 Min Rx Interval (sec) : 10 Min Echo Rx Interval (msec) : 500 Detect Multiplier : 3 Authentication Mode : NONE Password : "" Application : OSPF Local Discriminator : 1 Remote Discriminator : 1 Echo : Enabled Local Diagnostic : No diagnostics configured. VLAN Source IP Destination IP State Pkt In Pkt Drop Pkt Out ---- ------------ --------------- ------ ------ ------- ------ 20 100.100.100.100 100.100.100.101 Up 322 0 320