Course contents

Unit 11: Lifecycle and deep troubleshootingLesson 11.1 (1 of 7 in this unit)51 of 63 in the Advanced Cisco SD-WAN course

Layered root-cause framework

A fixed order for any SD-WAN fault: scope it, test five layers, keep an evidence log and verify at the layer that broke.

Advanced · 18 min read

You'll learn to scope an SD-WAN fault, test the five layers in order, keep an evidence log, and prove the fix at the layer where the fault was found.

Technical definition

A root-cause framework is a fixed order of questions that narrows a symptom to one cause. In SD-WAN the order follows how a packet gets through the fabric: the underlay carries the tunnels, the control connections build the routing picture, OMP routes decide where traffic should go, IPsec and BFD tunnels carry it, and policy and the service side decide what is allowed. A fault at one layer hides the layers above it, so the order matters.

Why a framework

Beginners meet an SD-WAN fault as a symptom: a site is slow, an application breaks, a branch cannot reach the data centre. The first minutes decide how long the repair takes. If you start by changing a policy because policy is what you know, you may fix nothing and add a second fault. A framework replaces guessing with a short list of questions that run in the same order every time.

The idea is simple. Every symptom has a scope (how many sites, VPNs, transports or applications it touches), a time (when it started and what changed just before) and a layer (where in the path the first thing is wrong). You find the scope and the time from people and logs, and the layer from the router.

Diagram
Six steps of the method
Six steps of the method

Scope, layer, evidence, fix, verify, record.

  1. Scopewho, what,since when
  2. Layertest the fivein order
  3. Evidencewrite downeach answer
  4. Fixone changeat one layer
  5. Verifysame checknow passes
  6. Recordcause, fix,prevention
Verify at the layer where the fault was found, then record what you learned.

Step 1: fix the scope

Before you open a CLI, ask four questions. How many sites are affected? Is it one transport or both? Is it one VPN or all of them? Is it one application or everything? The answers are not decoration. A fault that touches every site at the same moment is rarely a branch problem, and a fault that touches one site on one transport is rarely a controller problem.

Diagram
Two scopes, two starting points
Two scopes, two starting points

A fault at every site starts at the controllers or at a recent change. A fault at one site starts at that site's underlay or configuration.

Every siteControllers, Manager,certificate, recent push
One siteLocal underlay,local configuration
The scope picks the layer to test first.
Diagram
Scope questions and what each narrows
Scope questions and what each narrows
QuestionIf the answer is narrowIf the answer is wide
How many sites?One site's underlay or configControllers, certificates, a shared policy
Which transport?That provider or linkNot a transport fault
Which VPN?Service-side route or VPN policyControl or tunnel layer
Which application?Data policy, AAR or QoS for itRouting or tunnel layer
Since when?Match against the change logLook for a slow change, such as certificate expiry
Write the answers down. They are the first lines of the evidence log.

Step 2: test the five layers in order

The layers follow the life of a packet. The underlay must work before a tunnel can form. The control connections must be up before the edge learns any routes. A route must be resolved before traffic follows it. A tunnel must carry that traffic. Only then do policy and the service side decide what is allowed.

Diagram
Five layers and the first check at each
Five layers and the first check at each

Underlay, control connections, OMP routes, tunnels, policy and service side, with the first command for each.

  1. 1 UnderlayTransport IP, default route,ping the controller address
  2. 2 Controlshow sdwan controlconnections
  3. 3 OMP routesshow sdwan ompsummary and routes
  4. 4 Tunnelsshow sdwan bfd sessionsand tunnel statistics
  5. 5 Policy and serviceshow sdwan policy from-vsmart,ping in the VRF
Stop at the first layer that gives a bad answer. The layers above it cannot be judged yet.

Each layer has one question a person can answer in a minute: does the router have a path out, is the control connection up, does the route exist and resolve, is the tunnel up, and does anything on the way block the traffic. If you can answer yes to all five and the symptom remains, the fault is outside SD-WAN, in the LAN, the server or the application.

