Download RAS 2000 PowerRack Software Configuration Guide

Transcript
There are certain verbs you use again and again:
Table 3-2: Commonly
Verb
Used Command Verbs
Definitions and Usage
show
Display the current values. The command show port 3 displays the current configuration of port 3
set
Change one or more values for an existing record. The command set
user leary admin enabled turns on administrative privileges for the
existing user, leary.
add
Add a new record. This is used for large tables where the entries are
identified by some name you have given them. For example, add user
tim would add a new user to the user table.
delete
Remove an existing record. Like add this is used for tables where the
entries are identified by a given name. For example, delete user
tim gets rid of the entry created above.
kill,
hangup,
output,
echo
These are additional verbs used only in certain commands.
Syntax Conventions
There are some conventions that are common to all the commands. Some of these
are similar to conventions found in UNIX and DOS command shells, others have
been added for flexibility and convenience.
Table 3-3: Syntax
Examples
Example
Syntax Rules
set port 0 modem enabled
port set 0 modem enabled
If one of the standard verbs is used, either the command word or the verb may come first. The following
two commands are identical:
SET PORT 0 MODEM ENABLED
set port 0 modem enabled
SeT PorT 0 MoDEm EnabLED
Command words, verbs, and keywords may appear in
either upper or lower case. Specific names you have
given to things are usually case-sensitive, and so must
be entered in the correct case. The following three
commands are identical.
set port 0 username Leary
set port 0 username leary
These two are not equal because leary is a value, not a
keyword.
Page 30
RAS 2000 Software Configuration Guide