Restoring configuration, Using a different configuration file, 2 restoring configuration – ZyXEL Communications GS-3012 User Manual
Page 202: 3 using a different configuration file

Dimension GS-3012 Gigabit Ethernet Switch
29-6
Command Examples
= 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 29-10 CLI: Backup Configuration Example
29.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 29-11 CLI: Restore Configuration Example
29.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.
GS-3012# copy running-config tftp 172.23.19.96 test.cfg
Backuping
. (599)Bytes Done!
GS-3012#
GS-3012# copy tftp config 1 172.23.19.96 test.cfg
Restoring
. (599)Bytes Done!
GS-3012#