Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Tunnels

Direct answer

SD-WAN tunnels are IPsec tunnels between WAN edge TLOCs (transport locators); BFD runs inside them to measure path quality.

When to use this

Use it when SD-WAN IPsec/BFD tunnels are down on one or more transports.

First 30 seconds

1. Edges build IPsec tunnels to TLOCs learned via OMP.

2. BFD runs over each tunnel.

3. NAT traversal needs correct ports.

4. MTU/TCP MSS adjustments matter.

5. Down tunnels often mean transport or NAT issues.

Operational verification

TLOC learned → IPsec tunnel → BFD up → forwarding

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco Catalyst SD-WAN
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco Catalyst SD-WAN
Scope / prerequisiteUse it when SD-WAN IPsec/BFD tunnels are down on one or more transports.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification and output interpretation Verify boundary

Inspect TLOC/tunnel peers, BFD state and loss/latency metrics, then correlate with route/policy selection and the actual next hop used for a test flow.

Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • SD-WAN tunnels are IPsec tunnels between WAN Edge TLOCs.
  • BFD runs over each tunnel to measure loss, latency and jitter.
  • Tunnels form automatically based on OMP and policy.
Key checks
  • show sdwan bfd sessions — tunnel state
  • show sdwan tunnel statistics — tunnel counters
  • show 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)

ParameterDefault or rule
EncapsulationIPsec (GRE also possible)
IPsec rekey24 hours by default; at least twice the OMP graceful restart timer
BFD hello1000 ms, multiplier 7, per color
Max tunnel interfaces per edgeEight
Same-site tunnelsNot formed by default between devices with the same site ID
restrict on a colorTunnels 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 colorRemote colorResult
biz-internetbiz-internetTunnel over public addresses
biz-internetmpls (restricted)No tunnel
mplsmplsTunnel over private addresses
ltebiz-internetTunnel (both public), unless restricted

MTU

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

SymptomCheck
No BFD session to a siteControl policy filtering TLOCs, restrict, NAT type, firewall on the DTLS/IPsec ports
Session flappingLoss on the transport; BFD multiplier; LTE signal
Session up, traffic failsMTU, or service-VPN routing at the remote site

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco Catalyst SD-WAN Current documentation reviewed 2026-09-14

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%
Embedded reference data

Quick lookup tables

Tunnels · operational reference

Compact architecture/state/evidence reference for fast lookup.

Tunnel evidenceMeaning
TLOC peerCandidate endpoint pair
BFD UpPath liveness
Loss/latencyPath quality
Flow next hopActual usage
Confirmation

Confirm action

Continue?