User guide
Using the CLI Command Help
OmniSwitch AOS Release 7 Switch Management Guide March 2015 page 5-5
-> sh v
ERROR: Invalid entry” “v”
The letter ‘v’ does not uniquely identify a keyword and could stand for multiple keywords such as ‘vlan’,
‘violation’ or ‘verbose’. The ‘?’ can be used to list the possible keywords.
Command Help
The CLI has an internal help feature you can invoke by using the question mark (?) character as a
command. The CLI help feature provides progressive information on how to build your command syntax,
one keyword at a time.
If you do not know the first keyword of the command you need, you can use a question mark character at
the CLI system prompt. The CLI responds by listing command keywords divided into command sets. You
can find the first keyword for the command you need by referring to the list on your screen. The follow-
ing is a partial display:
-> ?
WHOAMI WHO VERBOSE USB USER UPDATE UMOUNT TTY SYSTEM SWLOG SHOW SESSION NTP
NSLOOKUP NO NEWFS MOUNT MODIFY KILL IPV6 IP FSCK FREESPACE DEBUG
COMMAND-LOG CHMOD
(System Service & File Mgmt Command Set)
POWER POWERSUPPLY WRITE TEMP-THRESHOLD TAKEOVER SYSTEM SHOW RRM RLS RELOAD
RDF RCP NO MULTI-CHASSIS MODIFY ISSU HASH-CONTROL DEBUG COPY CLEAR <cr>
(CMM Chassis Supervision Command Set)
(Additional output not shown)
Note that the command keywords are shown in all capital letters. The name of the command set is listed
parenthetically below the keywords in initial caps.
Recalling the Previous Command Line
To recall the last command executed by the switch, press either the Up Arrow key or the !! (bang, bang)
command at the prompt and the previous command will display on your screen.
In the following example, the ls command is used to list the contents of the switch’s /flash/switch
directory.
-> ls
Listing Directory /flash/switch:
drw 2048 Jan 1 1980 ./
drw 2048 Jan 3 19:23 ../
-rw 308 Jan 1 1980 banner_default.txt
9850880 bytes free
->
To enter this same command again, use the Up Arrow key. The ls command appears at the prompt. To
issue the ls command, press Enter.
-> ls