Rolling Back To A Stable Configuration Using Job Scheduler - HP Aruba JL253A Management And Configuration Manual

For arubaos-switch 16.08
Table of Contents

Advertisement

Adding commands
Removing commands

Rolling back to a stable configuration using job scheduler

Procedure
1. Configure the job using alias with the required configuration.
alias <name> <command-list>
job <name> delay [[DD:]HH:]MM <command>
To schedule a job execution with cfg-restore operation once after 15 minutes (00:00:15):
alias "cfg_rollback" "cfg-restore flash stable"
job "cfg_stable" delay 00:00:15 "cfg_rollback" count 1
2. Back up the current stable configuration using the command cfg-backup running-config config
<config_name>.
cfg-backup running-config config stable
3. Check the backup configuration using the command show config files.
switch(config)# show config files
Configuration files:
id | act pri sec | name
---+-------------+-------
1
|
*
2
|
3
|
4
|
5
|
4. Edit the configuration as needed. If the user is still connected to the switch, the configuration is stable and the
job which reloads the older configuration can be cancelled using the command no job cfg_stable.
switch(config)# no job cfg_stable
5. If the user loses connectivity after applying the new configuration, the job scheduler executes the job after the
15-minute timer expires, and "stable" configuration is restored. Use the following commands to check the
output:
switch(config)# show job cfg_stable
switch(config)# show cfg-restore status
switch(config)# show job cfg_stable
Job Information
Job Name
Runs At
Config Save
Repeat Count
Job Status
Running Status : Active
556
: 2 Seconds
: 0 Seconds
*
*
| config
| stable
|
|
|
: cfg_stable
: Every 00:00:15 days:hours:minutes
: No
: 1
: Enabled
Aruba 2930F / 2930M Management and Configuration Guide
for ArubaOS-Switch 16.08

Advertisement

Table of Contents
loading

Table of Contents