Diagram
What a pass and a fail look like
What a pass and a fail look like
LayerA pass looks likeA fail looks likeThen
1 UnderlayDefault route present; controller address answersNo route, or the ping failsFix reachability first
2 ControlConnections to the controllers are upA connection stays down or keeps restartingCheck certificates, clock and firewall
3 OMP routesRoute listed with status C, I, RRoute missing, or not resolvedCheck TLOC resolution and policy
4 TunnelsBFD up with few transitionsBFD down or many transitionsUse the IPsec and BFD failures lesson
5 Policy and serviceNo sequence matches the symptom; VRF ping worksA sequence drops the trafficChange policy for one site list first
State names and output layout depend on the software release. The idea is the same: one clear pass or fail per layer.

Step 3: keep an evidence log

An evidence log is a table you fill in as you go: the time, what you checked, what you saw and what that means. It looks like paperwork, but it has two uses. It stops you testing the same thing twice, and it lets someone else take over without starting again.

Diagram
An evidence log, started
An evidence log, started
TimeCheckResultConclusion
09:05Scope: BR-02 only, VPN 10, since 08:40Other sites fineNot a controller fault
09:08Change logPolicy activated 08:35Suspect policy, not proven
09:12Control connections on BR-02All upLayers 1 and 2 pass
09:14OMP route to hub LANPresent and resolvedLayer 3 passes
09:17BFD sessionsUp on biz-internetLayer 4 passes
Four layers pass, so the fault is at layer 5, and the policy activation is now the main suspect.

Narrow the change log with scope, time and layers

The change log is the shortest route to a suspect, but only after it is filtered. Three filters do the work: did the change happen before the symptom started, could it reach the affected site, and is the layer it touches still failing or untested on that site.

Worked example (assumed change log, result computed by script). BR-02 lost access to the hub LAN in VPN 10 at 08:40, and layers 1 to 4 pass on BR-02. Five changes were made that day.

Diagram
Filtering a change log
Filtering a change log
TimeChangeBefore 08:40Reaches BR-02Verdict
02:10Validator certificate renewed, all sitesYesYesRuled out: control connections are up
07:50Provider maintenance on the BR-02 mpls circuitYesYesRuled out: underlay and BFD pass, traffic uses biz-internet
08:12Template push to BR-01 onlyYesNoRuled out: another site
08:35Data policy GUEST-LIMITS activated for VPN 10YesYesSuspect: layer 5 is the one left
09:02Software upgrade scheduled on BR-03NoNoRuled out: after the symptom, other site
Five changes become four after the time filter, three after the reach filter and one after the layer tests.

The filter ranks suspects. It proves nothing by itself, so the suspect still needs evidence from the router, which the worked case below supplies.

A worked case

Users at BR-02 cannot reach the server at HUB-01 (192.168.10.0/24) in VPN 10. BR-01 can. The scope says one site, so you skip the controllers and begin on BR-02. The control connections are up, the route is present and resolved, and the BFD session to HUB-01 is up. Layers 1 to 4 pass, so the next question is about policy.

Diagram
Where the BR-02 fault was found
Where the BR-02 fault was found

Underlay, control connections, OMP routes and tunnels all pass on BR-02. The policy and service layer is the one that shows a drop sequence for the hub LAN.

  1. Underlaypass
  2. Controlpass
  3. OMPpass
  4. Tunnelspass
  5. Policydrop found
Four passes narrow the search to the fifth layer.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show sdwan omp routes 192.168.10.0/24
VPN  PREFIX            FROM PEER    TLOC                       STATUS
10   192.168.10.0/24   10.255.0.11  10.255.1.1 biz-internet    C,I,R
The status letters C, I and R mean chosen, installed and resolved. The route is healthy. The overlay can carry this traffic, so the fault is not in routing or tunnels.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show sdwan policy from-vsmart
from-vsmart data-policy GUEST-LIMITS
 direction from-service
 vpn-list VPN10
  sequence 10
   match
    destination-ip 192.168.10.0/24
   action drop
