27.11.2012 Views

IronPort - daily management guide - AsyncOS 7.6.1

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SNMP Monitoring<br />

SNMP Traps<br />

CLI Example<br />

6-42<br />

Cisco <strong>IronPort</strong> <strong>AsyncOS</strong> 7.6 for Email Daily Management Guide<br />

Chapter 6 Managing and Monitoring via the CLI<br />

SNMP provides the ability to send traps, or notifications, to advise an administration application (an<br />

SNMP <strong>management</strong> console, typically) when one or more conditions have been met. Traps are network<br />

packets that contain data relating to a component of the system sending the trap. Traps are generated<br />

when a condition has been met on the SNMP agent (in this case, the Cisco <strong>IronPort</strong> appliance). After the<br />

condition has been met, the SNMP agent then forms an SNMP packet and sends it over port 162, the<br />

standard SNMP trap port. In the example below, the trap target of snmp-monitor.example.com and the<br />

Trap Community string are entered. This is the host running the SNMP <strong>management</strong> console software<br />

that will receive the SNMP traps from the Cisco <strong>IronPort</strong> appliance.<br />

You can configure SNMP traps (enable or disable specific traps) when you enable SNMP for an<br />

interface. To specify multiple trap targets: when prompted for the trap target, you may enter up to 10<br />

comma separated IP addresses.<br />

In the following example, the snmpconfig command is used to enable SNMP on the “PublicNet”<br />

interface on port 161. A passphrase for version 3 is entered and then re-entered for confirmation. The<br />

system is configured to service version 1 and 2 requests, and the community string public is entered for<br />

GET requests from those versions 1 and 2. The trap target of snmp-monitor.example.com is entered.<br />

Finally, system location and contact information is entered.<br />

mail3.example.com> snmpconfig<br />

Current SNMP settings:<br />

SNMP Disabled.<br />

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

- SETUP - Configure SNMP.<br />

[]> setup<br />

Do you want to enable SNMP? [N]> y<br />

Please choose an IP interface for SNMP requests.<br />

1. Data 1 (192.168.1.1/24: mail3.example.com)<br />

2. Data 2 (192.168.2.1/24: mail3.example.com)<br />

3. Management (192.168.44.44/24: mail3.example.com)<br />

[1]><br />

OL-25138-01

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

Saved successfully!

Ooh no, something went wrong!