Руководство Пользователя для Cisco Cisco Web Security Appliance S170
B-4
AsyncOS 9.0 for Cisco Web Security Appliances User Guide
Appendix B Command Line Interface
General Purpose CLI Commands
Escaping Subcommands
You can use the Ctrl+C keyboard shortcut at any time within a subcommand to immediately exit return
to the top level of the CLI.
to the top level of the CLI.
Command History
The CLI keeps a history of all commands entered during a session. Use the Up and Down arrow keys on
your keyboard, or the Ctrl+P and Ctrl+N key combinations to scroll through a running list of the
recently-used commands.
your keyboard, or the Ctrl+P and Ctrl+N key combinations to scroll through a running list of the
recently-used commands.
Completing Commands
The AsyncOS CLI supports command completion. You can enter the first few letters of some commands
followed by the Tab key and the CLI completes the string. If the letters you entered are not unique among
commands, the CLI “narrows” the set. For example:
followed by the Tab key and the CLI completes the string. If the letters you entered are not unique among
commands, the CLI “narrows” the set. For example:
Committing Configuration Changes
Configuration changes do not take effect until you commit them. You can make configuration changes
while web operations proceed as normal.
while web operations proceed as normal.
Step 1
Issue the
commit
command at the command prompt.
Step 2
Give the
commit
command the input required.
Step 3
Receive confirmation of the
commit
procedure at the CLI.
Note
Changes to configuration that have not been committed are recorded, but do not go into effect until you
run the
run the
commit
command. However, not all commands require the
commit
command to be run. Exiting
the CLI session, system shutdown, reboot, failure, or issuing the
clear
command clears changes that
have not yet been committed.
General Purpose CLI Commands
This section describes some basic commands you might use in a typical CLI session, such as committing
and clearing changes.
and clearing changes.
example.com> set
(press the Tab key)
setgateway, setgoodtable, sethostname, settime, settz
example.com> seth
(pressing the Tab again completes the entry with sethostname)