Course contents

Unit 10: Guided deploymentLesson 10.4 (4 of 5 in this unit)61 of 62 in the Cisco SD-WAN course

Onboard and verify overlay services

Onboard HUB-01, BR-01 and BR-02, attach service VPN 10, and check control, OMP, BFD and traffic in order.

Intermediate · 25 min read

You'll learn to onboard the three edges of the lab, give each a LAN in service VPN 10, and prove in order that control, OMP, BFD and traffic all work.

Technical definition

Overlay verification is the practice of proving the fabric works in layers rather than by a single ping. After onboarding, each layer is checked in the same order: control connections, OMP peers and routes, BFD tunnels, then traffic between LANs. A passing end-to-end ping is the last check, not the first.

The goal

This lab is done on your own lab nodes, and the outputs below are examples written for the lesson. When you have finished, HUB-01 (LAN 192.168.10.0/24), BR-01 (LAN 192.168.20.0/24) and BR-02 (LAN 192.168.30.0/24) are in service VPN 10, each has tunnels to the others over the transports available to it, and a host on each LAN can reach a host on every other.

Diagram
Lab sequence
Lab sequence

Onboard, configure, check four layers.

  1. Onboardbootstrap, certify
  2. ConfigureVPN 10, LAN
  3. Controlconnections up
  4. OverlayOMP, BFD
  5. TrafficLAN to LAN
Do not move to the next stage until the current one passes.

Stage 1: onboard

For each edge, follow the manual bootstrap lesson: enable controller mode, enter the bootstrap configuration with the edge's own system IP and site ID, prove the Validator is reachable, install the root certificate and activate with the chassis number and token. Give each edge a different system IP and site ID.

Diagram
Onboarding one edge
Onboarding one edge

Enable controller mode, enter the bootstrap configuration with the edge's own system IP and site ID, prove the Validator is reachable, install the root certificate chain, and activate with the chassis number and token.

  1. Modecontrollermode
  2. Bootstrapsystem IP,site ID
  3. Reachping theValidator
  4. Root certinstallthe chain
  5. Activatechassis,token
Repeat the five steps for each edge, with a different system IP and site ID every time.
Diagram
Edge identities
Edge identities
EdgeSystem IPSite IDTransports (colour)LAN in VPN 10
HUB-0110.255.1.1100biz-internet, mpls192.168.10.0/24
BR-0110.255.2.1101biz-internet, mpls192.168.20.0/24
BR-0210.255.2.2102biz-internet192.168.30.0/24
Site IDs and prefixes are examples. They must be unique per site.

Stage 2: attach a configuration

In the Manager, create a template or configuration group that adds service VPN 10 and a LAN interface with an address from the table, and attach it to each edge with its own values. Keep the first version small: the LAN interface, the VPN and an advertisement of the connected network into OMP. Preview and push to BR-02 first, since it is the simplest branch.

Diagram
Minimum service configuration
Minimum service configuration

What the attachment must contain.

  1. Service VPN 10A VPN with the LAN interface in it
  2. LAN interfaceAddress from the table, no shutdown
  3. OMP advertisementConnected networks advertised into OMP
Everything else can wait until the overlay works.

Stages 3 and 4: control and overlay checks

Diagram
Five questions, in order, for a missing path
Five questions, in order, for a missing path
Five questions, in order, for a missing pathCheck control connections first, then OMP peers and routes, then whether the route's TLOC is present, then BFD sessions to that TLOC, and last the forwarding path, policy and MTU. The first question that gets a bad answer is where to look.1Control connections up?show sdwan control connections2OMP peer up, routes received?show sdwan omp summary3Route resolved, TLOC present?show sdwan omp routes / tlocs4BFD session up to that TLOC?show sdwan bfd sessions5Forwarding, policy and MTU?ping in the VRF, policy, show ip route vrfCommands are for IOS XE SD-WAN routers; names vary by release.

On small screens, swipe sideways or focus the diagram and use the arrow keys.

Work down the list and stop at the first bad answer. A fault at step 1 explains everything below it, so later checks are not yet useful.

