USB Copy
Copy to USB
Copy from USB
© Copyright Lenovo 2016
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:
G8264(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:
G8264(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
87