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.
On small screens, swipe sideways or focus the diagram and use the arrow keys.
| Node | Role | System IP | Notes |
|---|---|---|---|
| MANAGER | Manager (vManage) | 10.255.0.10 | Heaviest node; needs the most memory and disk |
| CTRL-01 | Controller (vSmart) | 10.255.0.11 | Lightweight |
| VAL-01 | Validator (vBond) | 10.255.0.12 | Lightweight; must be reachable by every edge |
| HUB-01 | Hub edge | 10.255.1.1 | Two transports |
| BR-01 | Branch edge | 10.255.2.1 | Two transports |
| BR-02 | Internet-only branch | 10.255.2.2 | One transport |
| Transport router(s) | Emulated MPLS and Internet | n/a | A small router or Linux VM with NAT on the Internet side |
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.
Software, licences, compute.
- Softwarecontroller androuter images
- Licencesrouter throughput,emulator
- Computememory, CPU,disk
- 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.
| Node | Memory | vCPU | Disk |
|---|---|---|---|
| Manager | 16 to 32 GB | 4 to 8 | Over 100 GB |
| Controller and Validator, each | About 4 GB | 2 | About 10 to 20 GB |
| Each virtual edge router | About 4 GB or more | 2 to 4 | About 10 GB |
| Transport router or Linux VM | 1 to 2 GB | 1 to 2 | Small |
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.
Add the nodes and the host.
- Managerabout 32 GB
- 2 controllersabout 8 GB
- 4 edgesabout 16 GB
- Transportabout 2 GB
- Hostrest of 64 GB
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.
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.
- Core lab37 to 54 GBfits at both ends
- Four edges41 to 58 GBlow end only
- Full lab49 to 66 GBlow end only
| Lab size | Memory, low to high | vCPU, low to high | Disk, at least | Fits 64 GB with 15% free (54.4 GB)? |
|---|---|---|---|---|
| Core: Manager, 2 controllers, 3 edges, 1 transport | 37 to 54 GB | 15 to 26 | 150 GB | Yes, at both ends |
| Four edges: the core lab plus one optional node | 41 to 58 GB | 17 to 30 | 160 GB | At the low end only |
| Full: all six edges | 49 to 66 GB | 21 to 38 | 180 GB | At the low end only. The high end is 2 GB over the whole host |
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.
| Host memory | Usable at 15 percent free | Core lab, 37 to 54 GB | Four edges, 41 to 58 GB | Full lab, 49 to 66 GB | Core, hosted Manager, 21 to 22 GB |
|---|---|---|---|---|---|
| 32 GB | 27.2 GB | No | No | No | Yes, at both ends |
| 48 GB | 40.8 GB | Low end only | No | No | Yes, at both ends |
| 64 GB | 54.4 GB | Yes, at both ends | Low end only | Low end only | Yes, at both ends |
| 96 GB | 81.6 GB | Yes, at both ends | Yes, at both ends | Yes, at both ends | Yes, at both ends |
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
| Option | Good for | Watch for |
|---|---|---|
| Hosted sandbox from the vendor | Seeing the Manager GUI without building anything | Access type, time limits and device models change; you often cannot change the fabric |
| Network emulator on your PC or server | Full control, break and fix | Needs images and licences you are entitled to, and a large host |
| Your own hypervisor with VMs | Flexible networking and snapshots | More manual work for the transport networks |
| Rented cloud or bare-metal host | No local hardware, large memory | Cost; nested virtualisation limits on some providers |
Own host against rented host.
Learn more: Install or Build a Controller-and-Edge LabManual Bootstrap and Controller Reachability
Test yourself
Which node of the course lab needs the most memory and disk?
Your host has 32 GB of memory. What do you do first?
Where should controller and router images come from?
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?
A host has 64 GB of memory and you want 15 percent kept free. How much can the nodes use?
Which lab size from the worked example needs more than 64 GB at the high end of the figures?
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?
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?
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?