How can I get the MIB file from a remote managed HW? The only thing that I know is the ip, port, community.

Can I use the net-snmp package? If yes, I'd like to have exact command.

Thank you!

  • SNMP protocol does not define an interface to store MIB documents on a device and query later. You can only get the MIB documents from the device vendor.
    – Lex Li
    Jan 30 '19 at 16:59

To get information from the snmp tree (i.e. "snmpget"/"snmpwalk") net-snmp is the correct package. For downloading the MiB you will need package snmp-mibs-downloader (non-free on Debian).

See https://wiki.debian.org/SNMP

Some good examples to start with (Unfortunately in German, but understandable when google translated. And no, I am not familiar with these guys):

There are also lots of tools to manage/browse MiBs freely available.

  • I'm familiar with the MIB Browser, but didn't used it for the last few years and wasn't sure about its abilities. I'll check this Jan 30 '19 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.