Technical data
ServerIron ADX Administration Guide 27
53-1002434-01
Using the USB port and USB flash drive
1
Syntax: copy flash tftp <tftp-server-ip-addr> <dest-file> primary|secondary
The copy command copies the specified file.
Flash specifies that the file resides on ServerIron ADX code flash.
tftp specifies that the file resides on the tftp server.
The <tftp-server-ip-addr> parameter is the IP address of the tftp server. Note that this can be an
IPV6 address (X:X::X:X).
The <dest-file> parameter specifies the destination file name.
The “primary” or “secondary” code image in flash. All files are located at the root level in code
flash.
Example 3: Use the following command to copy the “secondary” code image from flash to the
“primary” code image in flash.
ServerIronADX# copy flash flash primary
Syntax: copy flash flash primary|secondary
The copy command copies the specified file.
Flash specifies that the file resides on ServerIron ADX code flash.
Flash allows image files “primary” and “secondary”. All files are located at the root level in code
flash. Note that specifying “primary” copies the secondary to primary. Specifying “secondary”
copies the primary to secondary.
Example 4: Use the following command to copy a file named “myfile.bin” on an tftp server with
address 1.1.1.1 to a file named “myfile.bin” in the second-level directory “dir2” on internal USB
drive (usb0).
ServerIronADX# copy tftp usb0 1.1.1.1 myfile.bin /dir1/dir2/myfile.bin
Syntax: copy tftp <destination-usb> <tftp-server-ip-addr> <src-file> <dest-full-path>
The copy command copies the specified file.
tftp specifies that the file resides on the tftp server.
The <destination-usb> variable specifies the USB drive that the file will be copied to. The value can
be either usb0 (the internal USB drive) or usb1 (a USB drive attached to the USB port on the
ServerIron ADX).
The <tftp-server-ip-addr> parameter is the IP address of the tftp server. Note that this can be an
IPV6 address (X:X::X:X).
The <src-file> parameter specifies the source file name.
The <dest-full-path> variable specifies the full directory path and name of the file that you are
copying to on the USB drive.
Example 5: Use the following command to copy a file named “asm12000.bin” in the first-level
directory “abc” of a USB drive attached to the USB port (usb1) on the ServerIron ADX to a file
named “myfile.bin” on an tftp server with address 1.1.1.1.
ServerIronADX# copy usb1 tftp /abc/asm12000.bin 1.1.1.1 myfile.bin
Syntax: copy <source-usb> tftp <src-full-path> <tftp-server-ip-addr> <dest-file>
The copy command copies the specified file.










