Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

control SNMP Traps traffic

Hardish Thacker
Occasional Contributor

control SNMP Traps traffic

I have Procurve 8212zl and 5412zl switches. I had enabled SNMP on these switches and I am getting traps on my NMS system. I want to restrict these traps for few interfaces only. For example, I wan to monitor only tagged ports and some server ports only. remaining are not interested. How can I make it?
3 REPLIES
Mohammed Faiz
Honored Contributor

Re: control SNMP Traps traffic

Hi,

You can disable traps for certain interfaces with the command

no snmp-server enable traps

For example, to stop receiving traps for dhcp-snooping events on port A1 you set:

no snmp-server enable traps dhcp-snooping A1
Hardish Thacker
Occasional Contributor

Re: control SNMP Traps traffic

My switch contain approx 400 ports and it's not only one switch with this capacity. I want to monitor only 60-70 ports out of 2000. Is there any way for bulk management?
Mohammed Faiz
Honored Contributor

Re: control SNMP Traps traffic

Well if, for example, you're talking about link-change traps you can disable traps for all ports with:

no snmp-server enable traps link-change all

and then just enable the ones you want.

You can also set the level of traps sent with the command:

snmp-server host

it really depends on what traps you want to restrict.