cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1120
Views
0
Helpful
1
Replies

How to fetch router model and card's serial number

Jonn cos
Level 4
Level 4

Hi all.

I am writing a program so can someone pls tell me what snmp mib/oid i need to access to get router's model and card/network module name and serial numbers ?

Kindly guide me

1 Reply 1

ngoldwat
Level 4
Level 4

Hi,

You are probably looking for this object:

.1.3.6.1.2.1.47.1.1.1.1.3
entPhysicalVendorType OBJECT-TYPE
     -- FROM     ENTITY-MIB
     -- TEXTUAL CONVENTION AutonomousType
     SYNTAX          OBJECT ID
     MAX-ACCESS     read-only
     STATUS          Current
     DESCRIPTION    "An indication of the vendor-specific hardware type of the
            physical entity. Note that this is different from the
            definition of MIB-II's sysObjectID.

            An agent should set this object to a enterprise-specific
            registration identifier value indicating the specific
            equipment type in detail.  The associated instance of
            entPhysicalClass is used to indicate the general type of
            hardware device.

            If no vendor-specific registration identifier exists for
            this physical entity, or the value is unknown by this agent,
            then the value { 0 0 } is returned."

.1.3.6.1.2.1.1.2
sysObjectID OBJECT-TYPE
     -- FROM     SNMPv2-MIB
     SYNTAX          OBJECT ID
     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.4242, it could assign the identifier
            1.3.6.1.4.1.4242.1.1 to its `Fred Router'."


.1.3.6.1.2.1.47.1.1.1.1.13.58
entPhysicalModelName OBJECT-TYPE
     -- FROM     ENTITY-MIB
     -- TEXTUAL CONVENTION SnmpAdminString
     SYNTAX          OCTET STRING (0..255)
     DISPLAY-HINT     "255a"
     MAX-ACCESS     read-only
     STATUS          Current
     DESCRIPTION    "The vendor-specific model name identifier string associated
            with this physical component.  The preferred value is the
            customer-visible part number, which may be printed on the
            component itself.

            If the model name string associated with the physical
            component is unknown to the agent, then this object will
            contain a zero-length string."


Review Cisco Networking for a $25 gift card