This post was last edited by Mohamed_Mostafa at 2019-01-13 01:49.
First :you need to save the configuration after modifications
Example# Save the current configuration to the default directory when the next startup configuration file is not specified.
<HUAWEI> save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0..
Save the configuration successfully.
# Save the current configuration to the next startup configuration file specified.
<HUAWEI> save
The current configuration will be written to flash:/vrpcfg.zip.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Info: Save the configuration successfully.
Second :you need to backup you configuration file to use it to restore your configuration if it was lost :
Here is how to back up your configuration file :
Procedure
- Save configurations to the config.cfg file.
<HUAWEI> save config.cfg
- Back up the configuration file using TFTP.
- Start the TFTP server program.
Start the TFTP server program on the PC. Set the path for transmitting the configuration file, and the IP address and port number of the TFTP server.
- Transfer the configuration file.
# Run the tftp command in the user view to back up the specified configuration file.
<HUAWEI> tftp 10.110.24.254 put flash:/config.cfg backup.cfg
Here is how to restore:
Procedure
- Restore the backup configuration file on the PC using TFTP.
- Start the TFTP server program.
Start the TFTP server program on the PC. Set the path for transmitting the configuration file, and the IP address and port number of the TFTP server.
- Transfer the configuration file.
# Run the tftp command in the user view.
<HUAWEI> tftp 10.110.24.254 get backup.cfg config.cfg
- Specify the restored configuration file for next startup.
<HUAWEI> startup saved-configuration config.cfg