A data policy that drops traffic to the hub LAN is applied from the service side at BR-02. It was activated at 08:35, five minutes before the first complaint. The evidence is now complete: the scope is one site, the layers above policy pass, and the policy matches the symptom. The fix is a change to the policy, tested on a single site list before it is activated for others.

Notice what did not happen. Nobody rebooted BR-02, rebuilt a tunnel or opened a provider ticket. Each of those would have taken time and fixed nothing, because the evidence ruled them out.

Step 4 and 5: fix once, verify where it broke

Make one change at one layer. Then verify with the same check that failed, not with a different one, because a different check can pass for another reason. In the case above, the verification is that the policy output no longer shows the drop sequence, followed by a ping from BR-02 inside VPN 10 to 192.168.10.1. Finally, run the five layers once more quickly to confirm that nothing else moved.

Diagram
Which check proves the fix
Which check proves the fix

The check that failed before, now showing no drop sequence, proves the fault is gone. A ping to some other host can pass for reasons unrelated to the fix and proves little.

The same check that failedDrop sequence gone fromthe policy output
A different checkA ping to another host passesfor reasons unrelated to the fix
Use the failed check first, then a ping inside VPN 10 as a second proof.

Learn more: OMP and BFD Route and Tunnel Fault IsolationControl Connection Diagnostics

Step 6: record the cause

Write three lines when you finish: the cause, the fix, and what would have prevented it. In the case above the prevention is to activate a policy for one site list first and to check the evidence on that site before widening it. These notes are the part most teams skip, and they are the part that stops the same ticket returning next quarter.

Diagram
The three-line record for the BR-02 case (example)
The three-line record for the BR-02 case (example)
LineEntry
CauseData policy GUEST-LIMITS, activated at 08:35, dropped traffic to 192.168.10.0/24 in VPN 10 at BR-02
FixRemoved the drop sequence, then confirmed the policy output and a ping from BR-02 inside VPN 10
PreventionActivate a policy for one site list first and check the evidence at that site before widening it
Written from the worked case above. The names and times are the lesson's assumed values.

Test yourself

Predict · scenario 1

Every site loses its Controller connection at the same minute. Where do you start?

Predict · scenario 2

BR-02's control connections are up, the route to the hub is chosen, installed and resolved, and BFD is up, yet traffic fails. Which layer is next?

Predict · scenario 3

Why verify with the same check that failed?

Predict · scenario 4

A change log has five entries. Two happened after the symptom started, and one touched only another site. How many suspects remain after those filters?

Predict · scenario 5

A route shows C, I, R, BFD is up, and traffic still fails. A colleague suggests rebooting the router. What does the framework suggest?

Predict · scenario 6

Control connections are down and OMP routes are missing at the same site. Which layer is worked on first?

Predict · scenario 7

A change log has eight entries. Three came after the symptom started. Of the other five, two touched only other sites. How many suspects remain before the layer tests?

Predict · scenario 8

All five layers answer yes on BR-02, and the policy output shows no drop sequence for the affected traffic, yet the application still fails. What does the framework suggest?

Predict · scenario 9

What are the three lines to write once a fault is fixed?

FAQ

Why scope the fault before running commands?
Whether one site, one transport, one VPN or the whole fabric is affected tells you which layer to test first. A fault at every site points at the controllers or a recent change. A fault at one site points at that site's underlay or configuration.
Why ask what changed?
Most faults follow a change: a template push, a policy activation, a certificate renewal, an upgrade or a provider change. A list of recent changes is the shortest route to a suspect, and the Manager audit log and the provider's notices are where to find it.
Should I fix the first problem I find?
Record it, then test the layers above it before you change anything. A real fault at one layer can be a side effect of a fault at the layer below, and changing the wrong thing makes later evidence harder to read.
What if two layers show faults?
Fix the lowest one first, then repeat the tests from that layer upward. A fault at the control layer can make the OMP layer look broken, and the upper fault may disappear once the lower one is repaired.
What if there is no change log?
Use the Manager audit log, the device logs and the provider's notices, and treat slow changes such as certificate expiry as possible causes. Write the gap into the evidence log so the next incident starts with a better record.