29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

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

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

Working with SNMP Traps<br />

Using SNMP<br />

Working with SNMP Traps<br />

The SNMP agent in the switch has the ability to send traps to the management station. It is not required<br />

that the management station request them. Traps are messages alerting the SNMP manager to a condition<br />

on the network. A trap message is sent via a PDU issued from the switch’s network management agent. It<br />

is sent to alert the management station to some event or condition on the switch.<br />

Traps can indicate improper user authentication, restarts, the loss of a connection, or other significant<br />

events. You can configure the switch so that traps are forwarded to or suppressed from transmission to the<br />

management station under different circumstances.<br />

Trap Filtering<br />

You can filter SNMP traps in at least two ways. You can filter traps by limiting user access to trap families<br />

or you can filter according to individual traps.<br />

Filtering by Trap Families<br />

Access to SNMP traps can be restricted by withholding access privileges for user accounts to certain<br />

command families or domains. (Designation of particular command families for user access is sometimes<br />

referred to as partition management.)<br />

SNMP traps are divided into functional families as shown in the “Using SNMP For <strong>Switch</strong> Security” on<br />

page 9-9. These families correspond to switch CLI command families. When read-only privileges for a<br />

user account are restricted for a command family, that user account is also restricted from reading traps<br />

associated with that family.<br />

Procedures for filtering traps according to command families can be found in the Quick Steps for “Filtering<br />

by Trap Families” on page 9-4. For a list of trap names, command families, and their descriptions refer<br />

to the “Using SNMP For <strong>Switch</strong> Security” on page 9-9.<br />

Filtering By Individual Trap<br />

You can configure the switch to filter out individual traps by using the snmp-trap filter-ip command.<br />

This command allows you to suppress specified traps from the management station. The following information<br />

is needed to suppress specific traps:<br />

• The IP address of the SNMP management station that will receive the traps.<br />

• The ID number of the individual traps to be suppressed.<br />

Procedures for filtering individual traps can be found in the Quick Steps for “Filtering by Individual<br />

Traps” on page 9-5. For a list of trap names, ID numbers, and their descriptions refer to the table “Using<br />

SNMP For <strong>Switch</strong> Security” on page 9-9.<br />

page 9-12 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

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

Saved successfully!

Ooh no, something went wrong!