ES-2048 User’s Guide

where

copy running-config interface port- channel <port> <port-list>

copy running-config interface port- channel <port> <port-list> [active

... ]

=Copies all of the possible attributes from one port to another port or ports.

=Copies only the specified port attributes from one port to another port or ports.

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-8

sysname# copy running-config interface port-channel 1 2 sysname# copy running-config interface port-channel 1 5-8 active bandwidth-limit spanning-tree

32.6 Configuration File Maintenance

The following sections show how to manage the configuration files.

32.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.

sysname# boot config 2

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.

sysname# reload config 2

246

Chapter 32 User and Enable Mode Commands