135
Configuration file management commands
The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for features,
commands, and parameters might differ in FIPS mode and non-FIPS mode. For more information about
FIPS mode, see
Security Configuration Guide
.
backup startup-configuration
Use
backup startup-configuration
to back up the main next-startup configuration file to a TFTP server.
Syntax
backup startup-configuration to
tftp-server
[
dest-filename
]
Views
User view
Predefined user roles
network-admin
Parameters
tftp-server
: Specifies a TFTP server by its IPv4 address or host name. The host name is a case-insensitive
string of 1 to 253 characters. Valid characters include letters, digits, hyphens (-), underscores (_), and
dots (.).
dest-filename
: Specifies the target file name used for saving the file on the server. The file name must use
the .cfg extension. If you do not specify a target file name, the source file name is used.
Usage guidelines
This command is not supported in FIPS mode.
Examples
# Back up the main next-startup configuration file to the TFTP server at 2.2.2.2, and set the target file
name to
192-168-1-26.cfg
.
<Sysname> backup startup-configuration to 2.2.2.2 192-168-1-26.cfg
Backup next startup-configuration file to 2.2.2.2, please wait…finished
Related commands
restore startup-configuration
configuration encrypt
Use
configuration encrypt
to enable configuration encryption.
Use
undo configuration encrypt
to restore the default.
Syntax
configuration encrypt
{
private-key
|
public-key
}
undo configuration encrypt