Quick Steps for Setting Up Trap Filters
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 are
filtered. This means that the switch does not pass them through to the SNMP management station. All
other traps are 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
filter
command. The display is similar to the one shown here:
-> show snmp trap filter
ipAddress
-----------------+----------------------------------------
210.1.2.1
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
the CLI commands and the displays in these examples, refer to the OmniSwitch 6250/6450 CLI Reference
Guide.
page 3-6
trapId list
0
1
2
3
"Using SNMP For Switch Security" on page
OmniSwitch 6250/6450 Switch Management Guide
Using SNMP
snmp trap
3-10. For more information on
May 2012