Course contents

Unit 5: Onboarding and trustLesson 5.8 (8 of 10 in this unit)33 of 62 in the Cisco SD-WAN course

Onboard a vEdge router with ZTP or by hand: production and lab

The Viptela OS route: the ZTP flow, the edge list, the manual CLI equivalent, production and lab versions, and the lifecycle caution for the platform.

Intermediate · 11 min read

You'll learn to describe the ZTP flow of a Viptela OS router, onboard a vEdge by hand when ZTP is not available, translate between vEdge and IOS XE commands, and check the platform status before planning a new deployment.

Technical definition

vEdge onboarding is the onboarding of a router that runs Viptela OS, the software of the original Viptela WAN Edge. Zero-touch provisioning (ZTP) lets the router find its Validator by itself. The manual route supplies the same facts at the console. Both end at the same four gates as an IOS XE router: reach, identity, trust and authorisation.

A different router with the same onboarding order

A fabric that was built a few years ago can hold vEdge routers next to IOS XE ones, and the exam material still names both. The controllers do not care which software a WAN Edge runs, so the order is unchanged: controllers first, then the edge list, then the router. What changes is the command line, the discovery service and the status of the platform itself.

Diagram
vEdge and IOS XE onboarding
vEdge and IOS XE onboarding

Both follow the same four gates. A Viptela OS router uses ZTP and its own commands. An IOS XE router uses PnP and the show sdwan commands.

vEdge (Viptela OS)ZTP or consoleshow control ...
IOS XE SD-WANPnP or consoleshow sdwan control ...
Do not copy a command from one family onto the other. The same words often exist, with a different shape.
Diagram
Same gates, different words
Same gates, different words
GatevEdgeIOS XE SD-WAN
ReachAddress on a VPN 0 interface, a default route, DNS if the Validator is a nameAddress on a transport interface, a default route, DNS if the Validator is a name
IdentitySystem IP, site ID, organization name and Validator address in the system blockThe same values, in the system block of a controller-mode configuration
TrustRoot certificate installed with a request command, if the controllers use an enterprise authorityThe same step, with the request platform software sdwan form
AuthorisationThe serial number or chassis number on the list the controllers checkThe same list
The gates and their order are the same. The command syntax is not.

The ZTP flow for a vEdge

ZTP is the vEdge counterpart of PnP. The router has no configuration, finds its own way to a service that knows which Validator it belongs to, and then follows the same path as any other WAN Edge. The steps below are the flow as Cisco and Viptela document it, in plain order, and the details of each step are release dependent.

Diagram
vEdge ZTP flow
vEdge ZTP flow

The router powers on with no configuration, takes an address by DHCP, asks the ZTP service for its Validator, connects to the Validator, then to the Manager and the Controller, and finally receives its configuration.

  1. Powerno config
  2. DHCPaddressand route
  3. ZTPfind theValidator
  4. Validatoridentitychecked
  5. ManagerandController
  6. Configtemplatepushed
Any step can stall. The next step does not start, so the point where it stops tells you what to check.
Diagram
vEdge ZTP step by step
vEdge ZTP step by step
StepWhat happensWhat can stop it
1 PowerThe router boots a factory image with no configurationA damaged image or a power fault. This is hardware, not onboarding
2 DHCPThe router asks for an address on its interfaces and receives an address, a gateway and a DNS serverNo DHCP service, no gateway, or a port that is not the one cabled for ZTP
3 ZTPThe router resolves the name of the ZTP service and asks which Validator belongs to its serial numberNo DNS, no Internet path, a firewall that blocks the request, or no entry for the serial number
4 ValidatorThe router connects to the Validator, which checks its certificate and its place on the edge list, then tells it where the Manager and the Controller areThe device is missing from the list, the list was not sent, or the certificate chain does not match
5 Manager and ControllerThe router builds control connections to both, and the Manager sees it as a new deviceA blocked port, a wrong clock, or a transport that the Controller cannot reach
6 ConfigThe Manager pushes the template attached to the deviceNo template attached, or a variable left empty
The first part of the flow is the vEdge ZTP service. From step 4 on, the path is the one every WAN Edge takes.
Diagram
Who prepares what for ZTP
Who prepares what for ZTP

