Course contents

Unit 5: Onboarding and trustLesson 5.2 (2 of 10 in this unit)27 of 62 in the Cisco SD-WAN course

Device onboarding map: order, PnP or manual, lab or production

The order in which the Manager, Validator, Controller and WAN Edge devices join, the four gates each one passes, which devices can use PnP or ZTP, and how production and lab differ.

Intermediate · 10 min read

You'll learn to put the four SD-WAN device roles in onboarding order, say which of them can use PnP or ZTP and which cannot, and choose between the production and the lab process for each.

Technical definition

Onboarding is the work that makes a device a working member of the SD-WAN fabric. The device needs a network path to the controllers, an identity (system IP, site ID, organization name), a certificate that the other side trusts and a place on the authorisation list. Plug and Play (PnP) and zero-touch provisioning (ZTP) automate part of this for WAN Edge routers. The controllers are onboarded by hand, or by Cisco when the controllers are Cisco-hosted.

An empty rack and a box of routers

A team has three virtual machines waiting for the controllers, one data-centre router and two branch routers on a shelf. Everyone wants to start with the routers, because that is the visible part. The routers cannot join until the controllers exist, and the controllers cannot be trusted until a certificate authority and an organization name have been chosen. The order below follows those dependencies.

Diagram
The order of onboarding
The order of onboarding

Choose the organization name and the certificate authority first. Then onboard the Manager, then the Validator, then the Controller, and last the WAN Edge routers.

  1. Decideorg name, CA
  2. Managerfirstcontroller
  3. Validatoradded toManager
  4. Controlleradded toManager
  5. WAN EdgePnP or manual
Each stage needs the one before it. A WAN Edge is the last device because it needs all three controllers.

Step 1 is the one that is skipped most often, and the cost shows up late. The organization name is part of every certificate request and every edge's identity. Changing it after the controllers have certificates means starting those certificates again. See Organization Name.

Four gates every device passes

Whatever the route, a device is onboarded when it has passed the same four gates. Knowing which gate a device is stuck at is more useful than knowing the route it took.

Diagram
The four gates
The four gates
GateWhat it checksWhere it is set
ReachThe device has an IP path to the Validator and the other controllersThe transport interface, default route and DNS, or what DHCP hands out
IdentitySystem IP, site ID and organization name are present and matchThe system block, a PnP profile or a template pushed later
TrustEach side holds a root certificate that signed the other side's certificateRoot certificate install, a certificate signing request and its signed answer
AuthorisationThe device is on the list that the controllers checkThe controller entry in the Manager, or the WAN Edge list for routers
The same four gates apply to controllers and routers. PnP and ZTP automate the first two for routers; trust and authorisation still need preparation.
Diagram
The four gates in the order to check them
The four gates in the order to check them

Check reach first, then identity, then trust, and last authorisation. A device with no IP path to the controllers cannot be tested for trust, so the earlier gate is checked before the later one.

  1. Reachpath toValidator
  2. Identitysystem IP,site, org
  3. Trustcertificatesboth ways
  4. Authoriseon thelist
When a device is stuck, find the first gate it fails. The later gates cannot be judged until the earlier ones pass.

When a control connection fails, the error code usually names the gate. See Control Connection and Certificate Diagnostics.

Which devices can use PnP or ZTP

PnP and ZTP are for WAN Edge routers. A controller has no serial number waiting in a portal and nobody to cable it at a site, so it is built deliberately. The one hands-off route for controllers is to buy them Cisco-hosted, where Cisco builds the overlay from a portal request and sends the Manager details to the contact on the order. That is how Cisco's onboarding guide describes the cloud track, and the guide is dated 2021, so check the current wording for your release.

Diagram
Automatic and manual routes by role
Automatic and manual routes by role
RoleAutomatic routeManual routeNotes
Manager (vManage)None, unless Cisco-hostedDeploy the VM, enter the base configuration, install certificatesThe first device built; everything else is added to it
Validator (vBond)None, unless Cisco-hostedDeploy, configure with the local Validator setting, add to the ManagerIts address is what PnP and ZTP hand to edges
Controller (vSmart)None, unless Cisco-hostedDeploy, configure, add to the Manager, install its certificateNeeds the Validator reachable before it can join
WAN Edge, IOS XEPnPBootstrap by console, file or chassis number and tokenHardware and virtual routers differ in identity
WAN Edge, Viptela OS (vEdge)ZTPBootstrap by consoleAn older platform. Check its lifecycle status
Names in brackets are the older names. Which route fits a given release and model is release dependent.
Diagram
Where automation applies
Where automation applies

