Chapter 6 System Management
After the TFTP configuration is completed, perform the TFTP oper-
ations on the switch. For details, see the later sections.
Import and Export of
Configuration
The ZXR10 2920/2928/2952/2936-FI provides the import and ex-
port functions of configuration information, which makes it easy to
configure and manage the switch.
1. Export the configuration information
Use the command
show running-config toFile
to export the
execution result of
show running-config
to a config.txt and
save it in the FLASH memory. This file can also be uploaded to
the TFTP server for viewing.
zte(cfg-tffs)#tftp 192.168.1.102 upload config.txt
2. Import the configuration information
Running.cfg is a binary configuration file in flash and is gen-
erated by using the command
saveconfig
. Config.txt is a
text-format configuration file and is generated by using the
command
show running-config toFile
. Contents of the con-
fig.txt can be edited manually as needed and then downloaded
to the switch by using the command
tftp
. After the config-
uration file is downloaded into the flash of switch, reboot the
switch to import the configuration.
zte(cfg-tffs)#tftp 192.168.1.102 download config.txt
In normal case, during the rebooting process of switch, use run-
ning.cfg file to recover the configuration. If switch can’t find run-
ning.cfg, switch will check if config.txt exists, if so, switch will use
this file to recover the configuration.
Backup and Recovery of
Files
The files mentioned here refer to the configuration file and version
file in the FLASH memory.
1. Back up the configuration file
When a command is used to modify the switch configuration,
the data is running in the memory in real time. When the
switch is restarted, all the contents newly configured will be
lost. Thus, you need to execute the command
saveconfig
to
save the current configuration into the FLASH memory. The
following shows the
saveconfig
command:
zte(cfg)#saveconfig
Confidential and Proprietary Information of ZTE CORPORATION
59