This command helps to set a source IP address of echo packet for all BFD instances on the switch.
Syntax
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
Set the source IP address for BFD echo packets transmitted by the switch. |
|
The source IP address for BFD echo packets transmitted by the switch. |
Set BFD source IP address for echo packets configuration
HP-5406Rzl2(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 "HP-5406Rzl2" 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
Syntax
Description
Configure Bidirectional Forwarding Detection (BFD) global settings.
options
Enable BFD session: 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 "HP-5406Rzl2" 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 vlan 1 name "DEFAULT_VLAN" untagged A1-A24,F1-F24 ip address dhcp-bootp exit no allow-v2-modules HP-5406Rzl2# show bfd-session Bidirectional Forwarding Detection (BFD) Information Admin Status : Enabled Echo source IP : Session VLAN Source IP Destination IP Echo State Application -------- ------ ---------- ----------- --- ----- ------ -----------
This command enables logging BFD packet fields and/or BFD events for the identified session.
Syntax
Description
Options
This command helps to reset the specified BFD counter.
Syntax
Description
Reset Bidirectional Forwarding Detection (BFD) statistics.
Options
Clear BFD statistics: Before clearing statistics
HP-5412Rzl2# sh bfd Bidirectional Forwarding Detection (BFD) Information Admin Status : Enabled Echo source IP : 2.2.2.2 Global Statistics: Total Number of Control Packets Transmitted : 13 Total Number of Control Packets Received : 13 Total Number of Control Packets Dropped : 0 Session VLAN SourceIP DestIP Echo State Application ------ ----- -------------- -------------- ----- ----- ----------- 1 20 100.100.100.100 100.100.100.101 Enabled Up OSPF
witch# show bfd-session 1 BFD Session Information – Session 1 Min Tx Interval (sec) : 10 Min Rx Interval (sec) : 10 Min Echo Rx Interval (msec) : 700 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 ---- ------------ --------------- ----- ------ ------- ------- 3 100.100.100.100 100.100.100.101 Up 322 0 320
Clear BFD statistics: After clearing BFD statistics
HP-5412Rzl2# sh bfd Bidirectional Forwarding Detection (BFD) Information Admin Status : Enabled Echo source IP : 2.2.2.2 Global Statistics: Total Number of Control Packets Transmitted : 0 Total Number of Control Packets Received : 0 Total Number of Control Packets Dropped : 0 Session VLAN SourceIP DestIP Echo State Application ------ ----- -------------- -------------- ----- ----- ----------- 1 20 100.100.100.100 100.100.100.101 Enabled Up OSPF
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) : 700 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 ---- ------------ --------------- ----- ------ ------- ------- 3 100.100.100.100 100.100.100.101 Up 0 0 0