The three controllers are onboarded by hand or by Cisco. WAN Edge routers can use PnP on IOS XE or ZTP on Viptela OS, or be onboarded by hand.

Onboarding
  • Controllersby hand, orCisco-hosted
  • IOS XE edgePnP or manual
  • vEdgeZTP or manual
Automation is for the many devices at the edge, not for the few at the centre.

Production and lab side by side

The order and the four gates are the same in both. Everything around them changes. A production network has an entitlement to the software, an Internet path that the controllers can use, people who must be told before a change and a way back if it goes wrong. A lab has a smaller set of constraints and a different one: it is built often, broken on purpose and rarely has a public address.

Diagram
Production against lab
Production against lab
TopicProductionLab
Software and licencesImages and licences under the company's Cisco entitlement, with a Smart Account and Virtual Account that match the purchaseImages and licences you are entitled to use. The site does not supply them
Controller certificatesCisco PKI, automated when the Manager can reach the Internet, manual through the portal when it cannot, or an enterprise CA when policy requires oneAn enterprise root CA is common, including a CA that you create with a tool such as OpenSSL. Cisco's guide describes this for labs
WAN Edge identitySerial numbers published to PnP Connect by the order, a controller profile, and a sync into the ManagerVirtual routers have no factory serial. They use a UUID or a chassis number and token, and may skip PnP discovery
Addresses and namesA Validator address or name that every site can reach, usually public, with NAT and firewall rules agreedPrivate or documentation addresses on an emulated transport, with the controllers on one reachable network
TimeNTP on every device. A wrong clock breaks certificatesNTP too. A lab that resumes from a snapshot often has an old clock
Change and recoveryA change window, a backup of the Manager and a rollback planSnapshots and a rebuild. The cost of a mistake is an afternoon
Cisco's guidance on certificates and on the PnP portal is the reference for production. Where this table says common, the lab is free to choose differently.
Diagram
Production and lab
Production and lab

Production depends on entitlement, Internet reachability and change control. A lab depends on whatever software you are entitled to and on a rebuild when it breaks.

ProductionCisco PKI, PnP portalChange window, backup
LabOwn CA, UUID or tokenSnapshot and rebuild
The lessons that follow give each device a production process and a lab process.

Choosing a route for a router

For a controller the choice is between building it and having Cisco host it. For a WAN Edge router there are more routes, and the table picks one from what the site and the device offer.

Diagram
Which route fits
Which route fits
SituationRouteWhy
Hardware router with its serial in PnP Connect, and a site with DHCP, DNS and Internet accessPnPThe site team only cables it. Preparation moves to the portal and the Manager
The site has no DHCP, or its firewall blocks the PnP serverManual bootstrap by console or by a bootstrap fileDiscovery cannot start, so the address and controller details are supplied directly
The Manager has no Internet, or the network is isolatedProvisioning file from the portal, uploaded to the ManagerCisco's guide describes downloading the file from PnP and uploading it to the Manager
Virtual router in a labManual bootstrap with a chassis number and tokenThere is no factory serial, and the lab usually has no PnP profile
Old Viptela OS hardwareZTP, or manual bootstrapThe older platform has its own ZTP service and its own command line
Each route ends at the same place: the four gates passed and control connections up. The next four lessons give the steps.
Diagram
From situation to route
From situation to route

A router with its serial in PnP Connect uses PnP discovery. A site without DHCP, or with PnP blocked, uses manual bootstrap. A Manager without Internet uses a provisioning file. A virtual router in a lab uses a chassis number and token.

  1. Serial in PnP ConnectPnP discovery
  2. No DHCP, or PnP blockedManual bootstrap
  3. Manager without InternetProvisioning file via Manager
  4. Virtual router in a labChassis number and token
Read the situation on the left, then the route that fits on the right.

How much work the route saves

