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

Page de 600
 
503
Cisco IronPort AsyncOS 7.6 CLI Reference Guide
 
Chapter 
Example - Customizing the Host Acess Table (HAT ) for a listener via Export and 
Import
Many of the subcommands within the 
listenerconfig
 command allow you to 
import and export data in order to make large configuration changes without 
having to enter data piecemeal in the CLI. 
These steps use the CLI to modify the Host Access Table (HAT) of a listener by 
exporting, modifying, and importing a file. You can also use the HAT CLI editor 
or the GUI to customize the HAT for a listener. For more information, see the 
“Configuring the Gateway to Receive Mail” and “Using Mail Flow Monitor” 
chapters in the IronPort AsyncOS User Guide
To customize a HAT for a listener you have defined via export and import: 
Step 1
Use the 
hostaccess -> export
 subcommands of 
listenerconfig
 to export the 
default HAT to a file. 
In the following example, the HAT for the public listener InboundMail is printed, 
and then exported to a file named 
inbound.HAT.txt
Table 3-169
listenerconfig 
- Exporting the HAT
mail3.example.com> listenerconfig
Currently configured listeners:
1. InboundMail (on PublicNet, 192.168.2.1) SMTP TCP Port 25 Public
2. OutboundMail (on PrivateNet, 192.168.1.1) SMTP TCP Port 25 Private
Choose the operation you want to perform:
- NEW - Create a new listener.
- EDIT - Modify a listener.