Cisco Catalyst 9300 BFD Echo Failure: Troubleshooting Session Flaps and Restoring Stability

A physical link can stay up and exchange BFD Control packets while the BFD session flaps because its Echo path fails. In this Catalyst 9300 case, Echo transmit counters increased while receive counters stayed at zero. Disabling Echo on the affected interface restored session stability. The cause of Echo packet loss remained unconfirmed.

Conceptual BFD diagram showing Control packets received while Echo packets do not return and the session flaps.
Conceptual symptom: BFD Control is received while the Echo return path fails. This diagram does not identify where packets are lost.

Environment

ItemEnvironment
PlatformCisco Catalyst 9300
DeploymentStack
Headquarters IOS XE17.12.5
Branch IOS XE17.18.4
Affected functionBFD Echo
Operational workaroundDisable BFD Echo on the affected interface

For a separate guide covering configuration order and verification for Catalyst 9300 BFD deployments, see Cisco Catalyst 9300 HQoS and Static BFD: Configuration Order and Verification.

Observed symptoms

  • BFD Control packets were received.
  • BFD Echo transmit counters increased.
  • BFD Echo receive counters remained at zero.
  • The affected session repeatedly transitioned between DOWN, INIT, and UP.
  • Diagnostic information included Echo Function Failed.
  • Another BFD session between the devices remained stable.

Control reception and Echo forwarding needed separate checks; successful Control exchange did not validate the Echo path.

For an Ethernet example where traffic continued despite a duplex mismatch, see Cisco CDP Duplex Mismatch: FastEthernet Full, GigabitEthernet Half.

What Echo tests

Echo packets test the forwarding path. Check Cisco's release-specific requirements, including ICMP redirect and uRPF interactions, when investigating Echo failures.

Illustrative BFD configuration

This generic Cisco documentation example is separate from the incident's production configuration.

interface GigabitEthernet1/0/1
 no switchport
 ip address 192.0.2.1 255.255.255.252
 no ip redirects
 bfd interval 100 min_rx 100 multiplier 3

The timer values are examples. A supported routing or static-route BFD client must also register; interface timers alone do not configure static-route tracking.

Four-step BFD Echo troubleshooting flow: check the session, compare paths, check Echo TX and RX, and inspect interface configuration and filtering.
Check the session, compare working and failing paths, check Echo TX/RX, then inspect interface configuration and filtering.

Troubleshooting steps

1. Check the BFD session

show bfd neighbors
show bfd neighbors details

Compare state, diagnostics, negotiated timers, registered clients, and Echo information.

2. Compare a working session with the failing session

Use the working session between the same devices as a baseline. Compare interfaces, forwarding, counters, and captures to identify differences on the failing path.

3. Check Echo TX and RX behavior

ObservationAffected session
Echo TXIncreasing
Echo RXZero
BFD Control RXReceived
Session stateRepeated transitions

These counters point to Echo-path failure but do not locate the loss.

Workaround: disable BFD Echo

The workaround applied to the affected interface was:

configure terminal
interface GigabitEthernet1/0/1
 no bfd echo
end

Cisco documents interface-level no bfd echo. Confirm support and behavior for the deployed platform and release. Echo disablement can retain asynchronous Control operation while changing detection behavior. It may renegotiate BFD or transiently change session state. Review convergence requirements and verify the result as an operational change.

Interface-level no bfd echo workaround followed by verification of BFD Control, session stability, detection timers, and the routing client.
After disabling Echo on the affected interface, verify BFD stability, detection parameters, and the dependent routing client. The original root cause remains unconfirmed.

Verification after the change

show bfd neighbors
show bfd neighbors details

Check that the session reaches UP and remains stable, Echo is no longer required on that interface, negotiated detection parameters are acceptable, and the dependent routing client works. The session became stable after disabling Echo. This verifies the workaround's observed result, while leaving the loss mechanism unresolved.

Unconfirmed causes to investigate

Unconfirmed hypotheses for further investigation:

  • Forwarding-path differences: interface-specific configuration, forwarding-table programming, or hardware packet handling may differ between the working and failing paths.
  • Packet filtering: ACLs or other filtering mechanisms may affect the Echo path and require packet capture and counter verification.
  • uRPF interaction: Cisco documents restrictions involving BFD Echo and uRPF. This should be checked if uRPF is configured.
  • Software behavior: the devices ran different IOS XE releases, but version difference alone does not establish a software defect. A reproducible test or matching Cisco defect record would be required.

Operational checks

  • Separate BFD Control behavior from Echo behavior during troubleshooting.
  • Use a working BFD session as a comparison baseline when available.
  • Treat Echo Function Failed as a reason to investigate the Echo forwarding path specifically.
  • Do not present a successful workaround as a confirmed root cause.
  • After disabling Echo, verify that the resulting BFD detection characteristics still meet operational requirements.

Session result

Disabling Echo restored the affected session's stability. The precise cause of the failed Echo return path remained unconfirmed.

Official references

Comments

Popular posts from this blog

Alteon Sessions Show Established, but HTTPS Authentication Fails Intermittently

Cisco Catalyst 9200L Upgrade: Fixing “Super Package Already Added”

Cisco Nexus show logging server Explained: Status, Severity, Facility, VRF, and Port