The routes differ in how much preparation the team does by hand. Count it in gates: each device passes four, so a team with three controllers and three WAN Edge routers has 24 to pass. The model below is deliberately simple. It assumes that PnP or ZTP takes over the reach and identity gates for a router, and that a Cisco-hosted controller is prepared by Cisco. Real work depends on the release and on what the order includes.

Diagram
Gates the team prepares by hand
Gates the team prepares by hand
PlanGates by handControllersRouters
Controllers built, routers by hand241212
Controllers built, routers by PnP18126
Cisco-hosted controllers, routers by hand12012
Cisco-hosted controllers, routers by PnP606
Example count for three controllers and three WAN Edge routers, with four gates each. The counts come from a short script and follow the simplified assumptions stated above.
Diagram
Everything by hand against hosted and PnP
Everything by hand against hosted and PnP

With the controllers built and every router bootstrapped by hand, the team prepares 24 gates. With Cisco-hosted controllers and PnP routers, the same team prepares 6, because the trust and authorisation gates for the routers remain.

By hand24 gates3 + 3 devices
Hosted and PnP6 gatesrouters only
Automation reduces the work. It does not remove trust and authorisation.

What breaks when the order is wrong

The failures below are the ones that cost time, because the symptom is far from the cause. In each, the device was onboarded before something it depended on.

Diagram
Out-of-order onboarding
Out-of-order onboarding
Done too earlyWhat you seeRepair
A controller added before the organization name is setCertificate requests carry the wrong name, and peers refuse the connectionSet the name, then generate and install the certificate again
A WAN Edge cabled before the Validator is reachable from the siteThe router stays at the first step of the control connectionFix the path, then restart the attempt. See the transport lessons
A WAN Edge booted before the WAN Edge list reached the controllersThe router connects, then is refused as not authorisedSync or upload the list and send it to the controllers
Edges onboarded before the Controller is upThe router joins the Manager but receives no routesBring the Controller up first. Check OMP after onboarding
Certificates installed with the clock wrongValid certificates are refused as expired or not yet validSet NTP, then check the dates on both devices
Example symptoms for the typical order faults. Exact messages and error codes depend on the release.
Diagram
Evidence by stage
Evidence by stage

After the controllers, three controller pairs should be connected. After the first edge, the edge shows control connections to the Controller and the Manager. After the validated list is sent, no edge is refused as unauthorised.

  1. Manager upSign in works, org name set
  2. Validator and Controller addedEach shows valid in the Manager
  3. Controllers connectedThree pairs, each seen from both ends
  4. First edge onboardedController and Manager connections up
Check each stage before the next one. A pass at stage 5 means nothing if stage 3 is broken.

Learn more: Onboard the Manager, Validator and ControllerOnboard a WAN Edge with PnPOnboard a WAN Edge without PnPOnboard a vEdge with ZTP or by hand

Test yourself on onboarding order

Predict · scenario 1

A team has the controller virtual machines and a box of routers. Which device is onboarded first?

Predict · scenario 2

Which device roles can use PnP or ZTP to onboard themselves?

Predict · scenario 3

A router connects to the Manager and is then refused as not authorised, although its certificate is valid. Which gate failed?

Predict · scenario 4

A virtual router in a lab has no factory serial number and the lab has no PnP profile. Which route fits?

Predict · scenario 5

A Manager has no Internet access, and a hardware router has its serial in PnP Connect. Which route fits?

Predict · scenario 6

The organization name is changed after the three controllers already have certificates. What follows?

Predict · scenario 7

A team has three controllers built by hand and three routers onboarded with PnP. In the lesson's model, how many gates does the team prepare by hand?

FAQ

Can the Manager, Validator and Controller use PnP?
No. PnP and ZTP bring WAN Edge routers online. The three controllers are built on purpose: by your own team on virtual machines or appliances, or by Cisco when you buy Cisco-hosted controllers. The Validator address that PnP hands to an edge is the one place where the controllers and PnP meet.
Which device is onboarded first?
The Manager, because the Validator and the Controller are added to it and it signs or relays their certificates and the WAN Edge list. The Validator and the Controller follow, and the WAN Edge routers come last because they need all three to be reachable.
Is a lab onboarded the same way as production?
The order and the four requirements are the same. What changes is where the software and certificates come from, whether the Internet is reachable, and how much care a change needs. The tables in this lesson set the two side by side. Release details differ, so use Cisco's guide for the version you run.