USB Copy
Copy to USB
Copy from USB
© Copyright Lenovo 2017
RSG8264_replace.cfg
The switch replaces the active configuration file with the new file, and boots
with the new file. This file takes precedence over any other configuration files
that may be present on the USB drive.
If more than one valid file is present, the switch loads all valid files and boots with
them. For example, you may simultaneously load a new boot file, image file, and
configuration file from the USB drive.
The switch ignores any files that do not match the valid file names or that have the
wrong format.
If a USB drive is inserted into the USB port, you can copy files from the switch to
the USB drive, or from the USB drive to the switch. USB Copy is available only for
software image 1 and the active configuration.
Use the following command to copy a file from the switch to the USB drive
(Privileged EXEC mode):
usbcopy tousb <filename> {boot|image1|active|syslog|crashdump}
In this example, the active configuration file is copied to a directory on the USB
drive:
G8264CS(config)# usbcopy tousb a_folder/myconfig.cfg active
Use the following command to copy a file from the USB drive to the switch:
usbcopy fromusb <filename> {boot|image1|active}
In this example, the active configuration file is copied from a directory on the USB
drive:
G8264CS(config)# usbcopy fromusb a_folder/myconfig.cfg active
The new file replaces the current file.
Note: Do not use two consecutive dot characters ( .. ). Do not use a slash character
( / ) to begin a filename.
Chapter 3: Switch Software Management
79