如何使用SNMP查找启用snmp的设备型号

时间:2011-11-15 09:18:55

标签: snmp

是否有通用的OID,以便我可以获得它的型号。 适用于Cisco,Juniper,Alcatel等设备......

例如对于sonicWall路由器 enterprises.8741.2.1.1.1.0 = snwlSysModel =“TZ 100”

2 个答案:

答案 0 :(得分:2)

不幸的是,没有。有一些对象可以帮助您获得线索,但没有任何内容可以直接列出版本。这是最好的开始:

SNMPv2-MIB::sysObjectID
sysObjectID OBJECT-TYPE
  -- FROM       SNMPv2-MIB, RFC1213-MIB
  SYNTAX        OBJECT IDENTIFIER
  MAX-ACCESS    read-only
  STATUS        current
  DESCRIPTION   "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.424242,
            it could assign the identifier 1.3.6.1.4.1.424242.1.1
            to its `Fred Router'."
::= { iso(1) org(3) dod(6) internet(1) mgmt(2) mib-2(1) system(1) 2 }

然后查看HOST-RESOURCES-MIB,如果支持,则查看ENTITY-MIB。

答案 1 :(得分:0)

entPhysicalIndex entPhysicalIndex   1.3.6.1.2.1.47.1.1.1.1.1    OBJECT-TYPE
entPhysicalSoftwareRev entPhysicalSoftwareRev   1.3.6.1.2.1.47.1.1.1.1.10   OBJECT-TYPE
entPhysicalSerialNum entPhysicalSerialNum   1.3.6.1.2.1.47.1.1.1.1.11   OBJECT-TYPE
entPhysicalMfgName entPhysicalMfgName   1.3.6.1.2.1.47.1.1.1.1.12   OBJECT-TYPE
entPhysicalModelName entPhysicalModelName   1.3.6.1.2.1.47.1.1.1.1.13   OBJECT-TYPE
entPhysicalAlias entPhysicalAlias   1.3.6.1.2.1.47.1.1.1.1.14   OBJECT-TYPE
entPhysicalAssetID entPhysicalAssetID   1.3.6.1.2.1.47.1.1.1.1.15   OBJECT-TYPE
entPhysicalIsFRU entPhysicalIsFRU   1.3.6.1.2.1.47.1.1.1.1.16   OBJECT-TYPE
entPhysicalDescr entPhysicalDescr   1.3.6.1.2.1.47.1.1.1.1.2    OBJECT-TYPE
entPhysicalVendorType entPhysicalVendorType 1.3.6.1.2.1.47.1.1.1.1.3    OBJECT-TYPE
entPhysicalContainedIn entPhysicalContainedIn   1.3.6.1.2.1.47.1.1.1.1.4    OBJECT-TYPE
entPhysicalClass entPhysicalClass   1.3.6.1.2.1.47.1.1.1.1.5    OBJECT-TYPE
entPhysicalParentRelPos entPhysicalParentRelPos 1.3.6.1.2.1.47.1.1.1.1.6    OBJECT-TYPE
entPhysicalName entPhysicalName 1.3.6.1.2.1.47.1.1.1.1.7    OBJECT-TYPE
entPhysicalHardwareRev entPhysicalHardwareRev   1.3.6.1.2.1.47.1.1.1.1.8    OBJECT-TYPE
entPhysicalFirmwareRev entPhysicalFirmwareRev   1.3.6.1.2.1.47.1.1.1.1.9    OBJECT-TYPE