楼主可以先获取 1.3.6.1.2.1.1.2这个OID的值。
例如某台机器的这个值是 sysObjectID: 1.3.6.1.4.1.8072.3.2.10
那么8072就是这个厂商的编号,然后楼主需要建立一个厂商编号与厂商名字的字典这样对应一下就行了。
Ps:1.3.6.1.2.1.1.2这个OID的解释
The vendor's authoritative identification of the network
management subsystem contained in the entity. This value is
allocated within the SMI enterprises subtree (1.3.6.1.4.1)
and provides an easy and unambiguous means for determining
`what kind of box' is being managed. For example , if vendor
`Flintstones , Inc.' was assigned the subtree
1.3.6.1.4.1.4242 , it could assign the identifier
1.3.6.1.4.1.4242.1.1 to its `Fred Router'.