6 configuration file maintenance, 1 using a different configuration file – ZyXEL Communications LAYER 3 ES-3124 User Manual
Page 274

ES-3124 User’s Guide
272
Chapter 35 User and Enable Mode Commands
where
An example is shown next.
• Copy all attributes of port 1 to port 2
• Copy selected attributes (active, bandwidth limit and STP settings) to ports 5-10
35.6 Configuration File Maintenance
The following sections shows how to manage the configuration files.
35.6.1 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 restarts the switch to use the second configuration file.
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.
copy running-config
interface port-
channel
= Copies all of the possible attributes from one port to another port
or ports.
copy running-config
interface port-
channel from
to
[active ... ]
= Copies only the specified port attributes from one port to another
port or ports.
ras# copy running-config interface port-channel 1 2
ras# copy running-config interface port-channel 1 5-10 active bandwidth-
limit spanning-tree
ras# boot config 2
ras# reload config 2