Cisco Cisco Content Security Management Appliance M1070 Mode D'Emploi

Page de 390
 
14-46
AsyncOS 8.2 for Cisco Content Security Management User Guide
 
Chapter 14      Common Administrative Tasks
To verify that the 
publishconfig 
command was successful, check the 
smad_logs
 file. You can also 
verify that the publish history was successful from the Security Management appliance GUI by choosing 
Web > Utilities > Web Appliance Status. From this page choose the web appliance that you want the 
publish history details. Additionally, you can go the Publish History page: Web > Utilities > Publish > 
Publish History
.
Uploading Configuration Changes Using the CLI
Procedure 
Step 1
Outside of the CLI, ensure that you are able to access the 
configuration
 directory of the appliance. See 
 for more information. 
Step 2
Place an entire configuration file or subsection of a configuration file in the 
configuration
 directory of 
the appliance, or edit an existing configuration that was created from the 
saveconfig
 command. 
Step 3
Within the CLI, use the 
loadconfig
 command to load the configuration file you placed in the directory 
from Step 2, or paste the text (XML syntax) directly into the CLI. 
In this example, a file named 
changed.config.xml
 is uploaded and the changes are committed: 
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
In this example, a new configuration file is pasted directly at the command line. (Remember to press 
Ctrl-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 gateway information. (For more information, see 
.) 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> commit
Please enter some comments describing your changes:
[]> pasted new configuration file and changed default settings