Save a File to an External USB Device
Use the following procedure to save the configuration file or log file to an external USB device.

Caution
Always use the usb-stop command to safely unplug the USB drive from the USB slot.
Procedure
Example
Switch:1#save config file /usb/test.cfg CP-1: Save config to file /usb/test.cfg successful. WARNING: Choice Primary Node Config file is "/intflash/soak.cfg". Switch:1#
Switch:1#save log file /usb/test.log Save log to file /usb/test.log successful. Save log to file /usb/test.log successful. Switch:1#
Variable definitions
The following table defines parameters for the save command.
| Variable | Value | 
|---|---|
| config file WORD<1–99> | Specifies the software configuration device and configuration file name in one of the following formats: 
 The file name, including the directory structure, can include up to 99 characters. | 
| log file WORD<1–99> | Specifies the software configuration device and log file name in one of the following formats: 
 The file name, including the directory structure, can include up to 99 characters. | 