Run each check on BR-01, in the order of the figure. A healthy lab gives results like the examples below, which are written for the lesson. The first example shows the control connections.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan control connections
PEER TYPE  PEER SYSTEM IP  SITE ID  LOCAL COLOR   STATE
vsmart     10.255.0.11     1        biz-internet  up
vsmart     10.255.0.11     1        mpls          up
vmanage    10.255.0.10     1        biz-internet  up
Controller connections are up on both transports and the Manager connection is up on the internet one. Control connections to the Manager can use a single transport.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan omp routes
VPN  PREFIX            FROM PEER    STATUS
10   192.168.10.0/24   10.255.0.11  C,I,R
10   192.168.30.0/24   10.255.0.11  C,I,R
10   192.168.20.0/24   0.0.0.0      C,Red,R
Routes for the hub and BR-02 arrive from the Controller and are chosen, installed and resolved. BR-01's own LAN shows as locally originated. Status letters depend on the release.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan bfd sessions
SYSTEM IP    SITE ID  STATE  SOURCE COLOR  REMOTE COLOR
10.255.1.1   100      up     biz-internet  biz-internet
10.255.1.1   100      up     mpls          mpls
10.255.2.2   102      up     biz-internet  biz-internet
There are tunnels to HUB-01 over both transports and to BR-02 over the internet one. BR-02 has no mpls transport, so no mpls tunnel exists to it. That is the expected result, not a fault.

What each edge should show

Counts catch a missing tunnel faster than reading every line. In this lab only same-colour pairs form, as the example output shows, so the number of sessions on an edge is the number of colours it shares with each of the other sites.

Diagram
Where the four tunnels come from
Where the four tunnels come from

The lab has four tunnels. HUB-01 and BR-01 share two colours, biz-internet and mpls, so they have two tunnels. HUB-01 and BR-02 share biz-internet only, and so do BR-01 and BR-02, so each pair has one tunnel.

4 tunnels in the lab
  • HUB-01 and BR-012 tunnels: biz-internetand mpls
  • HUB-01 and BR-021 tunnel: biz-internet
  • BR-01 and BR-021 tunnel: biz-internet
Each tunnel is two BFD entries, one on each end, so the four tunnels are the 8 entries counted in the table.
Diagram
Expected BFD sessions per edge (computed)
Expected BFD sessions per edge (computed)
EdgeTo HUB-01To BR-01To BR-02Total seen on the edge
HUB-01-2 (biz-internet, mpls)1 (biz-internet)3
BR-012 (biz-internet, mpls)-1 (biz-internet)3
BR-021 (biz-internet)1 (biz-internet)-2
Whole lab8 entries, 4 tunnels
Each tunnel is seen from both of its ends, so 8 entries are 4 tunnels. If an edge shows fewer than its row, find the missing remote site and colour.

The same rule predicts what a new site does to the counts. The table below was computed by script for a fourth edge, BR-03, in two versions: with biz-internet only, and with both colours.

Diagram
BFD sessions per edge when BR-03 joins (computed)
BFD sessions per edge when BR-03 joins (computed)
EdgeNowBR-03 internet onlyBR-03 both colours
HUB-01345
BR-01345
BR-02233
BR-03none35
Whole lab, tunnels479
Whole lab, entries81418
An internet-only branch adds 3 tunnels, one to each other site. A branch with both colours adds 5, because it shares two colours with each of the hub and BR-01.

Stage 5: end-to-end traffic

From a host or a router in VPN 10 at BR-01, ping a host at HUB-01 and at BR-02. A router test uses the VRF: for example, ping vrf 10 192.168.10.1 source 192.168.20.1 on BR-01. If the ping works, take a snapshot of the lab as the known-good state for the next exercises.

Diagram
Three end-to-end tests
Three end-to-end tests

Three pings in VPN 10 cover the lab. BR-01 to the hub crosses the overlay. BR-01 to BR-02 crosses the internet tunnel. BR-02 to the hub proves the internet-only branch.

VRF 10 pings
  • BR-01 to HUB-01over the overlay
  • BR-01 to BR-02internet tunnel only
  • BR-02 to HUB-01internet-only branch
Run all three: a pass between one pair of sites does not prove that every other site advertises its LAN.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#ping vrf 10 192.168.30.1 source 192.168.20.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 14/16/19 ms
A passing test. The source option puts BR-01's LAN address on the packet, which is a prefix BR-02 has a route back to. Without it, the packet carries the address of whichever interface it leaves from, and the far site may have no route to that address.
Diagram
Three tests to run
Three tests to run
FromToSourceA pass means
BR-01, VRF 10192.168.10.1 at HUB-01192.168.20.1BR-01 to the hub over the overlay
BR-01, VRF 10192.168.30.1 at BR-02192.168.20.1Branch to branch, over the internet tunnel
BR-02, VRF 10192.168.10.1 at HUB-01192.168.30.1The internet-only branch to the hub
Do all three. A pass from one branch does not prove the other branch advertises its LAN.

