Cisco Catalyst SD-WAN BFD: Automatic Suspension Configuration and Verification

Cisco Catalyst SD-WAN BFD: Automatic Suspension

This document details the automatic suspension feature for Bidirectional Forwarding Detection (BFD) sessions within Cisco Catalyst SD-WAN. It covers the functionality, benefits, configuration, and verification methods.

Feature History

Feature Name Release Information Description
Automatically Suspend Unstable Cisco Catalyst SD-WAN BFD Sessions Cisco IOS XE Catalyst SD-WAN Release 17.10.1a
Cisco Catalyst SD-WAN Control Components Release 20.10.1
This feature allows automatic suspension of unstable Cisco Catalyst SD-WAN Bidirectional Forwarding Detection (BFD) sessions based on flap-cycle parameters or Service-Level Agreement (SLA) parameters. It also enables monitoring of suspended BFD sessions and manual reset of suspended BFD sessions.

Information About Cisco Catalyst SD-WAN BFD

Within Cisco Catalyst SD-WAN, BFD is used to detect failures in the overlay tunnel. It offers the following characteristics:

Information About Automatically Suspending BFD Sessions

Minimum supported releases: Cisco IOS XE Catalyst SD-WAN Release 17.10.1a and Cisco Catalyst SD-WAN Control Components Release 20.10.1.

BFD sessions can experience flapping, where a session enters a down state and then returns to an up state. This disruption affects applications running on the tunnel. Automatic suspension prevents applications from being unnecessarily steered to different overlay paths due to unstable BFD sessions.

BFD Suspension Parameters

Cisco Catalyst SD-WAN provides an automatic suspension mechanism based on the following parameters:

Benefits of Automatically Suspending BFD Sessions

Note: An SLA threshold is an optional configuration. If configured, it is recommended to set higher metrics for loss, latency, and jitter to avoid conflicts with SLA parameters. For more information on SLA classes, see the Cisco Catalyst SD-WAN Policies Configuration Guide.

How Automatically Suspending BFD Sessions Works

Minimum supported releases: Cisco IOS XE Catalyst SD-WAN Release 17.10.1a and Cisco Catalyst SD-WAN Control Components Release 20.10.1.

BFD session parameters can be configured using a Cisco SD-WAN Manager device CLI template or a CLI add-on template.

BFD Session Flap Cycle and SLA Parameters

Field Description
enable-lr Enable last resort upon BFD suspension. For more information, see last-resort-circuit.
duration Duration of time for which the BFD session remains in the suspended state.
flapping-window Time frame or window to detect the BFD session flap.
flap-count Number of BFD session flaps after which the BFD session is suspended. The recommended flap-count is 3.
thresholds SLA threshold triggering a BFD session to be suspended.

BFD Session Suspension Workflow

If a BFD session exceeds the flap-count within the configured flapping-window, it remains suspended until the configured duration interval expires. For a BFD session in the suspended state, the following occurs:

  1. If a session reflaps or exceeds defined threshold parameters, it is moved back to the suspended state, and the duration is reset.
  2. If the session does not flap and remains within the threshold range, it is automatically removed from the suspended state after the duration interval expires.
  3. Suspended BFD sessions can be manually removed using the request platform software sdwan auto-suspend reset command. For more information, see the Cisco IOS XE SD-WAN Qualified Command Reference Guide.

Regular SLA measurement and echo response or path maximum transmission unit (PMTU) control traffic is sent across the suspended BFD session.

Note: Data traffic is not sent across the overlay network when a BFD session is in the suspended state.

Note: This feature does not manipulate the state of the BFD session itself.

Note: As the BFD suspension feature is for forward data traffic, enable BFD suspension on the remote-end node to block reverse data traffic and avoid dropping data traffic.

Restrictions for Automatically Suspending BFD Sessions

Minimum supported releases: Cisco IOS XE Catalyst SD-WAN Release 17.10.1a and Cisco Catalyst SD-WAN Control Components Release 20.10.1.

Configure Automatic Suspension of BFD Sessions Using a CLI Template

Minimum supported releases: Cisco IOS XE Catalyst SD-WAN Release 17.10.1a and Cisco Catalyst SD-WAN Control Components Release 20.10.1.

For more information about using CLI templates, see CLI Add-On Feature Templates and CLI Templates.

Note: By default, CLI templates execute commands in global config mode.

Enable BFD Automatic Suspension

Enable BFD automatic suspension with or without last resort:

auto-suspend
enable-lr

Or disable last resort:

auto-suspend
no enable-lr

Note: Before enabling last resort for the BFD automatic suspension feature, ensure the last-resort circuit is enabled on a tunnel interface. For more information on last resort, see last-resort-circuit.

Configure Flap Parameters

Configure the following flap parameters:

duration sec
flapping-window sec
flap-count flap-count

Note: When using SLA-based BFD automatic suspension, the duration should be greater than the product of the BFD multiplier and the BFD poll interval. Cisco recommends configuring BFD automatic suspension duration to be more than 30 minutes.

Configure SLA Parameters (Optional)

Configure SLA thresholds:

thresholds
 color all
 jitter jitter-value
 latency latency-value
 loss loss-value

Prior to enabling SLA thresholds, configure BFD session flapping parameters and duration.

Here is a complete configuration example for configuring BFD automatic suspension with last resort enabled:

auto-suspend
enable-lr
duration 3600

Verify Automatic Suspension of BFD Sessions

Minimum supported releases: Cisco IOS XE Catalyst SD-WAN Release 17.10.1a and Cisco Catalyst SD-WAN Control Components Release 20.10.1.

Verifying Suspended Sessions

The show sdwan bfd sessions suspend command displays the total suspend count, indicating the number of times the BFD session has been suspended:

