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.

Using SNMP<br />

Quick Steps for Setting Up Trap Filters<br />

Filtering by Individual Traps<br />

The following example enables trap filtering for the coldstart, warmstart, linkup, and linkdown traps. The<br />

identification numbers for these traps are 0, 1, 2, and 3. When trap filtering is enabled, these traps will be<br />

filtered. This means that the switch will not pass them through to the SNMP management station. All<br />

other traps will be passed through.<br />

1 Specify the IP address for the SNMP management station and the trap identification numbers.<br />

-> show snmp trap filter 210.1.2.1 0 1 2 3<br />

-> snmp trap filter 300::1 1 3 4<br />

Note. Optional. You can verify which traps will not pass through the filter by entering the snmp-trap<br />

filter-ip command. The display is similar to the one shown here:<br />

-> show snmp trap filter<br />

ipAddress<br />

trapId list<br />

-----------------+----------------------------------------<br />

210.1.2.1 0 1 2 3<br />

The SNMP management station with the IP address of 210.1.2.1 will not receive trap numbers 0, 1, 2,<br />

and 3.<br />

For trap numbers refer to the “Using SNMP For <strong>Switch</strong> Security” on page 9-9. For more information on<br />

the CLI commands and the displays in these examples, refer to the Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 CLI Reference<br />

<strong>Guide</strong>.<br />

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

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

Saved successfully!

Ooh no, something went wrong!