Course contents

Unit 5: Onboarding and trustLesson 5.7 (7 of 10 in this unit)32 of 62 in the Cisco SD-WAN course

Onboard a WAN Edge without PnP: production and lab

The manual route step by step: the edge list, bootstrap by console, file or hypervisor, root certificate, chassis number and token, with the depot-staged production version and the lab version.

Intermediate · 12 min read

You'll learn to say when PnP is not available, list what a manual onboarding must supply for each gate, choose how to deliver the bootstrap, and run the production and lab versions of the process.

Technical definition

Manual onboarding of a WAN Edge is the route in which nothing finds the controllers for the router. An administrator puts the router on the controllers' list, supplies its identity and the Validator address as a bootstrap, installs the root certificate if the controllers use an enterprise authority and, for a virtual router, activates it with a chassis number and a one-time token. The same four gates are passed as with PnP.

When PnP is not an option

PnP needs a prepared account, a site that can run discovery and a path to the portal. When any of those is missing, the router sits with an empty configuration and waits. The manual route supplies by hand what discovery would have supplied. The reasons it is chosen are usually practical, and the table lists the common ones.

Diagram
Reasons to onboard without PnP
Reasons to onboard without PnP
ReasonWhat is missingWhat replaces it
An isolated network with no InternetA path to Cisco's portal and PnP serviceA provisioning file downloaded elsewhere and uploaded to the Manager, then a bootstrap on the router
A site with no DHCPAn address to start discoveryA bootstrap that carries the address and the route, applied before shipping
A firewall that blocks the PnP requestThe outbound path to the serviceA bootstrap that points the router straight at the Validator
A virtual router in a labA factory serial number and a profileA chassis number and a token from the Manager
A depot that stages routersNothing missing. It is a choiceOne person types or loads the bootstrap, and the router ships already connected
The first row follows the route Cisco's onboarding guide describes for isolated networks, which is release dependent.
Diagram
What replaces the missing piece
What replaces the missing piece

An isolated network uses a provisioning file uploaded to the Manager. A site with no DHCP uses a bootstrap that carries the address and the route. A firewall that blocks PnP uses a bootstrap that points at the Validator. A virtual router in a lab uses a chassis number and a token.

  1. Isolated, no InternetProvisioning file uploaded to the Manager
  2. No DHCP at the siteBootstrap with address and route
  3. Firewall blocks PnPBootstrap pointing at the Validator
  4. Virtual router in a labChassis number and token
Each reason for skipping PnP has one replacement. A depot that stages routers is a choice and not a gap.

What the manual route must supply

Take the four gates from the onboarding map and ask what a person has to do for each one when nothing automates it. The answer is the whole lesson in one table.

Diagram
The four gates, done by hand
The four gates, done by hand
GateWhat you supplyWhere it goes
ReachAn interface address, a default route and, if the Validator is a name, DNSThe bootstrap configuration
IdentitySystem IP, site ID, organization name and Validator addressThe bootstrap configuration, or the template pushed later
TrustThe root certificate chain of the authority that signed the controllers, if the router does not already trust itInstalled on the router before the first attempt
AuthorisationThe router's serial number or chassis number on the list the controllers checkThe WAN Edge list in the Manager, made valid and sent to the controllers
The first two gates go on the router. The last one goes on the controllers. The trust gate needs both sides to agree on one authority.
Diagram
Three deliveries to make
Three deliveries to make

The router needs a bootstrap with its identity and the Validator address. The controllers need the router on their list. The router also needs the root certificate if the controllers use an enterprise authority.

Manual onboarding
  • To the routerbootstraproot certificate
  • To the controllersthe device onthe valid list
  • To the virtual routerchassis numberand token
Three separate deliveries. A missing one is the usual reason a manual onboarding fails.

Hardware and virtual routers differ in identity

Diagram
Identity by platform type
Identity by platform type
TopicHardware routerVirtual router, such as the Catalyst 8000V
IdentityA serial number and a certificate placed at the factoryA chassis number, created by the Manager or the portal, in place of a serial
How the controllers recognise itThe serial number is on the list, and the certificate is validThe chassis number is on the list, and the one-time token proves the request is genuine
Activation stepNone beyond the bootstrap. The router presents its own certificateAn activation command that carries the chassis number and the token
Secret to protectThe router itselfThe token, which should not be pasted into tickets or chats
Cisco's guide describes software devices as using a UUID in place of a hardware serial. The exact certificate handling is release dependent.
Diagram
Hardware router and virtual router
Hardware router and virtual router

A hardware router is recognised by its factory serial number and the certificate placed at the factory. A virtual router is recognised by a chassis number and a one-time token from the Manager.

Hardware routerSerial numberFactory certificate
Virtual routerChassis numberOne-time token
The token is the extra secret to protect on the virtual side.

