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.
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.
- Decideorg name, CA
- Managerfirstcontroller
- Validatoradded toManager
- Controlleradded toManager
- WAN EdgePnP or manual
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.
| Gate | What it checks | Where it is set |
|---|---|---|
| Reach | The device has an IP path to the Validator and the other controllers | The transport interface, default route and DNS, or what DHCP hands out |
| Identity | System IP, site ID and organization name are present and match | The system block, a PnP profile or a template pushed later |
| Trust | Each side holds a root certificate that signed the other side's certificate | Root certificate install, a certificate signing request and its signed answer |
| Authorisation | The device is on the list that the controllers check | The controller entry in the Manager, or the WAN Edge list for routers |
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.
- Reachpath toValidator
- Identitysystem IP,site, org
- Trustcertificatesboth ways
- Authoriseon thelist
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.
| Role | Automatic route | Manual route | Notes |
|---|---|---|---|
| Manager (vManage) | None, unless Cisco-hosted | Deploy the VM, enter the base configuration, install certificates | The first device built; everything else is added to it |
| Validator (vBond) | None, unless Cisco-hosted | Deploy, configure with the local Validator setting, add to the Manager | Its address is what PnP and ZTP hand to edges |
| Controller (vSmart) | None, unless Cisco-hosted | Deploy, configure, add to the Manager, install its certificate | Needs the Validator reachable before it can join |
| WAN Edge, IOS XE | PnP | Bootstrap by console, file or chassis number and token | Hardware and virtual routers differ in identity |
| WAN Edge, Viptela OS (vEdge) | ZTP | Bootstrap by console | An older platform. Check its lifecycle status |
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.
- Controllersby hand, orCisco-hosted
- IOS XE edgePnP or manual
- vEdgeZTP or manual
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.
| Topic | Production | Lab |
|---|---|---|
| Software and licences | Images and licences under the company's Cisco entitlement, with a Smart Account and Virtual Account that match the purchase | Images and licences you are entitled to use. The site does not supply them |
| Controller certificates | Cisco PKI, automated when the Manager can reach the Internet, manual through the portal when it cannot, or an enterprise CA when policy requires one | An 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 identity | Serial numbers published to PnP Connect by the order, a controller profile, and a sync into the Manager | Virtual routers have no factory serial. They use a UUID or a chassis number and token, and may skip PnP discovery |
| Addresses and names | A Validator address or name that every site can reach, usually public, with NAT and firewall rules agreed | Private or documentation addresses on an emulated transport, with the controllers on one reachable network |
| Time | NTP on every device. A wrong clock breaks certificates | NTP too. A lab that resumes from a snapshot often has an old clock |
| Change and recovery | A change window, a backup of the Manager and a rollback plan | Snapshots and a rebuild. The cost of a mistake is an afternoon |
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.
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.
| Situation | Route | Why |
|---|---|---|
| Hardware router with its serial in PnP Connect, and a site with DHCP, DNS and Internet access | PnP | The site team only cables it. Preparation moves to the portal and the Manager |
| The site has no DHCP, or its firewall blocks the PnP server | Manual bootstrap by console or by a bootstrap file | Discovery cannot start, so the address and controller details are supplied directly |
| The Manager has no Internet, or the network is isolated | Provisioning file from the portal, uploaded to the Manager | Cisco's guide describes downloading the file from PnP and uploading it to the Manager |
| Virtual router in a lab | Manual bootstrap with a chassis number and token | There is no factory serial, and the lab usually has no PnP profile |
| Old Viptela OS hardware | ZTP, or manual bootstrap | The older platform has its own ZTP service and its own command line |
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.
- Serial in PnP ConnectPnP discovery
- No DHCP, or PnP blockedManual bootstrap
- Manager without InternetProvisioning file via Manager
- Virtual router in a labChassis number and token
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.
| Plan | Gates by hand | Controllers | Routers |
|---|---|---|---|
| Controllers built, routers by hand | 24 | 12 | 12 |
| Controllers built, routers by PnP | 18 | 12 | 6 |
| Cisco-hosted controllers, routers by hand | 12 | 0 | 12 |
| Cisco-hosted controllers, routers by PnP | 6 | 0 | 6 |
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.
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.
| Done too early | What you see | Repair |
|---|---|---|
| A controller added before the organization name is set | Certificate requests carry the wrong name, and peers refuse the connection | Set the name, then generate and install the certificate again |
| A WAN Edge cabled before the Validator is reachable from the site | The router stays at the first step of the control connection | Fix the path, then restart the attempt. See the transport lessons |
| A WAN Edge booted before the WAN Edge list reached the controllers | The router connects, then is refused as not authorised | Sync or upload the list and send it to the controllers |
| Edges onboarded before the Controller is up | The router joins the Manager but receives no routes | Bring the Controller up first. Check OMP after onboarding |
| Certificates installed with the clock wrong | Valid certificates are refused as expired or not yet valid | Set NTP, then check the dates on both devices |
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.
- Manager upSign in works, org name set
- Validator and Controller addedEach shows valid in the Manager
- Controllers connectedThree pairs, each seen from both ends
- First edge onboardedController and Manager connections up
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
A team has the controller virtual machines and a box of routers. Which device is onboarded first?
Which device roles can use PnP or ZTP to onboard themselves?
A router connects to the Manager and is then refused as not authorised, although its certificate is valid. Which gate failed?
A virtual router in a lab has no factory serial number and the lab has no PnP profile. Which route fits?
A Manager has no Internet access, and a hardware router has its serial in PnP Connect. Which route fits?
The organization name is changed after the three controllers already have certificates. What follows?
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?