Article ID: 12452
Products
S-Series
S1, S3, S4, S6, S8
Solution
The S-Series supports up to three standard Universal Serial Bus (USB) ports on the chassis (
12453). These can be used to quickly download firmware (
12740), copy files, and move configurations and support files to/from the USB stick. They can also make transferring such files possible when there is no network connectivity.
The following sample commands perform various tasks utilizing the USB stick plugged into slot 1's USB port.
The slot designations are actual populated module slots as explained in
12453,
not necessarily USB instances:
- On the S1 (S-Series 1-slot chassis), the slot number can only be 1.
- On the S3 (S-Series 3-slot chassis), the slot number can be 1, 2, or 3.
- On the S4 (S-Series 4-slot chassis), the slot number can be 2 or 3.
- On the S6 (S-Series 6-slot chassis), the slot number can be 4, 5, or 6.
- On the S8 (S-Series 8-slot chassis), the slot number can be 4, 5, or 6.
Within any given module slot designation,"usb1" is the COM port and "usb2" is the USB port.
To export a running configuration file to USB:
show config outfile slot1/usb2/myConfig.txt
To load and execute a configuration stored on USB:
configure slot1/usb2/myConfig.txt
To export the results of a 'show support' to USB:
show support slot1/usb2/myShowSupport.txt
To copy a file from USB to slot 2's directory:
copy slot1/usb2/myShowSupport.txt slot2/showsupport.txt
To view a directory listing of the S-Series system files:
dir
To copy a file from slot 2's directory to USB:
copy slot2/showsupport.txt slot1/usb2/newShowSupport.txt
To view a directory listing of the USB files:
dir slot1/usb2
To view the contents of one of these USB files:
show file slot1/usb2/newShowSupport.txt
To delete a file from USB:
delete slot1/usb2/myShowSupport.txt
Note1: The command format as shown above applies fully to non-firmware files and partially to all file types. Firmware files cannot be copied
from the images directory, and only the file name (but not the file path) would be specified when copying
to the images directory (
12740).
Note2: The
Micro-USB port on the individual modules and on the SSA is for diagnostic local management only.
For more information, please refer to the S-Series
CLI Reference Guide.