3com 4210 PWR 9-Port 3CR17341-91-ME User Manual
Product codes
3CR17341-91-ME
68
C
HAPTER
3: C
ONFIGURATION
F
ILE
M
ANAGEMENT
The following three situations are concerned with the main/backup attributes:
■
When saving the current configuration, you can specify the file to be a main or
backup or normal configuration file.
backup or normal configuration file.
■
When removing a configuration file from a device, you can specify to remove
the main or backup configuration file. Or, if it is a file having both main and
backup attribute, you can specify to erase the main or backup attribute of the
file.
the main or backup configuration file. Or, if it is a file having both main and
backup attribute, you can specify to erase the main or backup attribute of the
file.
■
When setting the configuration file for next startup, you can specify to use the
main or backup configuration file.
main or backup configuration file.
Startup with the configuration file
When booting, the system chooses the .cfg configuration files following the rules
below:
below:
1 If the main configuration file exists, the switch initializes with this configuration.
2 If the main configuration file does not exist but the backup configuration file
exists, the switch initializes with the backup configuration.
3 If neither the main nor the backup configuration file exists, switch initializes with
the default configuration file which ends in a .def file extension (e.g.,
3comoscfg-26Port.def). This has factory-loaded default settings recommended by
3Com. There is a specific .def file for each switch type.
3comoscfg-26Port.def). This has factory-loaded default settings recommended by
3Com. There is a specific .def file for each switch type.
Management of
Configuration File
Configuration File
If the default (.def) configuration file does not exist, the switch will come up with
the switch internal defaults.
the switch internal defaults.
Saving the Current
Configuration
You can modify the configuration on your device at the command line interface
(CLI). To use the modified configuration for your subsequent startups, you must
save it (using the save command) as a configuration file.
(CLI). To use the modified configuration for your subsequent startups, you must
save it (using the save command) as a configuration file.
Modes in saving the configuration
■
Fast saving mode. This is the mode when you use the save command without
the safely keyword. The mode saves the file quicker but is likely to lose the
original configuration file if the device reboots or the power fails during the
process.
the safely keyword. The mode saves the file quicker but is likely to lose the
original configuration file if the device reboots or the power fails during the
process.
■
Safe mode. This is the mode when you use the save command with the safely
keyword. The mode saves the file slower but can retain the original
keyword. The mode saves the file slower but can retain the original
Table 36 Complete these tasks to configure configuration file management
Task
Remarks
Saving the current configuration
Optional
Erasing the startup configuration file
Optional
Specifying a configuration file for next startup
Optional
Table 37 Save current configuration
Operation
Command
Description
Save current configuration
save [ cfgfile | [ safely ] [
backup | main ] ]
backup | main ] ]
Required
Available in any view