Restoring the startup configuration file, Displaying and maintaining device configuration – H3C Technologies H3C S5120 Series Switches User Manual

Page 618

Advertising
background image

2-9

Restoring the Startup Configuration File

The restore function allows you to copy a configuration file from a TFTP server to the device and specify

the file as the startup configuration file to be used at the next system startup.

Follow the step below to restore the startup configuration file to be used at the next system startup:

To do…

Use the command…

Remarks

Restore the startup
configuration file to be used at
the next system startup

restore startup-configuration
from
src-addr src-filename

Required

Available in user view

z

The restore operation restores the main startup configuration file.

z

Before restoring a configuration file, you should ensure that the server is reachable, the server is

enabled with TFTP service, and the client has read and write permission.

z

After the command is successfully executed, you can use the display startup command (in user

view) to verify that the filename of the configuration file to be used at the next system startup is the

same with that specified by the filename argument.

Displaying and Maintaining Device Configuration

To do…

Use the command…

Remarks

Display the information about
configuration rollback

display archive configuration

Available in any view

Display the currently running
configuration file saved on the
storage medium of the device

display saved-configuration
[ by-linenum ]

Available in any view

Display the configuration files
for this and the next system
startup

display startup

Available in any view

Display the validated
configuration in current view

display this [ by-linenum ]

Available in any view

Display the current
configuration

display current-configuration
[ [ configuration
[ configuration ] | interface
[ interface-type ]
[ interface-number ] ]
[ by-linenum ] [ | { begin |
include | exclude } text ] ]

Available in any view

Advertising