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

Page de 458
 
40
Cisco AsyncOS 8.5 CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Anti-Spam
Usage
Commit: This command does not require a ‘commit’.
Batch Command: This command supports a batch format.
Batch Format - Import
Batch Format
Replaces all entries in the End-User Safelist/Blocklist with entries present in the specified file.
filename
 - Name of the file that has to be imported. The file must be in the 
/configuration
 
directory on the appliance.
ignore invalid entries
 - Whether to ignore invalid entries or not. Either 'Yes' or 'No.'
Batch Format - Export
Exports all enteries in the End-User Safelist/Blocklist to a file the appliance.
The appliance saves a .CSV file to the 
/configuration
 directory using the following naming 
convention:
slbl<timestamp><serial number>.csv
.
Example - Importing Safelist/Blocklist Entries
Table 3-5
Example of slblconfig
slblconfig import <filename> <ignore invalid entries>
slblconfig export
mail.example.com> slblconfig
End-User Safelist/Blocklist: Enabled
Choose the operation you want to perform:
- IMPORT - Replace all entries in the End-User Safelist/Blocklist.
- EXPORT - Export all entries from the End-User Safelist/Blocklist.
[]> import