Cisco Cisco Web Security Appliance S380 User Guide

Page of 466
 
B-4
AsyncOS 8.8 for Cisco Web Security Appliances User Guide
 
Appendix B      Command Line Interface
  General Purpose CLI Commands
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.
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:
Committing Configuration Changes
Configuration changes do not take effect until you commit them. You can make configuration changes 
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 
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. 
Committing Configuration Changes
The 
commit
 command allows you to change configuration settings while other operations proceed 
normally. Changes are not actually committed until you receive confirmation and a timestamp. Exiting 
the CLI session, system shutdown, reboot, failure, or issuing the 
clear
 command clears changes that 
have not yet been committed.
example.com> set 
(press the Tab key)
setgateway, setgoodtable, sethostname, settime, settz
example.com> seth 
(pressing the Tab again completes the entry with sethostname