Cisco Cisco Email Security Appliance X1070 Références techniques
171
Cisco AsyncOS 9.1 for Email CLI Reference Guide
Chapter 3 The Commands: Reference Examples
Networking Configuration / Network Tools
setgateway
Description
The
setgateway
command configures the default next-hop intermediary through which packets should
be routed. Alternate (non-default) gateways are configured using the
routeconfig
command.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format.
Example
mail3.example.com> setgateway
Warning: setting an incorrect default gateway may cause the current connection to be
interrupted when the changes are committed.
Enter new default gateway:
[10.1.1.1]> 192.168.20.1
mail3.example.com> commit
Please enter some comments describing your changes:
[]> changed default gateway to 192.168.20.1
Do you want to save the current configuration for rollback? [Y]> n
Changes committed: Fri May 23 11:42:12 2014 GMT
sethostname
Description
The hostname is used to identify the system at the CLI prompt. You must enter a fully-qualified
hostname. The
hostname. The
sethostname
command sets the name of the Email Security appliance. The new hostname
does not take effect until you issue the
commit
command.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format.
Example
oldname.example.com> sethostname
[oldname.example.com]> mail3.example.com