Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 325
 
3-177
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  Networking Configuration / Network Tools
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 
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
oldname.example.com> 
For the hostname change to take effect, you must enter the 
commit
 command. After you have successfully 
committed the hostname change, the new name appears in the CLI prompt:
oldname.example.com> commit
Please enter some comments describing your changes:
[]> Changed System Hostname
Do you want to save the current configuration for rollback? [Y]> n
Changes committed: Fri May 23 11:42:12 2014 GMT
The new hostname appears in the prompt as follows:
mail3.example.com>
smtproutes
Description
Set up permanent domain redirections.