Management of Configuration File
69
configuration file in the device even if the device reboots or the power fails
during the process.
c
CAUTION:
The configuration file to be used for next startup may be lost if the
device reboots or the power fails during the configuration file saving process. In
this case, the device reboots without loading any configuration file. After the
device reboots, you need to specify a configuration file for the next startup. Refer
to “Specifying a Configuration File for the Next Startup ” on page 70 for details.
Three attributes of the configuration file
■
Main attribute. When you use the
save
[ [
safely
] [
main
] ] command to save
the current configuration, the configuration file you get has main attribute. If
this configuration file already exists and has backup attribute, the file will have
both main and backup attributes after execution of this command. If the
filename you entered is different from that existing in the system, this
command will erase its main attribute to allow only one main attribute
configuration file in the device.
■
Backup attribute. When you use the
save
[
safely
]
backup
command to save
the current configuration, the configuration file you get has backup attribute. If
this configuration file already exists and has main attribute, the file will have
both main and backup attributes after execution of this command. If the
filename you entered is different from that existing in the system, this
command will erase its backup attribute to allow only one backup attribute
configuration file in the device.
■
Normal attribute. When you use the
save
cfgfile
command to save the current
configuration, the configuration file you get has normal attribute if it is not an
existing file. Otherwise, the attribute is dependent on the original attribute of
the file.
n
■
It is recommended to adopt the fast saving mode in the conditions of stable
power and adopt the safe mode in the conditions of unstable power or remote
maintenance.
■
The extension name of the configuration file must be .cfg.
Erasing the Startup
Configuration File
You can clear the configuration files saved on the device through commands.
After you clear the configuration files, the device starts up without loading the
configuration file the next time it is started up.
You may need to erase the configuration file for one of these reasons:
■
After you upgrade software, the old configuration file does not match the new
software.
■
The startup configuration file is corrupted or not the one you needed.
The following two situations exist:
Table 38
Erase the configuration file
Operation
Command
Description
Erase the startup
configuration file from the
storage device
reset saved-configuration
[
backup
|
main
]
Required
Available in user view
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...