Course contents

Unit 10: Guided deploymentLesson 10.1 (1 of 5 in this unit)58 of 62 in the Cisco SD-WAN course

Lab environment, licensing and compute requirements

The nodes of the course lab, the software and licence questions to settle first, planning figures for memory and CPU, and lab options.

Beginner · 10 min read

You'll learn to list the nodes of the course lab, name the software and licence questions to settle before building, estimate the host size, and choose a lab option that fits your situation.

Technical definition

SD-WAN lab is a set of virtual machines or routers that run the real controller and edge software, connected through emulated transport networks, so that you can see control connections, OMP, tunnels and policy behave as they do in a real fabric. A lab needs software you are entitled to use, a host with enough memory, and a plan for the networks between the nodes.

What the lab contains

The course lab has three controller nodes and three to six edge routers, joined by two emulated transport networks. It is small enough to run on a single capable host and large enough to show every behaviour in this course: control connections, OMP, multiple transports, hub and branch roles, and policy.

Diagram
The course lab: controllers, two transports and three edges
The course lab: controllers, two transports and three edges
The course lab: controllers, two transports and three edgesThe Manager, the Controller CTRL-01 and the Validator VAL-01 sit at the top and are reachable over the Internet transport. HUB-01 and BR-01 connect to both an MPLS transport coloured mpls and an Internet transport coloured biz-internet. BR-02 connects to the Internet transport only.Manager10.255.0.10CTRL-0110.255.0.11VAL-0110.255.0.12Internet (biz-internet)MPLS (mpls)HUB-0110.255.1.1BR-0110.255.2.1BR-0210.255.2.2Dashed: control connections to the controllers. Solid: transport links at each edge.

On small screens, swipe sideways or focus the diagram and use the arrow keys.

Every device that must reach the controllers needs a path over a transport. BR-02 has only one, so it is the site where a single failure removes all tunnels.
Diagram
Nodes
Nodes
NodeRoleSystem IPNotes
MANAGERManager (vManage)10.255.0.10Heaviest node; needs the most memory and disk
CTRL-01Controller (vSmart)10.255.0.11Lightweight
VAL-01Validator (vBond)10.255.0.12Lightweight; must be reachable by every edge
HUB-01Hub edge10.255.1.1Two transports
BR-01Branch edge10.255.2.1Two transports
BR-02Internet-only branch10.255.2.2One transport
Transport router(s)Emulated MPLS and Internetn/aA small router or Linux VM with NAT on the Internet side
System IPs are from the course lab plan. Optional extra nodes are HUB-02 and BR-03A and BR-03B.

Software and licences: questions to settle first

Before you download anything, decide where the software will come from and what you are allowed to do with it. These are the questions that stop labs after a week of work.

Diagram
Three things to settle
Three things to settle

Software, licences, compute.

Before you build
  • Softwarecontroller androuter images
  • Licencesrouter throughput,emulator
  • Computememory, CPU,disk
Settle the first two before buying hardware for the third.
  • Which release will you use for the controllers and for the edges? They need to be compatible; use the release notes.
  • Where do the images come from? Cisco download rights depend on an account with the right entitlement. Do not download them from sources that are not Cisco or an authorised partner.
  • What does the virtual router licence allow? Virtual routers may run in an evaluation mode with limited throughput, or need a licence. Check the current terms.
  • Which emulator or hypervisor will you use, and does it need a licence? Some are free, some are paid.
  • Is the Manager cloud-hosted for you, or do you run all three controllers yourself? A hosted Manager lowers the compute need but changes the steps.

Planning the host

The figures below are rough planning numbers for a small lab, written to help you size a host. They are not Cisco's supported sizing, which depends on release and the number of devices. Check Cisco's compute guidance for the version you choose.

Diagram
Rough per-node figures for a small lab
Rough per-node figures for a small lab
NodeMemoryvCPUDisk
Manager16 to 32 GB4 to 8Over 100 GB
Controller and Validator, eachAbout 4 GB2About 10 to 20 GB
Each virtual edge routerAbout 4 GB or more2 to 4About 10 GB
Transport router or Linux VM1 to 2 GB1 to 2Small
Planning figures only. Verify against Cisco's sizing for your release.

With the Manager at about 32 GB, two light controllers and four edges at 4 GB, the lab needs roughly 58 GB of memory for the nodes, plus some for the host itself. A host with 64 GB of memory, a fast SSD and a processor with virtualisation support is a sensible target. If you have less, remove optional nodes first (the second hub, the dual-router branch) and keep the three controllers and three edges.

Diagram
Sizing sum
Sizing sum

Add the nodes and the host.

  1. Managerabout 32 GB
  2. 2 controllersabout 8 GB
  3. 4 edgesabout 16 GB
  4. Transportabout 2 GB
  5. Hostrest of 64 GB
Leave 10 to 20 percent free; a lab that swaps is slow and confusing.

Worked example: does a 64 GB host fit?

Add the figures from the per-node table for three sizes of the lab, once with the low end of each range and once with the high end. The Manager is the node that moves the total most, because its range runs from 16 to 32 GB. Edges are counted at the 4 GB floor, since the table gives them as about 4 GB or more.

Diagram
Three lab sizes on a 64 GB host
Three lab sizes on a 64 GB host

With 15 percent kept free, a 64 GB host has 54.4 GB for the nodes. The core lab needs 37 to 54 GB and fits at both ends. The four-edge lab needs 41 to 58 GB and fits at the low end only. The full lab needs 49 to 66 GB and fits at the low end only.

