Chapter 2. CLI Syntax Reference
24
3ware Serial ATA RAID Controller CLI Guide
Shell Object Commands
Shell object commands are either applicable to all the controllers in the
system (such as show, rescan, flush, commit), or redirect the focused object.
Syntax
focus
object
show [
attribute
[
modifier
]]
ver
alarms [reverse]
diag
rebuild
verify
selftest
rescan
flush
commit
update fw=
filename_with_path
[force]
focus
Object
The focus command is active in interactive mode only and is provided to
reduce typing.
The focus command will set the specified object in focus and change the
prompt to reflect this. This allows you to enter a command that applies to the
focus, instead of having to type the entire object name each time.
For example, where normally you might type:
//hostname
/c0/u0 show
if you set the focus to
//hostname
/c0/u0
, the prompt changes to reflect that,
and you only have to type
show
. The concept is similar to being in a particular
location in a file system and requesting a listing of the current directory.
object
can have the following forms:
//hostname
/cx/ux
specifies the fully qualified URI (Universal Resource
Identifier) of an object on host
hostname
, controller
cx
, unit
ux
.
//hostname
specifies the root of host
hostname
.
..
specifies one level up (the parent object).
/
specifies the root at the current focused hostname.
./
object
specifies the next level of the object.
/c0/bbu
specifies a relative path with respect to the current focused
hostname.