7-8
This command permanently deletes the configuration file from the device. Use it with caution.
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 configuration file to be
used at the next startup
restore startup-configuration
from
src-addr filename
Required
Available in user view
z Before restoring a configuration file, make sure that the server is reachable, the server is enabled
with TFTP service, and the client has permission to read and write.
z When the command is successfully executed, you can use the display startup command (in user
view) to view whether the filename of the configuration file to be used at the next startup is the
same as the filename argument, and use the dir command to view whether the restored file exists.
Displaying and Maintaining Device Configuration
To do… Use the command… Remarks
Display information about configuration
rollback
display archive configuration
Display the currently running configuration file
saved on the storage medium of the device
display saved
-
configuration
[
by-linenum
]
Display the configuration files for this and the
next system startup
display startup
Display the validated configuration in current
view
display this
[
by-linenum
]
Display the current configuration
display current-configuration
[ [
configuration
[ configuration ] |
interface
[ interface-type ]
[ interface-number ] ] [
by-linenum
] [
|
{
begin
|
include
|
exclude
} text ] ]
Available in any
view