Use it when SD-WAN IPsec/BFD tunnels are down on one or more transports.
Tunnels
TLOC learned → IPsec tunnel → BFD up → forwarding
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
show sdwan bfd sessions— tunnel stateshow sdwan tunnel statistics— tunnel countersshow sdwan ipsec outbound-connections— IPsec SAs
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
SD-WAN tunnels: IPsec between TLOCs, checked by BFD
WAN Edges build data-plane tunnels between their TLOCs. A TLOC is identified by system IP, color and encapsulation, IPsec or GRE (design guide). The Controllers reflect IPsec keys with the OMP information, so tunnels come up without an IKE negotiation between each pair of edges.
Tunnel parameters (design guide)
| Parameter | Default or rule |
|---|---|
| Encapsulation | IPsec (GRE also possible) |
| IPsec rekey | 24 hours by default; at least twice the OMP graceful restart timer |
| BFD hello | 1000 ms, multiplier 7, per color |
| Max tunnel interfaces per edge | Eight |
| Same-site tunnels | Not formed by default between devices with the same site ID |
restrict on a color | Tunnels only to TLOCs of the same color |
Edge# show sdwan bfd sessions system-ip 10.2.2.2
Edge# show sdwan tunnel statistics dst-ip 203.0.113.2
tunnel stats ipsec 198.51.100.2 203.0.113.2 12346 12346
system-ip 10.2.2.2
local-color biz-internet
remote-color biz-internet
tunnel-mtu 1442
tx_pkts 88213301
rx_pkts 84120912
Edge# show sdwan app-route stats remote-system-ip 10.2.2.2
Which tunnels form
| Local color | Remote color | Result |
|---|---|---|
| biz-internet | biz-internet | Tunnel over public addresses |
| biz-internet | mpls (restricted) | No tunnel |
| mpls | mpls | Tunnel over private addresses |
| lte | biz-internet | Tunnel (both public), unless restricted |
IPsec overhead reduces the tunnel MTU (1442 bytes in the example). Set TCP MSS adjustment on service-side interfaces, and check tunnel-mtu when large packets fail.
Tunnel quality
BFD measures loss, latency and jitter on every tunnel. Application-aware routing uses those measurements to choose tunnels per application (design guide).
Troubleshooting
| Symptom | Check |
|---|---|
| No BFD session to a site | Control policy filtering TLOCs, restrict, NAT type, firewall on the DTLS/IPsec ports |
| Session flapping | Loss on the transport; BFD multiplier; LTE signal |
| Session up, traffic fails | MTU, or service-VPN routing at the remote site |
Documented example, not captured output.
Worked example
SD-WAN builds IPsec tunnels between the transport connections of every pair of sites that should communicate. The number of tunnels grows quickly with sites and transports, so topology and tunnel restrictions are part of the design. The worked example counts the tunnels for a simple two-site case and explains why large networks restrict them.
SD-WAN tunnels are IPsec (ESP over UDP) between TLOCs, keyed through OMP rather than IKE (IKE is still used to third-party/cloud gateways).
Worked example: two sites, each with MPLS and internet. Without restrictions, up to 4 tunnels form (MPLS–MPLS, MPLS–internet, internet–MPLS, internet–internet); in practice restrict on the MPLS colour keeps MPLS-to-MPLS only, giving 2 tunnels. With 100 sites in full mesh, tunnel count grows quadratically, which is why large designs use regional hubs or tunnel-group restrictions.
Architecture/protocol mechanics and state model
Data-plane connectivity is built between compatible transport locations, producing a set of possible overlay paths between sites. BFD provides fast liveliness/performance information for those paths, while policy and route selection determine whether a given application/prefix actually uses a specific tunnel.
Limits and common misconceptions
A tunnel can be Up while no relevant route points to it; a route can prefer a tunnel whose application SLA is poor. Tunnel health is only one layer.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Allow intended transport combinations, preserve MTU/headroom for encapsulation, and align tunnel path availability with centralized/local preference policy.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Software-Defined Networking → Cisco Catalyst SD-WAN → Concepts → Tunnels. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/routers/sd-wan/series.html · confidence 94%Quick lookup tables
Tunnels · operational reference
Compact architecture/state/evidence reference for fast lookup.
| Tunnel evidence | Meaning |
|---|---|
| TLOC peer | Candidate endpoint pair |
| BFD Up | Path liveness |
| Loss/latency | Path quality |
| Flow next hop | Actual usage |