当一个产品和外围系统仅仅对接SNMP trap/get时,需要一个通用工具来支持SNMP消息的接收和发送,这个工具就是MIB Browser。
科普下什么是SNMP协议:请移步揭开SNMP协议的面纱。
MIB browser工具有很多种类型,包括MG-SOFT MIB browser、iReasoning MIB browser和Koshna SNMP MIB Browser等。
工具对比
1. MG-SOFT MIB browser专业版
带有MIB编译器,支持Microsoft Windows操作系统:Windows 95/98/2000/2003,Windows XP/ME/NT。
MG-SOFT MIB Browser Professional Edition with MIB Compiler is an extremely flexible, technically superb, powerful and user-friendly SNMP Browser.
MIB Browser支持通过标准的snmpV1/V2c/ V3协议来监控和管理ipv4/ipv6/ipx网络上的任何snmp设备(文件系统服务器、数据库服务器、调制器、打印机、路由器和交换机等)。除了标准的snmpV3 USM安全模型,还支持Diffie-Hellman密钥交换模型,因此可以无缝连接和管理基于DOCSIS的snmpV3代理(电缆调制解调器,电缆调制解调器终端系统,机顶盒等)。
MIB Browser lets you monitor and manage any SNMP device on the network (i.e., file or database servers, modems, printers, routers, switches,...) by using the standard SNMPv1, SNMPv2c and SNMPv3 protocols over IPv4, IPv6 or IPX networks. Along the standard SNMPv3 USM security model, MIB Browser also supports the Diffie-Hellman key exchange model, so that DOCSIS-based SNMPv3 agents (i.e., cable modems, cable modem termination systems, set-top boxes etc.) can be seamlessly contacted and managed.
此外,除了标准的SNMPv3 User-based Security Model (USM),MG-SOFT MIB Browser支持Transport Security Model (TSM)和支持RFC 6353规范中定义的SNMPv3 over TLS and DTLS。此外还支持RFC 7860规范中SHA-2鉴权协议和SNMPv3 USM中AES-192, AES-256和3DES私有协议。
Furthermore, besides the standard SNMPv3 User-based Security Model (USM), MG-SOFT MIB Browser implements also the Transport Security Model (TSM), and supports SNMPv3 over TLS and DTLS, as specified in RFC 6353. Moreover, the software supports also SHA-2 authentication protocols (RFC 7860) and AES-192, AES-256 and 3DES privacy protocols in SNMPv3 USM.
MIB Browser支持执行SNMP Get、SNMP GetNext、SNMP GetBulk和SNMP Set操作。此外支持捕获和显示网络上snmp设备和应用发送的trap和Inform通知消息。
MIB Browser allows you to perform SNMP Get, SNMP GetNext, SNMP GetBulk and SNMP Set operations. Besides, the software lets you capture and display SNMP Trap and SNMP Inform packets that were sent from arbitrary SNMP devices or applications on the network.
MIB Browser可以同时监控多个snmp设备包括snmp表视图和表编辑器,记录功能,查到数据实时图形显示,扫描代理中的MIB,比较代理快照,远程代理中snmpV3 USM用户的管理。
MIB Browser can monitor several SNMP devices simultaneously and includes features like SNMP Table viewer, advanced SNMP Table 'editor', logging capabilities, real-time graphical presentation of queried numerical values, scan for implemented MIBs in agents, comparison of SNMP agent snapshots, management of SNMPv3 USM users on remote SNMP agents, etc.
通用的SNMP跟踪窗口显示MIB browser和SNMP代理之间交换的SNMP消息。SNMP消息以原始十六进制转储格式以及已解码的可读的格式。
Generic SNMP Trace window displays SNMP messages exchanged between MIB Browser and SNMP agents. SNMP messages are displayed in raw hexadecimal dump format as well as in the decoded, human-readable format. Therefore, the Generic SNMP Trace window is particularly useful for debugging when developing a SNMP agent and for resolving problems when SNMP agents do not properly respond to MIB Browser's queries.
MG-SOFT MIB Browser提供一个便捷友好的导入MIB模块的界面。导入过程中选择MIB文件并自动编译保存和加载,以便管理设备。传统的,MIB文件是由运营商提供的,包含SNMP设备中可管理对象的层次结构和属性描述。 换句话说,MIB文件服务器是管理该设备的路线图roadmap。
MG-SOFT MIB Browser now provides a convenient and user-friendly interface for importing MIB modules. During the import process, selected MIB definition files are automatically compiled, saved and loaded in MIB Browser so one can start managing the corresponding device(s) in no time. Typically, MIB files are supplied by vendors of SNMP manageable devices, and contain description of the manageable object hierarchy and object attributes in the SNMP device. In other words, MIB files serve as a roadmap for managing that device.
MG-SOFT MIB Browser Professional Edition is available for 32-bit and 64-bit MS Windows operating systems (Windows 7, Windows Server 2008, Windows Server 2012, Windows 8.x, Windows 10, Windows Server 2016, Windows Server 2019), for Linux operating systems running on Intel x86 and x86_64 architectures (Red Hat, SuSE, Debian, Ubuntu...), as well as for Apple Mac OS X (Intel x86_64 architecture) and Solaris (Intel x86 and SPARC platforms)。
2. iReasoning MIB browser
Reasoning MIB browser是由iReasoning SNMP API提供支持的功能强大且易于使用的工具。MIB browser是工程师对支持SNMP协议的网络设备和应用程序来管理必不可少的工具,优势如下:
1) 允许用户加载标准的和所有的MIB,甚至某些格式错误的MIB;
2) 允许用户使用mib browser (即snmp manager)发出SNMP get请求以检索snmp agent的数据,或对snmp agent进行更改;
3) 内置snmp trap接收器可以根据其规则引擎接收和处理SNMP trap。
主要特性
1) 直观的GUI,运行在多种平台包括Windows, Linux, macOS等等。
2) 支持完整的SNMPv1, v2c and v3 (USM和VACM)
3) 支持完整的SNMPv3 USM,包括HMAC-MD5,HMAC-SHA1,HMAC-SHA2,CBC-DES,CFB128-AES-128,CFB128-AES-192,CFB128-AES-256(128位,192位和256位AES)算法
4) 强大的SMIv1/SMIv2 MIB解析器
5) 支持IPv6
6) 带有规则引擎的trap接收器处理trap消息,满足某个条件时触发操作
7) 支持trap消息发送Trap Sender
8) 日志窗口显示browser和agents之间交互的应用程序日志和SNMP数据包
9) 网口的端口视图(带宽利用率,错误百分比
10) 支持交换机端口映射Switch port mapper for mapping switch ports
12) SNMPv3 USM用户管理(usmUserTable in SNMP-USER-BASED-SM-MIB)
13) 设备快照Device snapshot
14) 思科设备快照Cisco device snapshot
15) 监视OID值的性能曲线工具
16) Ping and traceroute tools
17) SNMP Agents Comparison比较
18) 网络发现工具Network discovery tool
3. Koshna SNMP MIB Browser
1) Koshna SNMP MIB Browser是一个基于GUI的,可以用于管理带有snmp代理的任何设备和应用程序。
2) 该工具支持多种snmp操作(GET /GETNEXT/SET/GETBULK...) 和执行更高级的操作如获取MIB行和遍历MIB。
This tool can be used to perform the various SNMP operations (GET/GETNEXT /SET/GETBULK...) and also perform higher level operations like get a MIB Table rows, Walk a MIB etc.
3) 该工具支持以原始格式进行转存储接收/发送的snmp包和解释信息,如果开启debug模式的话。对测试/调试snmp代理很有用。
This tool can dump all the SNMP packets sent/received in raw format and also with intepretations if the logging is set to DEBUG level So, it's very useful for testing/ debugging SNMP agent implementations.
4) 该工具支持从snmp代理接收snmpV1 trap消息和snmp v2c/v3通知消息。
This tool can also be used to receive v1 traps and v2c/v3 notifications & inform messages from the snmp agents.
5) 该工具支持snmp v1, v2c和v3。
This tool supports SNMP versions v1, v2c and v3.
MIB下载
点击MG-SOFT MIB browser,根据平台下载
点击iReasoning MIB browser,根据平台和是否免费来下载。
Koshna SNMP MIB Browser很尴尬,域名http://www.koshna.com/要购买,看来这个没机会下载使用了。
总结
后面重点学习使用下MG-SOFT MIB browser和iReasoning MIB browser,二者特性真多,功能都很强大。
总结22个类特性如下:
1) 是否带有MIB编译器
2) 是否允许用户加载标准的和所有的MIB
3) MIB表视图Table view for MIB tables
4) 是否支持标准的snmpV1/V2c/V3协议
5) 是否支持SNMP Get、SNMP GetNext、SNMP GetBulk和SNMP Set操作。
6) 是否支持trap消息发送Trap Sender
7) 是否支持标准的snmpV3 User-based Security Model (USM) 基于用户的安全模型
8) SNMPv3 USM中是否支持AES-192, AES-256和3DES私有协议
9) 是否支持完整的SNMPv3 USM,包括HMAC-MD5,HMAC-SHA1,HMAC-SHA2,CBC-DES,CFB128-AES-128,CFB128-AES-192,CFB128-AES-256(128位,192位和256位AES)算法
10) 是否支持SNMPv3 (VACM)
11) 是否支持Diffie-Hellman密钥交换模型
12) 是否支持Transport Security Model (TSM)
13) 是否支持RFC 6353规范中定义的SNMPv3 over TLS and DTLS。
14) 是否支持RFC 7860规范中SHA-2鉴权协议
15) 是否支持捕获和显示网络上snmp设备及应用发送的trap和Inform通知消息。
16) 是否支持通用的SNMP跟踪窗口显示MIB browser和SNMP代理之间交换的SNMP消息。
17) 是否支持同时监控多个snmp设备包括snmp表视图和表编辑器,记录功能,查到数据实时图形显示,扫描代理中的MIB,比较代理快照,远程代理中snmpV3 USM用户的管理。
18) 是否支持IPv6
19) 是否支持带有规则引擎的trap接收器处理trap消息,满足某个条件时触发操作
20) SNMP Agents Comparison比较
21) Ping and traceroute tools
22) 网络发现工具Network discovery tool
如何使用
MG-SOFT MIB browser使用帮助,官网没找到,看华三总结的https://www.h3c.com/cn/d_201606/933956_30005_0.htm
http://www.ireasoning.com/browser/help.shtml
参考
https://www.easysnmp.com/tools/snmp-browsers/
https://snmptools.net/software/snmpmibbrowsers/
https://www.mg-soft.com/mgMibBrowserPE.html
https://www.h3c.com/cn/d_201606/933956_30005_0.htm
http://www.ireasoning.com/browser/help.shtml