26.11.2012 Views

IronPort - CLI reference guide

IronPort - CLI reference guide

IronPort - CLI reference guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter<br />

Example - Customizing the Host Acess Table (HAT ) for a listener via Export and<br />

Import<br />

Many of the subcommands within the listenerconfig command allow you to<br />

import and export data in order to make large configuration changes without<br />

having to enter data piecemeal in the <strong>CLI</strong>.<br />

These steps use the <strong>CLI</strong> to modify the Host Access Table (HAT) of a listener by<br />

exporting, modifying, and importing a file. You can also use the HAT <strong>CLI</strong> editor<br />

or the GUI to customize the HAT for a listener. For more information, see the<br />

“Configuring the Gateway to Receive Mail” and “Using Mail Flow Monitor”<br />

chapters in the <strong>IronPort</strong> AsyncOS User Guide.<br />

To customize a HAT for a listener you have defined via export and import:<br />

Step 1 Use the hostaccess -> export subcommands of listenerconfig to export the<br />

default HAT to a file.<br />

In the following example, the HAT for the public listener InboundMail is printed,<br />

and then exported to a file named inbound.HAT.txt<br />

Table 3-169 listenerconfig - Exporting the HAT<br />

mail3.example.com> listenerconfig<br />

Currently configured listeners:<br />

1. InboundMail (on PublicNet, 192.168.2.1) SMTP TCP Port 25 Public<br />

2. OutboundMail (on PrivateNet, 192.168.1.1) SMTP TCP Port 25 Private<br />

Choose the operation you want to perform:<br />

- NEW - Create a new listener.<br />

- EDIT - Modify a listener.<br />

Cisco <strong>IronPort</strong> AsyncOS 7.6 <strong>CLI</strong> Reference Guide<br />

503

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!