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

Página de 462
 
3-246
Cisco AsyncOS 8.5.6 CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Networking Configuration / Network Tools
Example
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.
Table 3-120
setgateway
 
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