Руководство Пользователя для Cisco Cisco Content Security Management Appliance M160

Скачать
Страница из 418
 
14-46
AsyncOS 9.1 for Cisco Content Security Management Appliances User Guide
 
Chapter 14      Common Administrative Tasks
  Saving and Importing Configuration Settings
mail3.example.com>
The loadconfig Command
Use the 
loadconfig
 command to load new configuration information into the appliance. You can load 
information using one of two methods: 
Placing information in the 
configuration
 directory and uploading it 
Pasting configuration information directly into the CLI
See 
 for more information. 
The rollbackconfig Command
See 
The publishconfig Command
Use the 
publishconfig
 command to publish changes a configuration master. The syntax is as follows:
publishconfig config_master [job_name] [host_list | host_ip 
where config_master is a supported Configuration Master, as listed in the Compatibility Matrix in the 
Release Notes for this release at 
. This keyword is required. 
The keyword job_name is optional and will be generated if it is not specified.
The keyword host_list is a list of host names or IP addresses for WSA appliances to be published, and 
will be published to all hosts assigned to the configuration master if not specified. The optional host_ip 
can be multiple host IP addresses, each separated by a comma.
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