This example shows you how to save configurations and set the configuration file to be loaded at the next startup.
As shown inFigure 1, the user logs in to the router to manage configuration files.
The configuration roadmap is as follows:
Modify configurations.
Save configurations in a configuration file.
Specify the configuration file to be loaded at the next startup.
After a system upgrade, compare the current running configurations with those defined in the configuration file to be loaded at the next startup to check whether configurations are lost.
For example, enable the FTP server function.
<HUAWEI> system-view [~HUAWEI] ftp server enable [*HUAWEI] commit [~HUAWEI] quit
<HUAWEI> save vrpcfg.cfg Warning: Are you sure to save the configuration to vrpcfg.cfg? [Y/N]: y
<HUAWEI> startup saved-configuration vrpcfg.cfg
<HUAWEI> compare configuration
The current configuration is the same as the next startup configuration file.