9-117
You can use the
display current-configuration
command to view the current validated configuration
of the device.
Format and Content of a Configuration File
A configuration file is saved as a text file. It is saved following these rules:
z
A configuration file contains commands, and only non-default configuration settings are saved.
z
Commands in a configuration file are listed in sections by views, usually in the order of system view,
interface view, routing protocol view, and user interface view. Sections are separated with one or
multiple blank lines or comment lines that start with a pound sign
#
.
z
A configuration file ends with a return.
Coexistence of Multiple Configuration Files
The device can save multiple configuration files on its storage medium. You can save the configuration
used in different networking environments as different configuration files. In this case, when the device
moves between these networking environments, you just need to specify the corresponding
configuration file as the startup configuration file to be used at the next startup of the device and restart
the device, so that the device can adapt to the network rapidly, saving the configuration workload.
A device starts up using only one configuration file. However, you can specify two startup configuration
files, main startup configuration file and backup startup configuration file to be used at the next startup of
the device as needed when the device has main and backup configuration files. The device starts up
using the main startup configuration file. If the main startup configuration file is corrupted or lost, the
devices starts up using the backup startup configuration file. Devices supporting main and backup
startup configuration files are more secure and reliable.
At a moment, there are at most one main startup configuration file and one backup startup configuration
file. You can specify neither of the two files (displayed as NULL).
You can specify main and backup startup configuration files to be used at the next startup of the device
in two methods:
z
Specify them when saving the current running configuration. For more information, see
.
z
Specify them when specifying the startup configuration file to be used at the next system startup.
For more information, see
Specifying a Startup Configuration File to Be Used at the Next System
.
Startup with the Configuration File
The device takes the following steps when it starts up:
1) If the main startup configuration file you specified exists, the device starts up with this configuration
file.
2) If the main startup configuration file you specified does not exist but the backup startup
configuration file exists, the device starts up with the backup startup configuration file.
3) If neither the main nor the backup startup configuration file exists, the device starts up with null
configuration.
Summary of Contents for SR6600 SPE-FWM
Page 112: ...6 101...