Cisco Cisco Email Security Appliance C160 Technische Referenzen
24
Cisco AsyncOS 8.5 CLI Reference Guide
Chapter 2 Command Line Interface: The Basics
Batch Commands
Clearing Configuration Changes
The
clear
command clears any configuration changes made since the last
commit
or
clear
command
was issued.
Quitting the Command Line Interface Session
The
quit
command logs you out of the CLI application. Configuration changes that have not been
committed are cleared. The
quit
command has no effect on email operations. Logout is logged into the
log files. (Typing
exit
is the same as typing quit.)
Seeking Help on the Command Line Interface
The
help
command lists all available CLI commands and gives a brief description of each command.
The
help
command can be invoked by typing either
help
or a single question mark (
?
) at the command
prompt.
Batch Commands
AsyncOS includes support for batch command formats that allow you to execute certain CLI commands
using a new, single-line CLI format. This format reduces the number of inputs required to complete tasks
and provides a mechanism allowing you to easily automate common configuration tasks. Batch
commands also allow you to issue commands remotely using an SSH client. This enables you to easily
script CLI commands and execute them on multiple appliances at one time.
using a new, single-line CLI format. This format reduces the number of inputs required to complete tasks
and provides a mechanism allowing you to easily automate common configuration tasks. Batch
commands also allow you to issue commands remotely using an SSH client. This enables you to easily
script CLI commands and execute them on multiple appliances at one time.
Not all commands have a batch equivalent, but all batch commands can be executed as non-batch
commands.
commands.
Batch command syntax is dependent on the specific command being used. Please see the appropriate CLI
example in
example in
for more information about syntax
specific to that command.
mail3.example.com> clear
Are you sure you want to clear all changes since the last commit? [Y]> y
Changes cleared: Mon Jan 01 12:00:01 2003
mail3.example.com>
mail3.example.com> quit
Configuration changes entered but not committed. Exiting will lose
changes.
Type 'commit' at the command prompt to commit changes.
Are you sure you wish to exit? [N]> Y
mail3.example.com> help