Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command disables the drive. This command is available for use only with removable storage drives. The removable storage drives differ among the 7210 SAS platforms. It cannot be used with the internal non-removable compact flash.
The no form of this command enables the drive.
no shutdown
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command sets or resets the read-only attribute for a file in the local file system. To list all files and their current attributes enter attrib or attrib x where x is either the filename or a wild-card (*).
When an attrib command is entered to list a specific file or all files in a directory, the file’s attributes are displayed with or without an “R” preceding the filename. The “R” implies that the +r is set and that the file is read-only. Files without the “R” designation implies that the -r is set and that the file is read-write-all.
+r Sets the read-only attribute on the specified file.
-r Clears/resets the read-only attribute on the specified file.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [{ftp:// | tftp://} login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command displays or changes the current working directory in the local file system.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [{ftp:// | tftp://} login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command copies a file or all files in a directory from a source URL to a destination URL. At least one of the specified URLs should be a local URL. The optional wild-card (*) can be used to copy multiple files that share a common (partial) prefix and/or (partial) suffix. When a file is copied to a destination with the same file name, the original file is overwritten by the new file specified in the operation. The following prompt appears if the destination file already exists:
“Overwrite destination file (y/n)?”
For example:
To copy a file named srcfile in a directory called test on cf1 to a file called destfile in a directory called production on cf1, the syntax is:
sr1>file cf1:\ # copy cf2-/test/srcfile/production/destfile
To FTP a file named 121201.cfg in directory mydir stored on cf1 to a network FTP server with IP address 192.0.2.79 in a directory called backup with a destination file name of 121201.cfg, the FTP syntax is:
copy /mydir/121201.cfg 192.0.2.79/backup/121201.cfg
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [{ftp:// | tftp://} login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command deletes the specified file.
The optional wild-card “*” can be used to delete multiple files that share a common (partial) prefix and/or (partial) suffix. When the wild-card is entered, the following prompt displays for each file that matches the wild-card:
“Delete file <filename> (y/n)?”
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [ftp:// login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
The file delete * force command deletes all the wildcard matching files without displaying a user prompt message.
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command displays a list of files and subdirectories in a directory.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [ftp:// login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command enables access to the context to enter and perform file system operations. When entering the file context, the prompt changes to reflect the present working directory. Navigating the file system with the cd command results in a changed prompt.
The exit all command leaves the file system/file operation context and returns to the <root> CLI context. The state of the present working directory is maintained for the CLI session. Entering the file command returns the cursor to the working directory where the exit command was issued.
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command formats the compact flash. The compact flash must be shutdown before starting the format.
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command creates a new directory in a file system.
Directories can only be created one level at a time.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [ftp:// login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command moves a local file, system file, or a directory. If the target already exists, the command fails and an error message displays.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [ftp:// login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
The rd command is used to delete a directory.
If a directory has files and no sub-directories, the force option must be used to force delete the directory and files it contains.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url — [ftp:// login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
The rd file-url force command is executed without displaying a user prompt message.
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command checks a compact flash device for errors and repairs any errors found.
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command copies a local file to a remote host file system. It uses ssh for data transfer, and uses the same authentication and provides the same security as ssh. The following prompt appears:
“Are you sure (y/n)?” The destination must specify a user and a host.
local-file-url — [cflash-id/] [file-path] | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command displays the contents of a text file.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url —[ftp:// login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |
Supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode
This command displays the version of a -TiMOS file.
file-url — local-url | remote-url | |
local-url — [cflash-id/ | usb-flash-id] [file-path] | |
remote-url —[ftp:// login:pswd@remote-locn/] [file- path] | |
remote-locn — [hostname | ipv4-address | ipv6-address] ipv4-address — a.b.c.d ipv6-address — x:x:x:x:x:x:x:x[-interface] x:x:x:x:x:x:d.d.d.d[-interface] x — 0 to FFFF (hexadecimal) d — 0 to 255 (decimal) interface — a string up to 32, for link local addresses | |
cflash-id or usb-flash-id — | uf1: (7210 SAS-M) cf1:, cf2:, uf1: (7210 SAS-T, 7210 SAS-Sx/S 1/10GE: standalone and standalone-VC, 7210 SAS-Sx 10/100GE, and 7210 SAS-Mxp) cf2:, cf2-A:, cf2-B:, uf1:, uf1-A:, uf1-B: (7210 SAS-R6 and 7210 SAS-R12) cf1:, cf2: (7210 SAS-Sx/S 1/10GE: standalone and standalone-VC) |