User guide
Quick Steps for Setting Up Trap Filters Using SNMP
page 10-6 OmniSwitch AOS Release 7 Switch Management Guide March 2015
Filtering by Individual Traps
The following example enables trap filtering for the coldstart, warmstart, linkup, and linkdown traps. The
identification numbers for these traps are 0, 1, 2, and 3. When trap filtering is enabled, these traps will be
filtered. This means that the switch will not pass them through to the SNMP management station. All other
traps will be passed through.
1 Specify the IP address for the SNMP management station and the trap identification numbers.
-> show snmp trap filter 210.1.2.1 0 1 2 3
-> snmp trap filter 300::1 1 3 4
Note. Optional. You can verify which traps will not pass through the filter by entering the snmp-trap
filter-ip command. The display is similar to the one shown here:
-> show snmp trap filter
ipAddress trapId list
-----------------+----------------------------------------
210.1.2.1 0 1 2 3
The SNMP management station with the IP address of 210.1.2.1 will not receive trap numbers 0, 1, 2,
and 3.
For trap numbers refer to the “Using SNMP For Switch Security” on page 10-10. For more information on
the CLI commands and the displays in these examples, refer to the OmniSwitch AOS Release 7 CLI
Reference Guide.