Test your first change
This walkthrough uses NetSimLab end to end to test one change safely in a lab before you’d make it in production.
The change: in a 3-tier campus, VLAN 10’s default gateway (HSRP) is active on DIST-01. You want to move it to DIST-02 and prove that users keep their gateway while it moves.
You’ll need: a GNS3 server connected to NetSimLab (Connect a GNS3 server) with IOSv, IOSvL2 and VPCS templates, and the operator role.
1. Build the lab
Section titled “1. Build the lab”- Open the Lab builder and pick Enterprise campus (3-tier) and your GNS3 server.
- Keep the defaults: Build level “Full lab”, 2 access switches, and campus VLAN 10 USERS.
- Map the templates, tick Start all nodes after building and Push generated configs once devices have booted, and click Build.
- The build opens on its own page in a new browser tab, with its progress and log. When it finishes, click Open project in NetSimLab.
If you already have a lab in GNS3, import it instead.
2. Take a baseline
Section titled “2. Take a baseline”Record how the network behaves before the change, so you have something to compare against.
-
On the project’s Devices & images tab, click Fetch all running configs, then Download all (.txt). Keep this file: it’s your “before” config.
-
In GNS3, open the console of DIST-01 and run:
show standby briefVLAN 10 (group 10) shows Active on DIST-01, priority 110.
-
Open the console of PC1-1 (a user in VLAN 10) and check it can reach its gateway:
ping 10.10.10.1 -
Paste these outputs into the project’s Notes tab under a “Baseline” heading, and save.
3. Apply the change
Section titled “3. Apply the change”-
On Devices & images, find DIST-02 in Device configurations and click Push….
-
Set Configuration to Blank — type or paste commands and enter:
interface Vlan10standby 10 priority 120 -
Leave Push method on Direct console and send it.
NetSimLab enters configuration mode, sends the lines, reports any line the switch rejects, and saves the config. Because the generated configs already include standby 10 preempt, DIST-02 takes over as soon as its priority is higher.
4. Verify
Section titled “4. Verify”- On DIST-02’s console, run
show standby brief. Group 10 is now Active on DIST-02. - On PC1-1, run
ping 10.10.10.1again. The gateway address didn’t change, so it still answers. (Run a continuous ping,ping 10.10.10.1 -t, while you push, to see whether any packets are lost during the move.) - Click Refresh on DIST-02 to fetch its new running config, then compare it with the “before” file from step 2, for example with
diffor your editor’s compare view. The only difference should be the new priority line.
5. Record the result
Section titled “5. Record the result”Add an “After” section to the project’s Notes with the new show standby brief output, the ping results and your conclusion. Export → Download .md turns the whole project, including these notes, into a document you can attach to a change request.
6. Roll back (if you want to)
Section titled “6. Roll back (if you want to)”Push the reverse change to DIST-02:
interface Vlan10 standby 10 priority 90DIST-01 takes the gateway back, because it has the higher priority and preempt is on.
Where to go next
Section titled “Where to go next”- Practice building a layer yourself: rebuild the lab with Build level “Core + distribution” and configure the access switches by hand. Each device’s intended config is kept as a solution to compare against.
- Try the VXLAN BGP EVPN fabric lab type in the Lab builder.
- Practice troubleshooting: inject faults into the running lab, then find and fix them.