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.
Scope, layer, evidence, fix, verify, record.
- Scopewho, what,since when
- Layertest the fivein order
- Evidencewrite downeach answer
- Fixone changeat one layer
- Verifysame checknow passes
- Recordcause, fix,prevention
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.
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.
| Question | If the answer is narrow | If the answer is wide |
|---|---|---|
| How many sites? | One site's underlay or config | Controllers, certificates, a shared policy |
| Which transport? | That provider or link | Not a transport fault |
| Which VPN? | Service-side route or VPN policy | Control or tunnel layer |
| Which application? | Data policy, AAR or QoS for it | Routing or tunnel layer |
| Since when? | Match against the change log | Look for a slow change, such as certificate expiry |
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.
Underlay, control connections, OMP routes, tunnels, policy and service side, with the first command for each.
- 1 UnderlayTransport IP, default route,ping the controller address
- 2 Controlshow sdwan controlconnections
- 3 OMP routesshow sdwan ompsummary and routes
- 4 Tunnelsshow sdwan bfd sessionsand tunnel statistics
- 5 Policy and serviceshow sdwan policy from-vsmart,ping in the VRF
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.
| Layer | A pass looks like | A fail looks like | Then |
|---|---|---|---|
| 1 Underlay | Default route present; controller address answers | No route, or the ping fails | Fix reachability first |
| 2 Control | Connections to the controllers are up | A connection stays down or keeps restarting | Check certificates, clock and firewall |
| 3 OMP routes | Route listed with status C, I, R | Route missing, or not resolved | Check TLOC resolution and policy |
| 4 Tunnels | BFD up with few transitions | BFD down or many transitions | Use the IPsec and BFD failures lesson |
| 5 Policy and service | No sequence matches the symptom; VRF ping works | A sequence drops the traffic | Change policy for one site list first |
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.
| Time | Check | Result | Conclusion |
|---|---|---|---|
| 09:05 | Scope: BR-02 only, VPN 10, since 08:40 | Other sites fine | Not a controller fault |
| 09:08 | Change log | Policy activated 08:35 | Suspect policy, not proven |
| 09:12 | Control connections on BR-02 | All up | Layers 1 and 2 pass |
| 09:14 | OMP route to hub LAN | Present and resolved | Layer 3 passes |
| 09:17 | BFD sessions | Up on biz-internet | Layer 4 passes |
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.
| Time | Change | Before 08:40 | Reaches BR-02 | Verdict |
|---|---|---|---|---|
| 02:10 | Validator certificate renewed, all sites | Yes | Yes | Ruled out: control connections are up |
| 07:50 | Provider maintenance on the BR-02 mpls circuit | Yes | Yes | Ruled out: underlay and BFD pass, traffic uses biz-internet |
| 08:12 | Template push to BR-01 only | Yes | No | Ruled out: another site |
| 08:35 | Data policy GUEST-LIMITS activated for VPN 10 | Yes | Yes | Suspect: layer 5 is the one left |
| 09:02 | Software upgrade scheduled on BR-03 | No | No | Ruled out: after the symptom, other site |
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.
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.
- Underlaypass
- Controlpass
- OMPpass
- Tunnelspass
- Policydrop found
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
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
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.
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.
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.
| Line | Entry |
|---|---|
| Cause | Data policy GUEST-LIMITS, activated at 08:35, dropped traffic to 192.168.10.0/24 in VPN 10 at BR-02 |
| Fix | Removed the drop sequence, then confirmed the policy output and a ping from BR-02 inside VPN 10 |
| Prevention | Activate a policy for one site list first and check the evidence at that site before widening it |
Test yourself
Every site loses its Controller connection at the same minute. Where do you start?
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?
Why verify with the same check that failed?
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?
A route shows C, I, R, BFD is up, and traffic still fails. A colleague suggests rebooting the router. What does the framework suggest?
Control connections are down and OMP routes are missing at the same site. Which layer is worked on first?
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?
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?
What are the three lines to write once a fault is fixed?