Course contents

Unit 7: IPsec and BFDLesson 7.5 (5 of 5 in this unit)46 of 62 in the Cisco SD-WAN course

Transport failure and traffic convergence

The sequence after a transport failure, where time is spent, what survives a lost Controller, and how to test convergence.

Intermediate · 9 min read

You'll learn to describe the sequence after a link or transport failure, estimate where time is spent, and distinguish a data-path failure from a control-plane failure.

Technical definition

Convergence is the time and sequence by which the fabric moves traffic to a working path after a failure. In SD-WAN it combines BFD detection, removal of paths that depend on the failed TLOC, and, for application-aware routing, a change of path based on measurements.

Two kinds of failure

Diagram
Data path or control
Data path or control

They behave differently.

Data-path failureTunnel stopsBFD detects
Control failureController losttunnels continue
Identify which one failed first.

Sequence after a transport failure

Diagram
Convergence
Convergence

From failure to new path.

  1. Failureon the MPLS link
  2. BFDsession drops
  3. Pathsvia that TLOC removed
  4. Trafficuses the internet path
Most of the time is spent waiting for detection.
Diagram
Where the time goes
Where the time goes
StageTypical scaleWhat shortens it
DetectionSeconds, set by BFD timersLower hello interval or multiplier
Path removal and reinstallFast, local to the WAN EdgeEqual-cost paths already installed
Policy reactionDepends on measurement intervalShorter application-aware routing measurement interval
Values depend on the release and configuration.

If both transports are installed as equal-cost paths, removing one leaves the other, and no new route has to be learned. If the backup transport is used only on failure, the switch also needs the backup tunnel to be up already, which is why BFD runs on all tunnels at all times.

  • Test by shutting a transport interface and timing the loss with a continuous ping.
  • Do the test in a window and note both the detection time and the recovery time.
  • After restoring, check that traffic returns and no routes are left unresolved.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan bfd sessions
SYSTEM IP    SITE  STATE  SOURCE TLOC   REMOTE TLOC
10.255.1.1   100   down   mpls          mpls
10.255.1.1   100   up     biz-internet  biz-internet
The MPLS session to HUB-01 has dropped while the internet session stays up, so traffic uses the internet path. The columns are illustrative.

Learn more: BFD SessionsApplication-Aware RoutingEligible Routes and Resolution

Test yourself

Predict · scenario 1

The provider silently drops MPLS traffic but the interface stays up. How does BR-01 find out?

Predict · scenario 2

The Controllers become unreachable but tunnels are healthy. What happens to existing traffic?

FAQ

Which failure is faster to detect?
A local interface going down is detected at once. A failure somewhere in the provider network is found only when BFD hellos stop, so it takes the detection time.
What if the Controllers are lost but the tunnels are fine?
Existing tunnels and routes continue to work for a time, because the data plane does not need the Controller for each packet. New changes and new sites wait until control connections return.
How can convergence be shortened?
Reduce BFD timers carefully, use more than one transport, and use dual WAN Edges at critical sites. Each has a cost: false alarms, circuit cost and complexity.