HP (Hewlett-Packard) JD318B Switch User Manual


 
The fast saving mode is suitable for environments where the power supply is stable. The safe mode is
preferred in environments where a stable power supply is unavailable or remote maintenance is
involved.
Follow these steps to save the current configuration:
To do… Use the command… Remarks
Save the current configuration to
the specified file, but the
configuration file will not be set as
the file for the next startup
save file-url
Save the current configuration to
the root directory of the storage
medium and specify the file as the
startup configuration file to be used
at the next system startup
save [ safely ] [ backup | main ]
[ force ]
Required
Use either command
Available in any view.
NOTE:
The configuration file must have the .cfg extension.
The execution of the save [ safely ] and save [ safely ] main commands has the same effect: The system
will save the current confi
g
uration and specify the confi
g
uration file as the main startup confi
g
uration file
to be used at the next system startup.
During the execution of the save [ backup | main ] command, the startup configuration file to be used
at the next system startup may be lost if the switch reboots or the power supply fails. The switch will boo
t
with the null configuration, and after the switch reboots, you will need to re-specify a startup
configuration file for the next system startup (see “Specifying a startup configuration file to be used at
the next system startup”).
Setting configuration rollback
Configuration rollback
Configuration rollback allows you to revert to a previous configuration state based on a specified
configuration file. The specified configuration file must be a valid .cfg file generated by using either the
backup function (manually or automatically) or the save command, or, if a configuration file is generated
by another switch, the configuration file must comply with the format of the configuration file on the
current switch. HP recommends that you use the configuration file that is generated by using the backup
function (manually or automatically). Configuration rollback can be applied in the following situations:
Running configuration error. Rolling back the running configuration to a correct one is needed.
The application environment has changed and the switch has to run in a configuration state based
on a previous configuration file without being rebooted.
Before setting configuration rollback, perform the following steps:
1. Specify the filename prefix and path for saving the running configuration.
2. Save the running configuration with the specified filename (filename prefix + serial number) to the
specified path. The running configuration can be saved automatically or manually.
108