64 GB host, 15 percent free
  • Core lab37 to 54 GBfits at both ends
  • Four edges41 to 58 GBlow end only
  • Full lab49 to 66 GBlow end only
The high end of the Manager range decides whether the larger labs fit.
Diagram
Lab size against a 64 GB host (computed)
Lab size against a 64 GB host (computed)
Lab sizeMemory, low to highvCPU, low to highDisk, at leastFits 64 GB with 15% free (54.4 GB)?
Core: Manager, 2 controllers, 3 edges, 1 transport37 to 54 GB15 to 26150 GBYes, at both ends
Four edges: the core lab plus one optional node41 to 58 GB17 to 30160 GBAt the low end only
Full: all six edges49 to 66 GB21 to 38180 GBAt the low end only. The high end is 2 GB over the whole host
Planning arithmetic from this lesson's rough figures, not Cisco's sizing. Disk uses 100 GB for the Manager and 10 GB for every other node, and the transport router is counted as small.

The result changes the usual advice. A 64 GB host runs the core lab comfortably. With four edges it is tight if the Manager needs the high end, because 58 GB leaves 6 GB for the host, which is under the 10 to 20 percent free that the sizing diagram recommends. The table uses 15 percent, the middle of that range. With all six edges it is not enough at the high end. Two ways out are to run a smaller Manager size, if Cisco's guidance for your release allows one for a lab with few devices, or to drop the optional nodes until the build works. Read the compute guidance for your release before you decide, because it overrides every number on this page.

Host size changes the answer more than lab size does. The table below was computed by script from the same figures, with 15 percent kept free. The last column removes the Manager from the core lab, as when it is hosted for you, which takes off 16 GB at the low end and 32 GB at the high end.

Diagram
Which host fits which lab (computed)
Which host fits which lab (computed)
Host memoryUsable at 15 percent freeCore lab, 37 to 54 GBFour edges, 41 to 58 GBFull lab, 49 to 66 GBCore, hosted Manager, 21 to 22 GB
32 GB27.2 GBNoNoNoYes, at both ends
48 GB40.8 GBLow end onlyNoNoYes, at both ends
64 GB54.4 GBYes, at both endsLow end onlyLow end onlyYes, at both ends
96 GB81.6 GBYes, at both endsYes, at both endsYes, at both endsYes, at both ends
A 32 GB host cannot run even the core lab with a local Manager, so the answer for a small host is a hosted Manager, not fewer edges. Planning arithmetic from this lesson's rough figures, not Cisco's sizing.

The vCPU column is a count to compare with the host's processor threads. Virtual machines in a lab are rarely all busy at once, so a total above the thread count is possible, but expect slower start-up and slower synchronisation of the controllers when it is.

Choosing where to run it

Diagram
Lab options
Lab options
OptionGood forWatch for
Hosted sandbox from the vendorSeeing the Manager GUI without building anythingAccess type, time limits and device models change; you often cannot change the fabric
Network emulator on your PC or serverFull control, break and fixNeeds images and licences you are entitled to, and a large host
Your own hypervisor with VMsFlexible networking and snapshotsMore manual work for the transport networks
Rented cloud or bare-metal hostNo local hardware, large memoryCost; nested virtualisation limits on some providers
Pick one before you start. Moving a half-built lab between platforms costs a day.
Diagram
Local or rented
Local or rented

Own host against rented host.

Own hostOne-off costAvailable any time
Rented hostPay by useStart and stop at will
Either works if it has the memory and fast storage.

Learn more: Install or Build a Controller-and-Edge LabManual Bootstrap and Controller Reachability

Test yourself

Predict · scenario 1

Which node of the course lab needs the most memory and disk?

Predict · scenario 2

Your host has 32 GB of memory. What do you do first?

Predict · scenario 3

Where should controller and router images come from?

Predict · scenario 4

The Manager takes 32 GB, two controllers take 4 GB each, four edges take 4 GB each and the transport router takes 2 GB. How much memory do the nodes need?

Predict · scenario 5

A host has 64 GB of memory and you want 15 percent kept free. How much can the nodes use?

Predict · scenario 6

Which lab size from the worked example needs more than 64 GB at the high end of the figures?

Predict · scenario 7

A host has 48 GB and 15 percent is kept free, so 40.8 GB is usable. Which lab fits at the low end of the figures but not at the high end?

Predict · scenario 8

The Manager is hosted for you, so the core lab keeps two controllers, three edges and the transport router. How much memory does it need, and does it fit a 32 GB host with 15 percent free?

Predict · scenario 9

The four-edge lab runs at its high end of 58 GB on a 64 GB host. How much memory is left for the host, and is that at least 15 percent?

FAQ

Does RouteLearn supply the software or images?
No. Cisco controller and router images, and the licences that go with them, come from Cisco or its partners under their own terms. This site does not provide, host or link to images.
Can I learn without building a lab?
You can learn the ideas from the lessons, but commands and outputs become clear only when you see them on a device. If you cannot build a lab, a hosted sandbox from Cisco is an option; check what it offers today.
How much memory does the lab need?
A 64 GB host fits the core lab and, with care, four edges. The full lab with every optional node can need more than 64 GB at the high end of the figures in this lesson. The tables give rough per-node figures and a worked sum. Cisco publishes the supported sizing for each release, which is the number to trust.