Three ways to deliver the bootstrap

The bootstrap is the small configuration that gives the router its address, its identity and the Validator. The Manager can generate one for a device that is on its list. How the router receives it depends on the platform.

Diagram
Bootstrap delivery methods
Bootstrap delivery methods
MethodHow it worksBest for
Console, typedAn administrator enters the minimum configuration at the console, then adds the root certificate and, for a virtual router, the chassis number and token. See the manual bootstrap lessonA lab, or a single router where a person is on site or on the console
File generated by the ManagerThe Manager produces a configuration for the listed device. The file is supplied to the router at first boot, for example on removable storage or in the router's storage, depending on platform and releaseA depot that stages many routers, or hardware with no console access at the site
Hypervisor or cloud dataFor a virtual router, the bootstrap information is pasted or attached in the hypervisor or cloud console before the first boot, as Cisco's guide describes for software devicesVirtual routers in a lab or a cloud, where there is no console to type at
File names, storage locations and the Manager screens that generate the bootstrap vary by release. Use the guide for yours.
Diagram
Type it or load it
Type it or load it

Typing a bootstrap at the console is flexible and slow, and each router gets its own typos. Loading a file generated by the Manager is repeatable, and the values come from the Manager's own record of the device.

ConsoleFlexible, per routerTypos are possible
Generated fileRepeatableValues from the Manager
For more than a handful of routers, a generated file removes the typing mistakes.

The advantage of a file grows with the number of routers. A typed bootstrap has about seven values: the system IP, the site ID, the organization name, the Validator address, the uplink address, its mask and the default route. The table assumes, for illustration only, that one typed value in 200 is wrong and that the mistakes are independent. It is not a measured rate.

Diagram
Typed values and the chance of a mistake
Typed values and the chance of a mistake
RoutersChance at least one value is wrongTyped valuesExpected wrong values
13.4%70.04
516.1%350.18
2050.4%1400.7
10097.0%7003.5
Illustrative model with seven typed values a router and one wrong value in 200. The chance is one minus 0.995 raised to the number of typed values, worked out by a short script. A generated file takes its values from the Manager's record, so there is nothing to type.

The production process

Diagram
Manual onboarding in production
Manual onboarding in production

Put the device on the list, prepare its values, generate the bootstrap, deliver it, install the root certificate if needed, activate if virtual, then verify and attach the configuration.

  1. Listvalid,sent
  2. ValuesIDs andsite
  3. Bootstrapfile ortyped
  4. Trustrootif needed
  5. Activatetoken ifvirtual
  6. Verifylinks up
A depot can do the middle steps before the router ships. The site then needs only power and an uplink.
Diagram
Manual steps and the evidence for each
Manual steps and the evidence for each
StepWhat you doEvidence it worked
1 ListUpload the WAN Edge list or add the device. Make it valid and send the list to the controllers. For an isolated network, upload the provisioning file that was downloaded from the portal elsewhereThe router is on the list as valid, and the controllers show it in their valid list
2 ValuesTake the system IP, site ID, organization name and Validator address from the plan. System IPs and site IDs must be uniqueThe values match the plan and the Manager's record
3 BootstrapGenerate a bootstrap configuration for the device, or type the minimum configuration at the consoleThe router has an address, a route and the Validator address, and can reach the Validator
4 TrustIf the controllers use an enterprise authority, install its root certificate chain on the router before the first attemptThe router shows the root authority that signed the controllers
5 ActivateFor a virtual router, run the activation command with the chassis number and a fresh token from the ManagerThe router starts building control connections
6 VerifyRead the control connections, then attach a template or configuration groupController and Manager connections up, and the configuration attached
In production the typing is better done in a depot, where a mistake costs minutes and not a truck roll. Menu names vary by release.

Staging also changes what can go wrong at the site. A router that has already connected at the depot arrives with its certificate installed and its identity accepted, so the only unknown at the site is the uplink. The site installer is back to power and a cable, which was the aim of PnP too.

The lab process

In a lab the manual route is the normal one, and the steps are the same six with simpler values. The router is usually a virtual Catalyst 8000V, the controllers use an enterprise authority, and there is no portal to sync.

Diagram
Manual steps in production and in a lab
Manual steps in production and in a lab
StepProductionLab
ListUpload or sync a list for many devices, and make them validAdd each router yourself, with its chassis number, and make it valid
ValuesTaken from an addressing plan, checked for uniquenessFrom the lab plan, for example BR-01 with system IP 10.255.2.1 and site ID 101
BootstrapA generated file, applied at a depotTyped at the console, as in the manual bootstrap lesson, or pasted into the hypervisor
TrustRoot of the enterprise authority, or nothing to do when Cisco PKI is usedRoot of the lab authority, installed on each router
ActivateHardware needs none. Virtual routers use a tokenA token for each virtual router, generated just before use
RecoveryRollback plan, spare routers and a depot to re-stageA snapshot taken before the first attempt, so a failed try is a revert
The lab skips the depot and the shipping plan. It keeps the list, the identity, the trust and the token.
Diagram
A lab router from snapshot to verified
A lab router from snapshot to verified

