To do…

Use the command…

Remarks

Manually save the running

archive configuration

Required

configuration

Available in user view

 

 

 

 

 

 

 

NOTE:

Specify the path and filename prefix of a save configuration file before you manually save the running configuration; otherwise, the operation fails.

Setting configuration rollback

Follow these steps to set configuration rollback:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Set configuration rollback

configuration replace file filename

Required

 

 

 

 

 

 

CAUTION:

Configuration rollback may fail if one of the following situations is present (if a command cannot be rolled back, the system skips it and processes the next one):

The complete undo form of a command is not supported. You cannot get the actual undo form of the command by simply putting the keyword undo in front of the command, so the complete undo form of the command cannot be recognized by the switch.

The configuration cannot be removed, such as hardware-related commands

Commands in different views are dependent on each other

If the replacement configuration file is not a complete file generated by using the save or archive configuration command, or the file is copied from a different type of switch, the configuration cannot be rolled back. Ensure that the replacement configuration file is correct and compatible with the current switch.

The configuration file specified with the configuration replace file filename command can only be a configuration file in simple text. Otherwise, errors may occur in configuration rollback.

Specifying a startup configuration file to be used at the next system startup

To specify a startup configuration file to be used at the next system startup, use the following guidelines:

Use the save command. If you save the running configuration to the specified configuration file in the interactive mode, the system automatically sets the file as the main startup configuration file to be used at the next system startup.

Use the command dedicated to specify a startup configuration file to be used at the next startup, which is described in the following table:

Follow the step below to specify a startup configuration file to be used at the next startup:

111