Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Has anybody programmed SNMP?

Has anybody programmed SNMP?

Scheduled Pinned Locked Moved C / C++ / MFC
databasehelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kelly Herald
    wrote on last edited by
    #1

    I am trying to do a project here at work where I need to communicate to our Cisco Routers/switches to retrieve MAC addresses of the systems that are connected to them. I have the MIB file but I don't know how to connect to the switches using this file. I can manually communicate with the switches using a program call GetIf but I need to be able to query the switches automatically. I have been looking in the MSDN about the WinSNMP APIs. Any help is much appreciated. Any books that talk about how to program SNMP with code samples would be great too. Thank you. Kelly Herald Micronpc, LLC

    M 1 Reply Last reply
    0
    • K Kelly Herald

      I am trying to do a project here at work where I need to communicate to our Cisco Routers/switches to retrieve MAC addresses of the systems that are connected to them. I have the MIB file but I don't know how to connect to the switches using this file. I can manually communicate with the switches using a program call GetIf but I need to be able to query the switches automatically. I have been looking in the MSDN about the WinSNMP APIs. Any help is much appreciated. Any books that talk about how to program SNMP with code samples would be great too. Thank you. Kelly Herald Micronpc, LLC

      M Offline
      M Offline
      Masaaki Onishi
      wrote on last edited by
      #2

      Hello, the codegurus around the world.;) Basically, you need any SNMP library to talk with SNMP Agnet (Router) on MIB files. HP has its own SNMP library for Windows and Unix, and you download somewhere. However, this SNMP library for Windows is only for Windows, so we can find the other SNMP library without Windows DLL. I guess that MIB files is included into the hardware of the routers, so we can't use the enterprise OID in this MIB files at all.:(( Good Luck! Have a nice day!

      -Masaaki Onishi-

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups