2 restoring configuration, 3 using a different configuration file – ZyXEL Communications ZyXEL Dimension GS-3012 User Manual
Page 228

GS-3012/GS-3012F User’s Guide
31-6
Command Examples
= The IP address of a TFTP server on which you want to store the backup
configuration file.
= Specifies the name of the configuration file.
This command backs up the current configuration file on a TFTP server. The following example backs up the
current configuration to a file (
test.cfg
) on the TFTP server (
172.23.19.96
).
Figure 31-10 CLI: Backup Configuration Example
31.6.2 Restoring
Configuration
Syntax:
copy tftp config
where
= The IP address of a TFTP server from which you want to get the backup
configuration file.
= Specified the name of the configuration file.
This command restores a configuration file on the switch. The following example uploads the configuration file
(
test.cfg
) from the TFTP server (
172.23.19.96
) to the switch.
Figure 31-11 CLI: Restore Configuration Example
31.6.3
Using a Different Configuration File
You can store up to two configuration files on the switch. Only one configuration file is used at a time. By default
the switch uses the first configuration file (with an index number of 1). You can set the switch to use a different
configuration file. There are two ways in which you can set the switch to use a different configuration file: restart
the switch (cold reboot) and restart the system (warm reboot).
Use the boot config command to restart the switch and use a different configuration file (if specified). The
following example reboots the switch to use the second configuration file.
ras# copy running-config tftp 172.23.19.96 test.cfg
Backuping
. (599)Bytes Done!
ras#
ras# copy tftp config 1 172.23.19.96 test.cfg
Restoring
. (599)Bytes Done!
ras#