Ten routers, one afternoon, nobody on site who can type
A company opens ten branches. The routers are ordered together and shipped straight from the factory to the sites. The branch staff can plug in power and an Ethernet cable and nothing else. The work therefore moves to the days before shipping, and it is split across four people. If any one of the four tasks is missing, the router boots, finds nothing and waits.
| Who | Task | Done when |
|---|---|---|
| Buyer | Places the order and assigns the Smart Account and Virtual Account to the devices | Serial numbers appear in PnP Connect under the right Virtual Account |
| Portal administrator | Keeps the controller profile that names the Validator and the organization | A profile of the Validator type exists, with the organization name and the address the sites can reach |
| Manager administrator | Syncs the Smart Account, makes the devices valid, sends the list to the controllers and attaches a configuration | Each router is on the WAN Edge list, valid, and has a configuration attached |
| Site installer | Powers the router and connects the uplink | The uplink gives the router an address, a gateway and DNS |
The buyer orders the devices and assigns the Virtual Account. The portal administrator keeps the controller profile. The Manager administrator syncs the list and attaches the configuration. The site installer powers the router and connects the uplink.
- Buyerorder,Virtual Account
- Portal admincontrollerprofile
- Manager adminsync, attachconfiguration
- Site installerpower,uplink cable
The production process
Order the devices, make sure the controller profile exists, sync the Manager, attach a configuration, prepare the site uplink, then power the router and watch it connect.
- Orderserials inthe portal
- ProfileValidator,org name
- SyncManagergets list
- Attachconfiguration
- SiteDHCP, DNS,route
- Power onrouterconnects
| Step | What you do | Evidence it worked |
|---|---|---|
| 1 Order | Assign the right Virtual Account to the devices during the purchase. Cisco's guide warns that a wrong account causes problems later | Hardware serials are published to PnP Connect automatically |
| 2 Profile | With Cisco-hosted controllers, the profile appears in the portal. With on-premises controllers you add it: type Validator, the organization name and the Validator address or name | The profile is listed under the Virtual Account, and the organization name matches the controllers exactly |
| 3 Sync | In the Manager, under Configuration then Devices, run Sync Smart Account with an account that has the administrator role on the Virtual Account. Repeat it when new devices are added | The new routers appear on the WAN Edge list |
| 4 Attach | Make each router valid, send the list to the controllers, and attach a template or configuration group with the router's own values | The list shows the router as valid and shows a configuration attached |
| 5 Site | Make sure the uplink gives an address, a gateway and DNS, and that outbound access to the PnP service and the Validator is allowed | A laptop on the same uplink gets an address and resolves a name |
| 6 Power on | Cable the router and apply power. Nothing is typed | Control connections come up, and the Manager shows the router reachable |
Two details cause most of the avoidable delay. The first is the account: a router that was assigned to the wrong Virtual Account is invisible to the profile you prepared, however carefully the rest was done. The second is the organization name in the profile, which must match the controllers character for character. A mismatch passes discovery and fails at the certificate stage, which is far from the cause.
How the router finds the PnP server
A router that boots in controller mode with no configuration starts discovery. IOS XE PnP can learn the server in more than one way, and which methods a given release tries, and in what order, is release dependent. The table lists the three that matter.
| Method | How it works | Where it fits |
|---|---|---|
| DHCP option 43 | The DHCP server on the uplink hands the router the address of the PnP server | A site or a data centre where you control DHCP and run your own PnP server |
| DNS name | The router builds a name from the domain it was given and looks it up. The name must resolve to the PnP server | A site where DNS is controlled and the domain is known |
| Cloud redirection | With Internet access, the router contacts Cisco's PnP redirection service, which looks up the router's serial number and points it at the profile | The usual case for hardware shipped to a branch. It needs outbound HTTPS and DNS |
With cloud redirection the router asks Cisco's service, which knows the serial number and sends it to the profile. With DHCP option 43 or DNS the router is pointed at a server you run.
What the site network must give the router
| Need | Why | Check before shipping |
|---|---|---|
| An address and a default gateway | The router has no configuration, so it uses DHCP on its uplink | The scope exists and has addresses left |
| A DNS server | Cloud redirection and a Validator name both need DNS | A name resolves from the uplink network |
| Outbound access to the PnP service | The router contacts it over HTTPS to learn its profile | The firewall allows the outbound request from the uplink |
| A path to the Validator | The Validator is the first controller the router talks to. See the NAT, DNS and firewall lesson for the ports | The Validator address or name is reachable through any NAT |
| A correct clock | Certificates have dates. A clock that is far off makes valid certificates look expired | The router can reach a time source, or the date is close to correct |
The uplink must give the router an address and a gateway, a DNS server that resolves names, outbound access to the PnP service and the Validator, and a time that is close to correct.
- AddressDHCP scope,gateway
- DNSa nameresolves
- OutboundHTTPS to PnP,path to Validator
- Clockclose tocorrect
The first check, that the scope has addresses left, is easy to get wrong on a small uplink subnet. The gateway takes one usable address, each router takes one, and the laptop used to test the uplink needs one too. The table counts what is left on a few common sizes.
| Uplink subnet | Usable addresses | Left with one router | Left with two routers |
|---|---|---|---|
| /30 | 2 | 0 | Does not fit |
| /29 | 6 | 4 | 3 |
| /28 | 14 | 12 | 11 |
| /27 | 30 | 28 | 27 |
| /24 | 254 | 252 | 251 |
The lab process
A lab can follow the same six steps with the real portal, as long as the lab can reach it. The differences are in the device identity and in the network.
| Topic | Production | Lab |
|---|---|---|
| Device identity | Hardware serial number, published by the order | A virtual router has no serial. The portal can generate a UUID for it, and the bootstrap information is supplied to the virtual machine before its first boot |
| Discovery | Cloud redirection, DHCP option 43 or DNS | Often skipped. The bootstrap information already carries the Validator address |
| Controller profile | Created by Cisco for hosted controllers, or by you for on-premises ones | You create it, with a lab organization name and a Validator address that the virtual router can reach |
| No Internet | Rare in production. An isolated network can download a provisioning file from the portal and upload it to the Manager | Common. Use the provisioning file route, or the manual route in the next lesson |
| Timing | A shipment plan, with syncs repeated as devices arrive | As needed, with a snapshot before the first boot of each router |
A hardware router has a factory serial number that the order publishes to the portal. A virtual router has no serial, so the portal generates a UUID for it and the bootstrap information is supplied before the first boot.
The lab Validator address in the profile can be a private address, because the profile only tells the router where to go. The router still has to be able to reach it from its network, so the same reachability check applies. If the lab has no Internet at all, PnP discovery cannot run, and the manual route is the honest choice. See Onboard a WAN Edge without PnP.
A plan for a real rollout
The timeline below is an example plan for the ten-branch rollout, not a rule. What it shows is the order, and that the last human action before shipping is attaching the configuration, not cabling the router.
Two weeks before, place the order and check the Virtual Account. One week before, confirm the profile and sync the Manager. Two days before, make the routers valid, send the list and attach the configuration. On the day, power on and watch the control connections.
- 14 days beforeOrder placed, Virtual Account checked
- 7 days beforeProfile checked, first sync run
- 2 days beforeValid, sent, configuration attached
- Power-on dayCable, power, watch control connections
When a router stalls
A router that does not appear in the Manager is stuck at one of the gates from the onboarding map. The table links the symptom to the first place to look. Exact messages and error codes depend on the release.
| Symptom | Likely cause | First check |
|---|---|---|
| No address on the uplink | No DHCP scope, wrong VLAN or a cable fault | The switch port, the VLAN and the scope |
| Address, but does not reach the PnP service | No default route, DNS failure or a firewall that blocks the request | DNS and outbound HTTPS from the uplink network |
| Reaches PnP, receives no profile | The serial is not in the portal, or sits in another Virtual Account | The device list and the Virtual Account in the portal |
| Receives a profile, no control connection | A wrong Validator address, a blocked path or a wrong organization name | The profile values and the path to the Validator |
| Control connection, then refused | The device is not valid on the list the controllers check | The WAN Edge list in the Manager, then send it to the controllers |
| Connected, nothing configured | No template or configuration group attached | The attachment in the Manager |
A router with no address needs the switch port, the VLAN and the scope checked. A router that reaches PnP but gets no profile needs the serial and the Virtual Account checked. A router with a profile but no control connection needs the Validator address, the path and the organization name checked. A router that is refused after connecting needs the WAN Edge list checked.
- No addressSwitch port, VLAN and DHCP scope
- Reaches PnP, no profileSerial and Virtual Account in the portal
- Profile, no connectionValidator address, path, organization name
- Refused after connectingValid on the WAN Edge list, sent to controllers
On the router, show sdwan control connections and show sdwan control connection-history show how far it got and why an attempt failed. See Control Connection and Certificate Diagnostics, and Onboarding Verification and Rollback once it connects.
Learn more: PnP/ZTP Orchestration and PrerequisitesOnboard a WAN Edge without PnPOnboard a vEdge with ZTP or by hand
Test yourself on PnP onboarding
A branch router boots, gets an address and reaches the PnP service, but receives no profile. What is the most likely cause?
A router connects to the controllers and is then refused, although its certificate is valid. Which preparation step was missed?
A lab has virtual routers and no Internet access. Which statement fits?
Ten routers ship in two batches, a week apart. When is the Manager synced with the Smart Account?
A branch uplink is a /30. The gateway takes one usable address and the router takes the other. How many addresses are left for a laptop used to test the uplink?
The organization name in the controller profile differs from the name on the controllers. At which point does the mismatch show?
Which person makes the devices valid, sends the WAN Edge list to the controllers and attaches the configuration?