Before shipping, someone enters the device and the Validator address in the ZTP portal, someone adds the device to the edge list in the Manager and someone attaches a template. At the site, the installer connects power and an uplink that has DHCP.

Before shippingportal entryedge listtemplate
At the sitepoweruplink with DHCP
The same split as PnP: all typing before the box ships, and power and a cable at the site.

The portal that holds the ZTP entry has changed over the life of the product, and the Cisco documentation for your release names the current one. For the portal side of the process, the PnP lesson lists the same preparation: account, profile, device entry. Read Onboard a WAN Edge with PnP for the pattern and the vEdge notes in the documentation for the exact screens.

Onboarding a vEdge by hand

When ZTP is unavailable, the router gets the same facts at the console. The block below is an example with documentation addresses and made-up identity values that are not part of the lab plan. Viptela OS uses a committed configuration, so nothing takes effect until the commit.

config system host-name VE-EXAMPLE system-ip 10.255.9.1 site-id 109 organization-name "LAB-EXAMPLE" vbond 10.255.0.12 ! vpn 0 interface ge0/0 ip address 192.0.2.40/24 tunnel-interface encapsulation ipsec color biz-internet ! no shutdown ! ip route 0.0.0.0/0 192.0.2.1 ! commit and-quit

Example values only. The system block gives the identity, VPN 0 gives the transport path and the tunnel interface lets the router form control connections. Interface names, colours and the exact keywords vary by platform and release, so confirm each with the question mark.

Diagram
Manual vEdge steps
Manual vEdge steps
StepWhat you doEvidence it worked
1 ListMake sure the router's serial number is on the edge list and valid, and that the list has been sent to the controllersThe Validator and the Controller show the device as valid
2 ConfigureEnter the system block and the VPN 0 transport, then commitThe router has an address and a route, and can reach the Validator
3 TrustIf the controllers use an enterprise authority, install its root certificate chain before the first attemptThe router lists the root that signed the controllers
4 ActivateA vEdge Cloud virtual router needs a chassis number and a token. A hardware vEdge uses its serial number and factory certificateThe router starts its control connections
5 VerifyRead the control connections, then attach a template to the deviceConnections up to the Validator, the Controller and the Manager
The same five steps as the IOS XE manual route. Menu names and keywords vary by release.
Diagram
The parts of the vEdge example configuration
The parts of the vEdge example configuration

The system block gives the identity: name, system IP, site ID, organization name and Validator address. VPN 0 gives the transport address and the default route. The tunnel interface lets the router form control connections. Nothing takes effect until the commit.

The config block
  • SystemIDs, org name,Validator
  • VPN 0interface anddefault route
  • Tunnelcolor, IPsec,control links
  • Commitnothing appliesbefore it
Four parts to check before the commit. The example values are not part of the lab plan.

Production and lab

Diagram
vEdge onboarding in production and in a lab
vEdge onboarding in production and in a lab
TopicProductionLab
Which routeZTP for sites that have Internet and DHCP, a console bootstrap in a depot for the restA console bootstrap, because a lab has no ZTP entry and often no Internet
Edge listUploaded or synced for many devices, then sent to the controllersAdded by hand for a few routers, then sent to the controllers
TrustCisco-signed or an enterprise authority, chosen with the controllersA lab authority, with the root installed by hand on each router
Virtual routersUncommon in new designs. Check the lifecycle noticePossible if the release still supports them. Use a chassis number and a token
RecoveryA spare router, a depot and a rollback planA snapshot of a virtual machine, or a factory reset of the router
The lab skips shipping and portals. It keeps the list, the identity and the trust.
Diagram
vEdge onboarding in production and in a lab
vEdge onboarding in production and in a lab

In production a vEdge uses ZTP where the site has Internet and DHCP, and a console bootstrap in a depot for the rest. In a lab it uses a console bootstrap, with the root certificate installed by hand on each router.

ProductionZTP, or a depot consoleCisco or enterprise root
LabConsole bootstrapLab root on each router
The lab keeps the list, the identity and the trust, and drops shipping and portals.

Commands side by side

