15.3 Making Basic Ongoing Configuration Changes
Key Takeaways
Routine changes (adding a VLAN, moving a port, adding an SSID, changing a role) follow a small change process: request, impact check, backup, implement, verify, and document.
AOS-CX checkpoints protect changes: up to 32 user checkpoints, system checkpoints (prefix CPC) created automatically after changes settle,
checkpoint diffto compare, andcheckpoint rollbackto revert.Running configuration changes take effect immediately on AOS-CX but must be saved with
write memory(or copied to startup-config) to survive a reboot.When a device is managed by Central, make changes in Central (group, template, or scope); local CLI edits can be overwritten or show up as configuration mismatches.
A new VLAN is an end-to-end change: VLAN on access, trunk allowed lists, SVI or active-gateway, DHCP helper and scope, snooping, and the matching role or SSID.
15.3 Making Basic Ongoing Configuration Changes
Quick Summary: After go-live, the network keeps changing: a new department needs a VLAN, a printer moves, an SSID is added, or a role must change. HPE6-A85 expects an associate to make these basic ongoing configuration changes safely: understand the impact, protect the change with a backup or checkpoint, apply it in the right place (CLI, VSX primary, or Central), verify it, save it, and document it.
A Lightweight Change Process
- Request and scope: what exactly must change, and why.
- Impact check: which devices, users, and services are affected; does it need a maintenance window?
- Protect: back up the configuration or create a checkpoint; use
checkpoint autofor risky remote work. - Implement: apply the change in the correct place.
- Verify: confirm the intended effect and check for side effects (Section 15.1 checks for the affected layer).
- Save and document: make the change persistent and update the documentation (Section 15.4).
Running Versus Startup Configuration
On AOS-CX, configuration commands change the running configuration immediately. To keep them after a reboot, save them:
switch# write memory
(copy running-config startup-config does the same.) A change that works but was never saved disappears at the next reboot, which often happens months later during an unrelated upgrade.
AOS-CX Checkpoints
Checkpoints are snapshots of the configuration (AOS-CX 10.14 Fundamentals Guide):
| Type | How it is created | Limit |
|---|---|---|
| User checkpoint | copy running-config checkpoint <name> | Up to 32 |
| System checkpoint | Automatically, about 300 seconds after configuration changes stop (named CPC plus a timestamp) | Up to 32; the newest replaces the oldest |
| Auto checkpoint | checkpoint auto <1-60 minutes>; kept only if you enter checkpoint auto confirm in time | Temporary until confirmed |
Useful commands:
switch# show checkpoint
switch# checkpoint diff before-vlan-40 running-config
switch# checkpoint rollback before-vlan-40
checkpoint rollback replaces the running configuration with the checkpoint, and everything configured after it is lost, so compare first with checkpoint diff.
Where to Make the Change
Central-managed devices
If a switch or AP is managed by Central, make the change in Central: the Classic Central group (UI group or template), or the appropriate new Central scope or profile. Local CLI changes on a Central-managed device can be overwritten at the next push or appear as a mismatch in the configuration audit. Classic Central's audit view also shows the Auto Commit state; after an automatic rollback, Auto Commit is turned off until you review the offending change (Section 11.1).
VSF stacks
A VSF stack has one configuration on the Conductor. Configure any member's ports from the Conductor using member/slot/port names such as 3/1/12.
VSX pairs
Each VSX peer has its own configuration. Features configured with vsx-sync on the primary are copied to the secondary; anything not synchronized must be configured on both peers. Check show vsx config-consistency after changes that affect VSX-LAGs.
Worked Example: Adding VLAN 40 for a New Department
The LLD update says: VLAN 40, name LABS, subnet 10.40.0.0/23, gateway 10.40.0.1 on the core VSX pair, DHCP from 10.1.100.50, available on floor 2 desk ports through 802.1X role LAB_USER.
- Access stack (floor 2):
switch(config)# vlan 40
switch(config-vlan-40)# name LABS
switch(config-vlan-40)# dhcp-snooping
switch(config-vlan-40)# arp inspection
switch(config-vlan-40)# exit
switch(config)# interface lag 1
switch(config-lag-if)# vlan trunk allowed 40
switch(config-lag-if)# exit
On AOS-CX, vlan trunk allowed 40 adds VLAN 40 to the existing allowed list; check the result with show running-config interface lag 1.
- Core VSX pair (primary, with vsx-sync for VLANs, or on both peers): create VLAN 40, allow it on the downlink VSX-LAG, and create the SVI:
core(config)# interface vlan 40
core(config-if-vlan)# ip address 10.40.0.2/23
core(config-if-vlan)# active-gateway ip mac 02:00:0a:28:00:01
core(config-if-vlan)# active-gateway ip 10.40.0.1
core(config-if-vlan)# ip helper-address 10.1.100.50
The secondary peer uses its own SVI address (for example 10.40.0.3/23) with the same active-gateway IP and MAC.
- Services: a DHCP scope for 10.40.0.0/23 with gateway 10.40.0.1; OSPF advertises the new subnet (passive SVI).
- Access control: a LAB_USER role that places users in VLAN 40, and the ClearPass policy that returns it.
- Verify:
show vlan 40,show vlan port 1/1/52,show active-gateway, a test client that authenticates, receives an address in 10.40.0.0/23, and reaches its applications. - Save and document:
write memoryon each switch (or confirm Central is in sync), then update the VLAN table, port map, and change log.
Common Change Types and Their Checks
| Change | Key steps | Verify with |
|---|---|---|
| Move a desk port to another VLAN | Change vlan access (or the role returned by ClearPass); confirm the VLAN exists on the switch | show vlan port <port>; client gets an address in the new subnet |
| Add a VLAN to a trunk | vlan trunk allowed <id> on both ends | show vlan port <port> on both ends |
| Remove a VLAN from a trunk | no vlan trunk allowed <id>; never remove the last VLAN by accident | show running-config interface <port> |
| Change PoE priority | power-over-ethernet priority <level> on the port | show power-over-ethernet <port> |
| Add an SSID | Create it in Central with security, forwarding mode, VLAN or gateway cluster, and role | Test client connects, gets the right VLAN and role |
| Change a role's VLAN or policy | Update the role locally or in ClearPass/Central; CoA can move active clients | show port-access clients detail; show radius dyn-authorization |
AOS-CX trap: if you remove the last VLAN from a trunk's allowed list with
no vlan trunk allowed, the interface stays in trunk mode and then carries all VLANs defined on the switch, including future ones (AOS-CX 10.14 CLI Guide). Replace the list deliberately rather than emptying it.
Common Exam Traps
- Forgetting the trunks. A VLAN that exists on both ends but is missing from a trunk's allowed list does not pass traffic.
- Changing only one VSX peer. Without vsx-sync, the secondary still has the old configuration.
- Not saving. Running-configuration changes are lost at reboot until saved.
- Local edits on Central-managed devices. They can be overwritten; make the change in Central.
An engineer changes a trunk on an AOS-CX switch, verifies that it works, and leaves. After a power outage weeks later the change is gone. What step was missed?
Enabling spanning tree on the trunk before leaving
Running checkpoint diff to compare the configurations
Configuring vsx-sync for the trunk on both VSX peers
Saving the running configuration with write memory
Before applying a change, an administrator created the user checkpoint 'before-vlan-40'. The change caused problems. Which command shows exactly what changed before reverting?
show running-config vsx-peer on the core switch
show boot-history for the last configuration reload
checkpoint diff before-vlan-40 running-config
checkpoint auto confirm on the same switch
A department needs a new VLAN delivered to floor 2 desk ports, with gateways on the core VSX pair. Which step is most often forgotten and stops traffic even though the VLAN exists on both the access stack and the core?
Adding the VLAN to the uplink trunk's allowed list on both ends
Enabling always-on PoE on the floor 2 desk ports for the phones
Changing the spanning tree mode from MSTP to RPVST+ on the core
Increasing the MAC address-table aging timer on the access stack
Sections you finish are checked off in the contents.