Start at the source, not at the complaint
A user at BR-02 cannot reach a new network at BR-01. The first reflex is to open BR-02 and look at its route table. That check is fine, but all it can say is that the route is absent, and it does not say where it was lost. The route passes through several hands on its way: the router that advertises it, the Controller that ranks and filters it, and the router that finally installs it. A trace asks the same question at each of those places, and the answer changes from present to absent at exactly one point.
Starting at the branch with the complaint shows only that the route is absent. Starting at the source and the Controller shows the last place that has the route, so the fault is between that place and the next.
| Method | Worst case | Average |
|---|---|---|
| Start at the branch and step back toward the source | 5 checks | 3.8 checks |
| Start at the source and step forward | 5 checks | 3.0 checks |
| Check the middle first, then the half that holds the fault | 3 checks | 2.4 checks |
Five checkpoints and what each one proves
The path of a route can be cut into five checkpoints that follow the order of operations in the earlier lessons. At each checkpoint the route is either present or absent, and each has one place where the evidence is read.
The route first has to enter OMP at the originating router. The Controller has to accept it through its inbound control policy, rank it, and advertise it to the branch through the outbound policy and the path limit. The branch has to resolve it and install it.
- Enteradvertised intoOMP at the source
- Acceptinbound policyon the Controller
- Rankstale, preferenceand tie-breakers
- Advertiseoutbound policyand path limit
- Installresolved TLOC,route in the VRF
| Checkpoint | Question | Where and what to run | Absent means |
|---|---|---|---|
| Enter | Does the source put the prefix into OMP? | At the source, the prefix in the VRF table; on the Controller, show omp routes with the vpn and the received option | The prefix did not leave the source, or its source was not advertised |
| Accept | Does an inbound control policy reject it? | On the Controller, show running-config policy control-policy and show running-config apply-policy | A sequence or the default action rejects it on arrival |
| Rank | Is it chosen, and does it rank above the others? | On the Controller, show omp routes with the prefix and the detail option, and the status codes | It is stale, outranked or looped |
| Advertise | Was it sent to this branch? | On the Controller, show omp routes with the vpn and the advertised detail option | An outbound policy rejected it or the path limit was filled first |
| Install | Is the TLOC reachable and the route in the VRF? | At the branch, show sdwan omp routes with the vpn, show sdwan omp tlocs, show sdwan bfd sessions and show ip route vrf with the VPN | The route is unresolved, or it is in OMP and not in the routing table |
From what you see to a likely cause
When a checkpoint shows the route absent, the status codes at the neighbouring checkpoint and a short list of causes narrow the search. Four families cover most cases.
The route did not enter OMP, a policy filtered it, the ranking or the path limit left it out, or it arrived but could not be resolved or installed.
- Not enteredthe source was notadvertised into OMP
- Filteredan inbound or outboundcontrol policy
- Left outstale, outrankedor past the path limit
- UnusableTLOC unresolved ornot installed
| What you see | Likely cause | Where to fix it |
|---|---|---|
| The prefix is in the source VRF and absent from the Controller's received routes | That kind of source is not advertised into OMP; connected, static, BGP and external OSPF routes are not advertised by default in the 26.x guide | The advertise settings of the VPN on the source router |
| Present in the Controller's received routes and absent from its table | A sequence of the inbound control policy or its default action rejects it | The control policy and the site list it is applied to, on the Controller |
| In the Controller's table with the chosen code and absent from the advertised view for the branch | The outbound control policy rejected it, or the send path limit was filled by other routes | The outbound sequences, the path limit and the preferences of the competing routes |
| In the Controller's table with the stale code | The control connection to the originating router is lost and its routes are held | The control path of the originator, not the policy |
| In the branch's OMP table with the unresolved code | The TLOC cannot be reached, or the tunnel to it is down | The TLOC table, BFD sessions and the transport |
| In the branch's OMP table as chosen, installed and resolved, and traffic still fails | The fault is past the overlay: the next hop, the service side or a data policy | The far-end service VPN, as in the quiet blackholes lesson |
The originating router holds the local routing table and its advertise settings. The Controller holds the received routes, the control policy, the ranked table and the advertised view per branch. The branch holds the OMP table it received, the TLOC and BFD state and its routing table.
- Source routerLocal routing tableAdvertise settings per VPN
- ControllerReceived, ranked, advertisedControl policy and where applied
- Branch routerOMP table as receivedTLOC, BFD and the VRF table
A worked case: the new network that nobody can reach
BR-01 (site 101) adds a new LAN, 10.30.1.0/24, on a VLAN interface in VPN 10. Users at BR-02 (site 102) cannot reach it, although every older BR-01 network works. The route is absent at BR-02, which fits any of the four families, so the trace goes to the Controller first, the middle of the path.
Controller#show omp routes vpn 10 10.30.1.0/24 received VPN PREFIX FROM PEER ORIGINATOR TLOC COLOR STATUS (no entries)
BR-01#show ip route vrf 10 10.30.1.0 255.255.255.0 Routing entry for 10.30.1.0/24 Known via "connected", distance 0, metric 0 (connected, via interface) Routing Descriptor Blocks: * directly connected, via Vlan30
At the branch the route is absent. At the Controller the received view has no entry for the prefix. At the source the prefix is in the VPN 10 table as a connected route, and the advertise settings of the VPN cover BGP only. The prefix did not enter OMP.
- BR-02Route absentSymptom, cause unknown
- ControllerNo entry receivedPolicy and ranking ruled out
- BR-01Connected route in VPN 10Advertise covers BGP only
- FixAdvertise the connected routeVerify at BR-02
The repair is to advertise connected routes for VPN 10 on BR-01, or to move the new network into the routing protocol that BR-01 already advertises. Before switching connected advertisement on, list the connected networks in that VPN, because every one of them could enter OMP, including a transit or management network that was not meant to be advertised. A prefix filter on the advertisement, where the release offers one, keeps the change to the one network. Then repeat the trace at BR-02 to confirm that the route arrived and installed.
| State | Prefixes advertised | Routes at 2 TLOCs each |
|---|---|---|
| Before: 5 BGP networks advertised, 1 connected network not | 5 | 10 |
| After: connected advertisement added for the new network | 6 | 12 |
The case needed two checks and one look at the configuration, against the five that a walk from the branch can take. The Controller's received view did the work: a route absent there is absent for a reason on the source side, and a route present there but absent from its table or its advertised view points to the policy.
Learn more: OMP State and Update ProcessingRoute Policy, Summarization and PreferenceLayered Root-Cause FrameworkOMP and BFD Route and Tunnel Fault Isolation
Test yourself
A fault sits at exactly one of five checkpoints, and each check says only whether the route is present. In the worst case, how many checks does it take when the middle is checked first and the half with the fault is searched next?
According to the Cisco notes read, where should a centralized control policy be read?
BR-01 advertises BGP into OMP in VPN 10 and nothing else. A new LAN on BR-01 is a connected interface. What happens to its prefix, with the defaults of the 26.x guide?
A route is in the Controller's table with the codes C, I and R but is absent at BR-02. Which checkpoint is the most likely cause?
A route at BR-02 shows the code U. What is the best next check?
Which command from the Cisco notes shows what the Controller advertises for a VPN?
Before switching on connected advertisement for VPN 10 on BR-01, which check is sensible?
The Cisco troubleshooting document uses a debug of the OMP policy decisions for one prefix. What is a sensible way to use it?