Technical data
ServerIron ADX Administration Guide 29
53-1002434-01
Using the USB port and USB flash drive
1
ServerIronADX# rename usb0/dir1/filexxx.bin fileyyy.bin
• Use the following command to rename the file “asm12000.bin“in the root level of a USB drive 
attached to the external USB port (usb1) of the ServerIron ADX to “asm12000b.bin“.
ServerIronADX# rename usb1/asm12000.bin asm12000b.bin
• Use the following command to rename the file “file_abc.bin“ in the second-level directory 
”dir2” of the USB drive attached to the external USB port (usb1) of the ServerIron ADX to the 
name “file_xyz.bin“.
ServerIronADX# rename usb1/dir1/dir2/file_abc.bin file_xyz.bin
• Use the following command to rename the secondary image in code flash to sec2.
ServerIronADX# rename secondary sec2
Syntax: rename <file-full-path> <new-filename>
The <file-full-path> parameter specifies the full directory path and name of the file that you want to 
delete. The <file-full-path> must start with usb0 or usb1, otherwise the file is assumed to be in 
code flash.
The <new-filename> parameter specifies new name for the file specified in the <file-full-path> 
parameter.
Formatting USB drives
You can format either the internal USB drive (usb0) or a USB drive attached to the external USB 
port (usb1) with the fat32 file system. The following example formats a USB drive attached to the 
USB port of the ServerIron ADX with the fat32 file system.
NOTE
Formatting a USB drive deletes all data on that drive. When you use this command, you will be 
prompted with this information before proceeding.
For ADX 1U/4U and 10U with single management module, enter the following command.
ServerIronADX# usb format 1 
Syntax: usb format 0 | 1  
The 0 parameter directs the ServerIron ADX to format its internal USB drive.
The 1 parameter directs the ServerIron ADX to format an externally connected USB drive.
For a 10U with DUAL management module, enter the following command.
ServerIronADX# usb format 0 both
Syntax: usb format 0 <active-only |standby-only | both>
The 0 parameter directs the ServerIron ADX to format its internal USB drive.
The <active-only |standby-only | both> parameter specifies whether the MP is in active mode, 
standby mode or both. The default value is “both”.
NOTE
The help prompt (?) will display the <active-only |standby-only | both> parameter only when the 
redundant MPs and standby MPs exist in the device.