SYSTEM IP STATE COLOR SOURCE TLOC REMOTE TLOC SOURCE IP DST PUBLIC IP DST PUBLIC PORT ENCAP RE-SUSPEND COUNT SUSPEND TIME LEFT TOTAL COUNT SUSPEND DURATION
172.16.255.14 up lte lte 10.1.15.15 10.1.14.14 12426 ipsec 0 0:00:19:52 18 0:00:00:07

The following columns are added for analyzing BFD session suspension metrics: RE-SUSPEND COUNT, SUSPEND TIME LEFT, TOTAL COUNT, and SUSPEND DURATION.

Verifying BFD Session Metrics

The show sdwan bfd sessions alt command displays if a suspended flag has been added to a BFD session and other BFD session metrics:

SYSTEM IP SITE ID STATE COLOR SOURCE TLOC REMOTE TLOC SOURCE IP DST PUBLIC IP DST PUBLIC PORT ENCAP BFD-LD FLAGS UPTIME
172.16.255.14 400 up 3g lte 10.0.20.15 10.1.14.14 12426 ipsec 20004 NA 0:19:30:40
172.16.255.14 400 up lte lte 10.1.15.15 10.1.14.14 12426 ipsec 20003 Sus 0:00:02:46
172.16.255.16 600 up 3g lte 10.0.20.15 10.0.106.1 12366 ipsec 20002 NA 0:19:30:40
172.16.255.16 600 up lte lte 10.1.15.15 10.0.106.1 12366 ipsec 20001 NA 0:19:20:14

The following columns are added for BFD suspension: BFD-LD and FLAGS.

Local discriminator (LD) is a unique identifier for all BFD sessions. The value for LD must be a nonzero value. LD is an internal value that Cisco Technical Assistance Center (TAC) uses for troubleshooting BFD sessions.

A BFD session flag, Sus, is added for identifying BFD sessions that are suspended.

Verifying BFD Session History

The following sample output displays the BFD sessions for which the Sus flag is added to the BFD session:

SYSTEM IP SITE ID COLOR STATE DST PUBLIC IP DST PUBLIC PORT ENCAP TIME RX PKTS TX PKTS DEL FLAGS
172.16.255.16 600 lte up 10.0.106.1 12366 ipsec 06/03/22 02:51:06 0 0 0 []
172.16.255.16 600 lte up 10.0.106.1 12366 ipsec 06/03/22 02:52:04 153 154 0 [Sus]
172.16.255.16 600 lte down 10.0.106.1 12366 ipsec 06/03/22 03:00:50 1085 1085 0 [Sus]

Verifying BFD Session Summary

The following sample output displays a BFD session summary, including which BFD sessions are up, down, flapped, or that have been suspended:

Value
sessions-total 4
sessions-up 4
sessions-max 4
sessions-flap 4
poll-interval 60000
sessions-up-suspended 1
sessions-down-suspended 0

The following fields are added for BFD session suspension: sessions-flap, sessions-up-suspended, and sessions-down-suspended.

Models: Catalyst SD-WAN BFD, SD-WAN BFD, BFD

File Info : application/pdf, 8 Pages, 1.10MB

PDF preview unavailable. Download the PDF instead.

cisco-sdwan-bfd

References

DITA Open Toolkit XEP 4.30.961; modified using iText 2.1.7 by 1T3XT

Related Documents

Preview IP Routing: BFD Configuration Guide, Cisco IOS XE Everest 16.6
This guide provides comprehensive instructions on configuring Bidirectional Forwarding Detection (BFD) within Cisco IOS XE Everest 16.6. It covers BFD protocol fundamentals, configuration steps for various routing protocols, troubleshooting, and specific use cases like BFD on BDI interfaces and IS-IS IPv6 client support.
Preview Configure NAT66 on Cisco Catalyst SD-WAN: A Comprehensive Guide
This guide details configuring NAT66 Direct Internet Access (DIA) on Cisco Catalyst SD-WAN, covering its benefits, restrictions, and step-by-step configuration using templates and CLI.
Preview Managing SD-Routing Devices with Cisco SD-WAN Manager
A comprehensive guide on managing and monitoring SD-Routing devices using Cisco SD-WAN Manager, covering onboarding, software management, monitoring, and troubleshooting.
Preview Cisco IOS XE Catalyst SD-WAN Release 17.7.x Release Notes
Detailed release notes for Cisco IOS XE Catalyst SD-WAN Release 17.7.x, covering new features, enhancements, behavior changes, and resolved/open bugs for Cisco SD-WAN devices.
Preview Cisco Catalyst SD-WAN Control Components Compatibility Matrix Release 20.12.x
This document provides a compatibility matrix for Cisco Catalyst SD-WAN Control Components, Release 20.12.x, detailing compatible software versions for various Cisco routing platforms and virtual platforms.
Preview Cisco IOS XE Catalyst SD-WAN CLI Templates: Configuration and Best Practices
A comprehensive guide to configuring Cisco IOS XE Catalyst SD-WAN devices using CLI templates, covering both device configuration-based and intent-based approaches, with detailed examples for various network services.
Preview Managing SD-Routing Devices with Cisco SD-WAN Manager Guide
A comprehensive guide detailing how to manage and monitor SD-Routing devices using Cisco SD-WAN Manager, covering onboarding, configuration, and troubleshooting for enterprise networks.
Preview IP Routing Configuration Guide: Cisco IOS XE Dublin 17.11.x for Catalyst 9600 Switches
Comprehensive configuration guide for Cisco Catalyst 9600 Series Switches running Cisco IOS XE Dublin 17.11.x. Covers IP routing protocols like BFD, OSPF, EIGRP, MSDP, and IPv6, offering detailed instructions and examples for network administrators.