Take a snapshot first. Add the router to the list and make it valid. Apply the bootstrap. Activate it with a fresh token. Then verify the control connections, and revert to the snapshot if the attempt fails.

  1. Snapshotbefore thefirst try
  2. Listadd, makevalid
  3. Bootstraptyped orpasted
  4. Activatefresh token
  5. Verifylinks up
The snapshot makes a failed attempt a revert and not a rebuild.

The router-side commands for a lab, in order, are in Manual Bootstrap and Controller Reachability, and the full exercise that onboards the lab routers is Onboard and verify overlay services. After the router connects, the same checks apply as for PnP.

request platform software sdwan vedge_cloud activate chassis-number <chassis-number> token <token>

For a virtual router, after the bootstrap and the root certificate are in place. The chassis number and token come from the Manager, and the token is a secret that should stay out of tickets and chats. The keyword is vedge_cloud with an underscore, as public guides for IOS XE SD-WAN releases such as 17.9 show it. Wording can differ by release, so confirm it with the question mark.

show sdwan control connections show sdwan control connection-history show sdwan certificate serial

On the router. The first two show how far the attempt got and why it failed. The third shows the identity that the router presents, which is the value that has to be on the list. Command names differ by release, so confirm each with the question mark.

Where manual onboarding goes wrong

Diagram
Manual onboarding faults
Manual onboarding faults
FaultWhat you seeRepair
The device is not valid on the list, or the list was not sentThe router connects, then is refused as not authorisedMake it valid, send the list to the controllers, and try again
A stale or mistyped tokenThe activation is rejectedGenerate a fresh token from the Manager and enter it with the chassis number again
The root certificate is missing when the controllers use an enterprise authorityThe router rejects the controllers' certificateInstall the root chain, then restart the attempt
A mistyped organization name or Validator addressNo control connection, or a refusal after the handshakeCorrect the value in the bootstrap and compare it with the controllers
A duplicate system IP or site IDThe controllers refuse the identity, or another router dropsGive each router a unique pair and record it in the plan
A wrong clockValid certificates look expired or not yet validSet the time source, then check the certificate dates
Typical faults and the evidence for each. Exact messages and codes depend on the release.
Diagram
Order of repair
Order of repair

Check the list first, then the bootstrap values, then the root certificate, then the token, then the clock. The first four are quick to check and cover most failures.

  1. ListValid, and sent to the controllers
  2. ValuesOrg name, Validator, system IP
  3. TrustRoot installed, certificate valid
  4. Token and clockFresh token, correct time
Start with the controller side. A router that connects and is refused has already passed reach and trust.

Learn more: Manual Bootstrap and Controller ReachabilityOnboard a WAN Edge with PnPOnboarding Verification and Rollback

Test yourself on manual onboarding

Predict · scenario 1

A virtual router's activation command is rejected on Wednesday. The token was generated on Monday. What is the best next step?

Predict · scenario 2

A hardware router connects to the controllers and is refused. Its certificate is valid. What do you check first?

Predict · scenario 3

A depot stages 20 routers before shipping them. What is the main advantage over typing at each site?

Predict · scenario 4

The controllers use an enterprise authority. A new router rejects the controllers' certificates. Which step was missed?

Predict · scenario 5

A depot would type a bootstrap of 7 values on each of 20 routers. How many values is that, and what does a generated file change?

Predict · scenario 6

A branch has no DHCP, and its router has an empty configuration. What replaces discovery?

Predict · scenario 7

A hardware router and a virtual router both join by the manual route. What does only the virtual router need?

FAQ

When is the manual route the better choice, and not just the fallback?
When the site cannot run discovery: no DHCP, a firewall that blocks the PnP service, an isolated network with no Internet, or a lab with virtual routers. It is also the right choice when a depot stages the routers before shipping, because the typing is done once, in one place, by someone who can fix a mistake.
Does a hardware router need a token?
Not for the identity step. A hardware router carries a factory certificate and a serial number, and its authorisation is the entry on the list. The chassis number and token step is for virtual routers, which have no factory identity. Which devices use which route is release and model dependent.
Is the bootstrap file the same on every release?
No. The Manager can generate a bootstrap configuration for a device on its list, and the options for delivering it, the file name and the place it is read from differ by release and by platform. Use the guide for your release, and treat the shapes in this lesson as the idea.