Worked case: BR-02's LAN is missing

Stages 1 to 4 pass, but a ping from BR-01 to 192.168.30.1 fails. The control connections are up and the BFD sessions to BR-02 are up, so the tunnel exists. The route table on BR-01 is the next place to look.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan omp routes
VPN  PREFIX            FROM PEER    STATUS
10   192.168.10.0/24   10.255.0.11  C,I,R
10   192.168.20.0/24   0.0.0.0      C,Red,R
BR-02's prefix, 192.168.30.0/24, is not in the list. The tunnel is up but BR-01 has no route that points at it. Ask BR-02 what it sends.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show sdwan omp summary
oper-state          UP
admin-state         UP
routes-received     2
routes-installed    2
routes-sent         0
tlocs-sent          1
BR-02 receives two routes and sends none, while it sends its TLOC. It advertises nothing from VPN 10. The minimum configuration needs the connected networks advertised into OMP, and this attachment left that out.
Diagram
BR-01 before and after the advertisement is added
BR-01 before and after the advertisement is added
Routes in VPN 10 on BR-01Ping to 192.168.30.1
Before2: the hub LAN and its own LANFails, no route
After3: the hub LAN, its own LAN and 192.168.30.0/24Passes
The fix is one line in the attachment, found with two commands. The tunnel was fine all along.
Diagram
Evidence from the missing LAN
Evidence from the missing LAN

The ping fails while control and tunnels are up. BR-01 has no route to the BR-02 LAN. BR-02 sends no routes. The connected network was not advertised into OMP, so the fix is in the configuration of BR-02.

  1. SymptomPing to BR-02 failscontrol and BFD are up
  2. ReceiverBR-01 has no routeto 192.168.30.0/24
  3. SenderBR-02 shows routes-sent 0it advertises nothing
  4. FixAdvertise connected networksinto OMP in VPN 10 on BR-02
A route table that lacks a prefix points at the site that should advertise it.

Where each stage usually fails

Diagram
Common mistakes in this lab, by stage
Common mistakes in this lab, by stage
StageUsual mistakeWhat you seeFix
1 OnboardOrganisation name or serial differs from the ManagerNo Controller line, or tear_down with an error codeCorrect the value and wait for the next attempt
2 ConfigureLAN interface shut, or the VPN number typed differentlyThe LAN prefix is not in OMPFix the attachment and push again
3 ControlConnections up on one colour onlyFewer Controller lines than transportsCheck the other transport's reachability
4 OverlayA remote site is missing from BFDFewer sessions than the tableCheck colour, NAT and firewall for that pair
5 TrafficHost gateway or service-side route is wrongOverlay healthy, ping failsTest from the router with the LAN source first
Stop at the first stage that fails. The columns repeat the order of the checks.

Learn more: Manual Bootstrap and Controller ReachabilityOMP and BFD Fault IsolationDevice onboarding map: order, PnP or manual, lab or production

Test yourself

Predict · scenario 1

BR-02 shows BFD sessions only over biz-internet. Is this a fault?

Predict · scenario 2

The end-to-end ping fails but BFD sessions are up and routes are chosen, installed and resolved. Where do you look?

Predict · scenario 3

Which check should come first after onboarding an edge?

Predict · scenario 4

BR-02 shows routes-received 2 and routes-sent 0 in omp summary, and BR-01 has no route to BR-02's LAN. What is the likely cause?

Predict · scenario 5

Only same-colour pairs form in this lab. How many BFD sessions should HUB-01 show?

Predict · scenario 6

Why does the lab ping from BR-01 use the source option with 192.168.20.1?

Predict · scenario 7

A fourth edge, BR-03, joins with biz-internet only. How many BFD sessions should BR-02 show then?

Predict · scenario 8

BR-03 joins with both biz-internet and mpls. How many tunnels does the whole lab show?

Predict · scenario 9

Which test shows that BR-02 advertises its own LAN, and not only that the tunnel to BR-02 exists?

FAQ

What must be done before this lab?
The controller build and the transport build must both be finished, and the Validator must answer a ping from each edge. If either is missing, go back to those labs first.
Why use service VPN 10 and not VPN 0?
VPN 0 carries transport and control traffic. Users belong in a service VPN. VPN 10 is only an example number; any service VPN other than 0 and 512 works.
What if a check fails?
Stop at the first failed check and use the fault-finding lessons in Unit 9. Later checks will fail as well, and reading them wastes time.