Diagram
vEdge and IOS XE commands
vEdge and IOS XE commands
PurposevEdge (Viptela OS)IOS XE SD-WAN
Control connectionsshow control connectionsshow sdwan control connections
Why a connection failedshow control connections-historyshow sdwan control connection-history
Router identityshow certificate serialshow sdwan certificate serial
Install a root certificaterequest root-cert-chain install <file>request platform software sdwan root-cert-chain install <file>
Edge list on the Validatorshow orchestrator valid-vedgesSame command, the controllers run Viptela-based software
Edge list on the Controllershow control valid-vedgesSame command
Command names are release dependent. The question mark on the device is the authority. See the WAN Edge show commands lesson.
Diagram
Where a stalled vEdge stops
Where a stalled vEdge stops

If the router has no address, the problem is DHCP or the cable. If it has an address but no control connection, check DNS and the path to the ZTP service or the Validator. If it connects and is refused, check the edge list. If it connects and drops, check the clock and the certificate.

  1. No addressDHCP, cable, port
  2. Address, no ZTP answerDNS, Internet, firewall
  3. Connects, refusedEdge list not valid or not sent
  4. Connects, then dropsClock, certificate chain
Match the stopping point to the layer, then fix that layer.

Check the platform status first

A new design should start from the lifecycle notice and the compatibility table for the release in use. If a fabric still has vEdge routers, the plan usually includes replacing them with IOS XE SD-WAN routers, and the controllers can hold both families during the change. Read WAN Edge platforms for the comparison and WAN Edge show commands for the IOS XE side of the table above.

Diagram
Planning around the vEdge status
Planning around the vEdge status

Read the lifecycle notice, check the compatibility table for the release in use, plan the replacement in waves, and let the controllers hold both router families during the change.

  1. Noticeend of salestatus
  2. Releasecompatibilitytable
  3. Wavesreplace a fewat a time
  4. Mixedboth familiescoexist
The notice and the table come first, because they decide whether the plan is possible.

Replacement is easier to schedule when it is counted. The table below is an example plan, not a recommendation: 20 vEdge routers replaced with IOS XE SD-WAN routers in a pilot and three waves of growing size, at two cutovers a night. A wave of an odd size leaves one cutover slot empty on its last night, which is why the total is 11 nights and not 10.

Diagram
Example replacement of 20 vEdge routers
Example replacement of 20 vEdge routers
WaveRoutersNights at two a nightNights so farStill on vEdge
Pilot11119
Wave 132316
Wave 263610
Wave 3105110
Example plan with an assumed two cutovers a night. Each wave's nights are its routers divided by two, rounded up. The counts come from a short script, and a real plan also needs time to watch each wave before the next.

Learn more: PnP/ZTP orchestration and prerequisitesOnboard a WAN Edge without PnPOnboarding verification and rollback

Test yourself on vEdge onboarding

Predict · scenario 1

A vEdge boots with no configuration and receives an address by DHCP, but does not reach its Validator. What do you check first?

Predict · scenario 2

A vEdge connects to the Validator and is refused. Its certificate is valid. What is the likely cause?

Predict · scenario 3

A runbook says show control connections. A router returns an error for it. Which software is the router most likely running?

Predict · scenario 4

A team plans to buy 20 new vEdge routers for next year's branches. What is the best first step?

Predict · scenario 5

A plan replaces 20 vEdge routers in waves of 1, 3, 6 and 10, at two cutovers a night. How many nights do the cutovers take in total?

Predict · scenario 6

In the manual vEdge example, the system block and VPN 0 have been typed at the console. When do they take effect?

Predict · scenario 7

A runbook for IOS XE SD-WAN says show sdwan certificate serial. What is the form for a vEdge in this lesson's table?

FAQ

Should a new deployment use vEdge routers?
Check the platform status first. Cisco has announced end of sale for vEdge hardware, and a newer Manager release can drop support for Viptela OS devices. Read the current lifecycle notice and the compatibility table for the release you plan to run before ordering, and expect IOS XE SD-WAN routers for new sites. This lesson is for the routers already in the field and for the exam material that still mentions them.
Why do the commands differ from the rest of this course?
Viptela OS has its own command line. Control commands start with show control, not show sdwan control, and the configuration is entered with config and committed with commit. The table in this lesson lines up the common commands side by side. Command names change by release, so confirm each with the question mark on the device.
Does ZTP need the Internet?
In the standard flow it does, because the router asks a Cisco-hosted ZTP service which Validator belongs to it. A site with no Internet path uses the manual route, or an arrangement for private networks that the release documentation describes. Which options exist is release dependent.