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 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
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
commands and the displays in these examples, refer to the OmniSwitch CLI Reference Guide.
page 10-6
trapId list
0
1
2
3
"SNMP Traps Table" on page
OmniSwitch 6800/6850/9000 Switch Management Guide
10-10. For more information on the CLI
Using SNMP
snmp trap
December 2007