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

Page de 328
 
3-24
CLI Reference Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  Configuration File Management
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
In this example, a new configuration file is imported from a local location.
mail3.example.com> loadconfig
1. Paste via CLI
2. Load from file
[1]> 2
Enter the name of the file to import:
[]> changed.config.xml
Values have been loaded.
Be sure to run "commit" to make these settings active.
mail3.example.com> commit
Please enter some comments describing your changes:
[]> loaded new configuration file
Do you want to save the current configuration for rollback? [Y]> n
Changes committed: Fri May 23 11:42:12 2014 GMT
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.
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 
Do you want to save the current configuration for rollback? [Y]> n
Changes committed: Fri May 23 11:42:12 2014 GMT