Comware

 View Only
  • 1.  control SNMP Traps traffic

    Posted Mar 17, 2010 05:39 AM
    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?


  • 2.  RE: control SNMP Traps traffic

    Posted Mar 17, 2010 09:22 AM
    Hi,

    You can disable traps for certain interfaces with the command

    no snmp-server enable traps <TRAP type=""> <PORT list="">

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

    no snmp-server enable traps dhcp-snooping A1</PORT></TRAP>


  • 3.  RE: control SNMP Traps traffic

    Posted Mar 17, 2010 09:44 AM
    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?


  • 4.  RE: control SNMP Traps traffic

    Posted Mar 17, 2010 09:56 AM
    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 <IP address=""> <TRAP type="">

    it really depends on what traps you want to restrict.
    </TRAP></IP>