Alcatel-Lucent 6850-48 补充手册

下载
页码 312
Quick Steps for Setting Up Trap Filters
Using SNMP
page 3-6
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
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.
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 
 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 
. For more information on the CLI 
commands and the displays in these examples, refer to the OmniSwitch CLI Reference Guide.