CLI Reference
A-3
Operational Commands
A user who logs in with the account name
user
or another account with normal privileges will
see the following top-level prompt:
gateway:>
(or the previously configured gateway name)
CLI operational commands are structured in levels. At each level a list of
sub-context
commands will move to the next lower level, while
current-context
commands will perform
various functions and then stay at the same level or return to the next higher level. The
operational command tree is shown in
Figure A-1
.
At each level the prompt changes to reflect the path that has been taken from the top to the
current level. (A “#” is always used to terminate the prompt.)
Example
: After the “config” option has been selected from the top level, the prompt becomes:
gateway/config#
Sub-context commands can be strung together in a single line.
Example
: The following command will move two levels down from the top to the port
configuration option, and display the appropriate prompt as shown:
gateway:>
config port
gateway/config/port#
At any level, entering a “
?”
will display lists of the sub-context and current-context commands
that are valid at that level. Entering
help commands
will list all the commands and their
descriptions. The
top
command returns to the top level. The
logout
or
quit
command closes
the CLI session. At any level below the top,
exit
or
up
moves to the next higher level.
At any level, entering one of the following will display information about a particular
command and the parameters it requires:
help <
command-name>
,
<command-name>
help
, or
<
command-name>
?
.Any command can be abbreviated with the minimum number of letters that make it unique at
its level. For example under the “config” level, “card” can be abbreviated as “c”, while
“system” and “snmp” must be abbreviated with at least two letters, “sy” and “sn”, respectively.
Abbreviations longer than the minimum can also be used; for example “con”, “sys” or “snm”.
Содержание S-2500B
Страница 2: ......
Страница 8: ...viii S 2500B Gateway...
Страница 10: ...viii S 2500B Gateway...
Страница 14: ...Table of Contents xii S 2500B Gateway Show Configuration A 32 Software Commands A 34 Appendix B Redundancy...
Страница 20: ......
Страница 28: ......
Страница 38: ......
Страница 50: ......
Страница 54: ...A 4 S 2500B Gateway Figure A 1 Operational Command Tree...
Страница 55: ...CLI Reference A 5...
Страница 56: ...A 6 S 2500B Gateway...
Страница 72: ...A 22 S 2500B Gateway Show LGRP Data This section is under development...
Страница 85: ...Redundancy B 1 Appendix B Redundancy This section is under development...
Страница 86: ......