3 using a different configuration file, 4 resetting to the factory default – ZyXEL Communications ES-3124PWR User Manual
Page 227

Dimension ES-3124PWR Ethernet Switch
Command Examples
30-7
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 30-11 CLI: Restore Configuration Example
30.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.
Figure 30-12 CLI: boot config Command Example
Use the reload config command to restart the system and use a different configuration file (if specified). The
following example restarts the system to use the second configuration file.
Figure 30-13 CLI: reload config Command Example
When you use the
write memory
command without specifying a configuration file index number,
the switch saves the changes to the configuration file the switch is currently using.
30.6.4
Resetting to the Factory Default
Follow the steps below to reset the switch back to the factory defaults.
ras# copy tftp config 1 172.23.19.96 test.cfg
Restoring
. (599)Bytes Done!
ras#
ras# boot config 2
ras# reload config 2