switch(config)# show cfg-restore status
Status : Success
Config File Name : add
Source : Flash
Time Taken : 2 Seconds
Last Run : Sun Oct 22 22:09:02 2017
Recovery Mode : Enabled
Failure Reason : -
Number of Add Commands : 7
Number of Remove Commands : 10
Time Taken for Each Phase :
Calculating diff : 1 Seconds
Adding commands : 0 Seconds
Removing commands : 0 Seconds
cfg-restore recovery-mode
Syntax
cfg-restore {flash | tftp | sftp} <FILE-NAME> recovery-mode {enable | disable}
Description
Restores the current running configuration, if a restore to the backup configuration fails. By default, recovery-
mode is enabled.
Command context
config
Usage
To disable recovery mode, use cfg-restore {flash | tftp | sftp} <FILE-NAME> recovery-mode
disable.
Example
With the following running configuration, a restore to the backup file modify fails, but this configuration will be
retained as recovery mode is enabled.
switch(config)# show running-config
Running configuration:
; JL255A Configuration Editor; Created on release #WC.16.05.0000x
; Ver #12:08.1d.9b.3f.bf.bb.ef.7c.59.fc.6b.fb.9f.fc.ff.ff.37.ef:ba
hostname "Aruba-2930F-24G-PoEP-4SFPP"
module 1 type jl255a
ip routing
snmp-server community "public" unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-28
ip address dhcp-bootp
exit
vlan 10
name "VLAN10"
no ip address
564 Aruba 2930F / 2930M Management and Configuration Guide
for ArubaOS-Switch 16.08