
Using SCS commands 44
4 Using SCS commands
Accessing the CLI
You can access the CLI in three ways: using the Telnet CLI, using the console port, or entering the CLI access
character during a session to a serial device. When the CLI is accessed, its prompt appears (>), indicating that you
can enter a command.
Entering commands
At the command prompt, enter a command and then press the
Enter
key. When you press the key, the command line
comprises all characters to the left of the cursor. The character at the cursor and any characters to the right of the
cursor are ignored. Table 4-1 lists the line editing operations for VT100 compatible devices.
Table 4-1
Line editing operations for VT100-compatible devices
Operation Action
Backspace
The character immediately before the cursor is erased, and all text at and to the right of the cursor moves
one character to the left.
Left arrow
If the cursor is not at the beginning of the line, the cursor moves one character to the left. If the cursor is at
the beginning of the line, no action is taken.
Right arrow
If the cursor is not at the end of the line, the cursor moves one character to the right. If the cursor is at the
end of the line, no action is taken.
Up arrow
The CLI maintains a buffer containing the last 16 entered command lines. If there is a previous command
line, it will be output as the current command line and can be edited. If there is no previous command
line in the command line buffer, the command line is set to blanks and you can enter a new command.
Down arrow
The next command in the CLI command line buffer is made available for edit. If there is no next command
line, the command line is set to blanks and you can enter a new command.
Delete
The character at the cursor position is deleted and all characters to the right of the cursor position are,
moved left one character.
Table 4-2 lists the line editing operations for ASCII TTY devices. There is no command line buffer available on an
ASCII TTY device.
Table 4-2
Line editing operations for ASCII TTY devices
Operation Action
Backspace
Erases the last character entered.
Esc
Erases the current command line.
When commands take effect
Each command is completely processed before the next command can be entered. Some commands prompt for
confirmation before they are processed. In these cases, you must confirm or cancel by entering
Y
or
N,
respectively.
If you enter a
Server FLASH
command or if you change the SCS IP address with a
Server Set
command, a
reboot is required before the change becomes effective. In these cases, the SCS database is updated when you enter
the command and you are prompted that the change will not take effect until the SCS reboots. You can choose to
reboot at that time, or you can decline. When the unit reboots, your session and all other sessions on the SCS are
terminated.
Understanding conventions
This section describes the parts of a SCS command and the conventions used in this document to describe command
syntax.