none
SNMP service support for SNMPv2c RRS feed

  • Question

  • Hi

    I am working on a Network Management Software, which receives SNMP traps from different agent devices. The system is functioning with respect to SNMPv1. I now want to enable it to accept SNMPv2c traps also. I read on MSDN that whenever a trap is delivered, it is always in the SNMPv2c format  (http://msdn.microsoft.com/en-us/library/windows/desktop/aa379177(v=vs.85).aspx)

    But a link I found on the support website says, that the traps are internally converted from v2c to v1  (http://support.microsoft.com/kb/2735433). 

    My testing environment is my own system acting as manager and agent. I tried simulating v2c traps on localhost by using simulators. Also I changed the registry entry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapVersion, to make the default version of traps as v2c. But nowhere can I get the version of the trap that is being generated, so there is no way for me to be sure whether what I'm generating is a v2c or not.

    What I want to know is, suppose the SNMP service receives a SNMPv2c trap, will it automatically convert it to SNMPv1 and pass it on to my Network Management Software ? (Basically what is the final version of traps sent by SNMP service to the NMS) If that is the case, then I need not make code changes.

    Also, if the above is possible, what all Windows OS support this feature ?

    Thanks !!


    John

    • Moved by Haixia_Xie Thursday, April 17, 2014 5:17 AM move to a more approriate queue
    Wednesday, April 16, 2014 6:25 AM

Answers

  • Hi,

    Clients answer with the same version with server, so it should be based on server version. Check this thread. In addition, SNMP is already deprecated in windows server 2012. Instead, use the Common Information Model (CIM), which is supported by the WS-Management web services protocol and implemented as Windows Remote Management.

    Hope this helps.

    Thursday, April 17, 2014 8:58 AM
    Moderator

All replies

  • Hi John,

    Based on your description, your questions are related to Windows Server, I will move the thread to "Network Infrastructure Servers" queue to get better replies.

    Thanks for your understanding.

    Regards


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, April 17, 2014 5:16 AM
  • Hi,

    Clients answer with the same version with server, so it should be based on server version. Check this thread. In addition, SNMP is already deprecated in windows server 2012. Instead, use the Common Information Model (CIM), which is supported by the WS-Management web services protocol and implemented as Windows Remote Management.

    Hope this helps.

    Thursday, April 17, 2014 8:58 AM
    Moderator
  • Hi,

    I want to confirm if the issue has been resolved.

    If you have any problems please feel free to let us know.

    Monday, April 21, 2014 3:37 AM
    Moderator
  • Hi 

    I'll pose the question a little differently to make it simpler to understand - Does the SNMP service automatically convert SNMPv2 traps to SNMPv1 traps ? 


    John

    Thursday, April 24, 2014 8:27 AM