Clearing A Configuration File - Huawei AR2200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR2200 Series:
Table of Contents

Advertisement

Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
l
----End

7.2.3 Clearing a Configuration File

You can clear the configuration file that has been loaded to a device.
Context
The configuration file needs to be cleared in the following cases:
l
l
Procedure
l
Issue 02 (2011-10-15)
1.
Run:
autosave interval { time } | { value } | { configuration time }
The system is configured to save the configuration file periodically.
If interval time is specified, the system saves the configuration file at the specified
interval regardless of whether the configuration is changed.
– By default, the interval at which the system saves the configuration file is 0
seconds, indicating that the system does not save the configuration file
automatically.
– After automatic configuration saving is enabled, the default interval is 30 minutes
if time is not specified.
Save the current configuration immediately.
– Run:
save [ all ] [ configuration-file ]
The current configuration is saved.
The configuration file name extension must be .cfg or .zip, and the system startup
configuration file must be saved in the root directory of the storage device.
If you modify the current configuration and want to use the modified configuration as
the next startup configuration, run the save command to save the new configuration to
the storage device.
The save all command saves all the current configurations to the default directory,
including the configurations of the boards that are not running on the router.
The system software does not match the configuration file after the router has been
upgraded.
The configuration file is destroyed or an incorrect configuration file has been loaded.
Run the reset saved-configuration command to clear the currently loaded configuration
file.
– If the configuration file of the router used for the current startup is the same as that used
for the next startup, running the reset saved-configuration command will clear both
the configuration files. The router will uses the default configuration file for the next
startup.
– If the configuration file of the router used for the current startup is different from that
used at the next startup, running the reset saved-configuration command will clear the
configuration file used for the current startup.
– If the configuration file of the router used for the current startup is empty, the system
will prompt you that the configuration file does not exist after you run the reset saved-
configuration command.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 Configuring System Startup
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents