As we all know, SNMP is commonly used as a common network protocol in system monitoring, so how to use SNMP to identify different manufacturers of equipment?
In fact, in the OID tree of SNMP, a node is specifically used to identify the different vendors, which are:
ISO (1) identified-organization (3) DoD (6) Internet (1) Private (4) Enterprise (1) |
Sub-nodes below this node can be applied by each vendor or organization, and then how to organize the nodes to be handled by each vendor or organization itself, for private OIDs.
For example, for Cisco devices, whose child nodes are 9, we can use snmpwalk to find . 1.3.6.1.4.1.9 this OID:
[Email protected] ~]# snmpwalk-v 2c-c Public192.168.1.1.1.3.6.1.4.1.9SNMPv2-smi::enterprises.9.2.1.1.0= STRING:"System Bootstrap, Version12.4(13r) T11, RELEASE Software (FC1) Technical support:http://Www.cisco.com/techsupportCopyright (c) theby Cisco Systems, Inc."Snmpv2-smi::enterprises.9.2.1.2.0= STRING:"power-on"SNMPv2-smi::enterprises.9.2.1.3.0= STRING:"2821"SNMPv2-smi::enterprises.9.2.1.4.0= STRING:"yourdomain.com"SNMPv2-smi::enterprises.9.2.1.5.0= IpAddress:123.14.143.13SNMPv2-smi::enterprises.9.2.1.6.0= IpAddress:0.0.0.0SNMPv2-smi::enterprises.9.2.1.8.0= INTEGER:105670264SNMPv2-smi::enterprises.9.2.1.9.0= INTEGER:1117SNMPv2-smi::enterprises.9.2.1.10.0= INTEGER:500
...... The following omit ...
The purpose is now achieved, but we cannot remember this fixed string of numbers in front of each OID, so for the sake of memory, the aforementioned . 1.3.6.1.4.1 This prefix can also be written as Enterprises, so that We just have to know the different vendors ' own child node IDs.
The following is a list of the IDs used by common vendors (data source: http://oid-info.com):
(Enterprises.) ID |
Manufacturers |
2 |
Ibm |
4 |
Unix |
9 |
Cisco Systems, Inc. |
11 |
Hewlett Packard (HP) |
20 |
MIT |
23 |
Novell |
42 |
Sun Microsystems |
43 |
3COM Enterprise MIBs |
63 |
Apple Computer, Inc. |
94 |
Nokia |
111 |
Oracle |
116 |
Hitachi, Ltd. |
122 |
Sony |
161 |
Motorola |
171 |
D-Link Systems, Inc. |
172 |
AMP, Inc. |
186 |
Toshiba Corporation |
232 |
Compaq |
236 |
Samsung Group |
311 |
Microsoft |
343 |
Intel Corporation |
674 |
Dell Computer Corporation |
1562 |
Kingston technology company |
2011 |
HUAWEI Technology Co.,ltd |
2312 |
Red Hat Software |
2623 |
ASUSTek computer INC. |
2636 |
Juniper Networks, Inc. |
3704 |
Amd |
3797 |
BENQ Corporation |
3902 |
ZTE Corporation |
4526 |
Netgear |
5703 |
NVIDIA Corporation |
6871 |
VMware INC. |
11129 |
Google, Inc. |
11863 |
Tp-link Technology Co.,ltd |
14331 |
Beijing topsec Network Security Technology Co., Ltd. |
14823 |
Aruba Networks INC |
18060 |
The Apache software Foundation |
19046 |
Lenovo Group |
19621 |
Alibaba |
24993 |
MySQL, Inc. |
25506 |
H3c |
27645 |
PostgreSQL Global Development Group |
32353 |
Baidu |
35047 |
Sangfor Technologies Co.,ltd. |
41475 |
Shenzhen Tencent Computer system Co., Ltd. |
43472 |
APC Integrated Services Group, Inc. |
How to identify different vendors ' devices through the OID of SNMP