Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 448
 
373
Cisco AsyncOS 8.0.1 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
- SETUP - Change global settings.
[]>
Table 3-171
listenerconfig - Adding a listener  (Continued)
Table 3-172
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.
- DELETE - Remove a listener.
- SETUP - Change global settings.
[]> edit
Enter the name or number of the listener you wish to edit.
[]> 1