Cisco Cisco Email Security Appliance C160 Références techniques

Page de 312
36
I R O N P O R T   A S Y N C O S   7 . 1   C L I   R E F E R E N C E   G U I D E
In this example, a new configuration file is pasted directly at the command line. (Remember 
to type Control-D on a blank line to end the paste command.) Then, the system setup wizard 
is used to change the default hostname, IP address, and default gateway information. Finally, 
the changes are committed. 
mailconfig
Description
To test the IronPort AsyncOS configuration, you can use the 
mailconfig
 command 
immediately to send a test email containing the system configuration data you just created 
with the 
systemsetup
 command.
Usage
Commit: This command does not require 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
Code Example 3-15 
loadconfig
 - Example 2
mail3.example.com> loadconfig
1. Paste via CLI
2. Load from file
[1]> 1
Paste the configuration file now.
Press CTRL-D on a blank line when done.
[The configuration file is pasted until the end tag </config>. Control-D is entered on a separate 
line.] 
Values have been loaded.
Be sure to run "commit" to make these settings active.
mail3.example.com> systemsetup
[The system setup wizard is run.]
mail3.example.com> commit
Please enter some comments describing your changes:
[]> pasted new configuration file and changed default settings via 
systemsetup