FAQ - how to extract device serial number using SNMP protocol

Created Feb 01, 2016 17:03:22Latest reply Feb 01, 2016 17:36:57 1637 1 0 0

Issue Description:

This case describe the method about how extract device serial number by querying the system using SNMP protocol.  The test device here is an AR2200 with V200R005C20SPC200.

Solution:

By checking the mib reference documentation we can quickly identify the OID that can extract the required information. This is the corresponding table:

entPhysicalTable
This table lists all the physical objects as well as their types and information. At least one object is contained in the table.
The index of this table is entPhysicalIndex.
The OID prefix of this table is 1.3.6.1.2.1.47.1.1.1.1.
Check the leaf 11.
entPhysicalSerialNum [11] SnmpAdminString (SIZE (0..32)) Indicates the serial number.
The default value is 1. Read-only This object is implemented as defined in the corresponding MIB files.

here below you can find the test result:

 

---------------------- New Test -----------------------
Paessler SNMP Tester 5.1.3
4/29/2015 2:56:42 PM (8 ms) : Device: 192.168.64.24
4/29/2015 2:56:42 PM (13 ms) : SNMP V2c
4/29/2015 2:56:42 PM (17 ms) : Walk 1.3.6.1.2.1.47.1.1.1.1.11
4/29/2015 2:56:42 PM (108 ms) : 1.3.6.1.2.1.47.1.1.1.1.11.3 = "2102113373P0EA000035"
4/29/2015 2:56:42 PM (195 ms) : 1.3.6.1.2.1.47.1.1.1.1.11.262149 = ""
----------------------- New Test -----------------------
Paessler SNMP Tester 5.1.3
4/29/2015 2:57:09 PM (9 ms) : Device: 192.168.64.24
4/29/2015 2:57:09 PM (13 ms) : SNMP V2c
4/29/2015 2:57:09 PM (17 ms) : Custom OID 1.3.6.1.2.1.47.1.1.1.1.11.3
4/29/2015 2:57:09 PM (191 ms) : -------
4/29/2015 2:57:09 PM (196 ms) : Value: 2102113373P0EA000035

<U19_R6_AR2200>dis esn                                                         
ESN of device: 2102113373P0EA000035  

I hope you will find this FAQ usefull.

  • x
  • convention:

Sherryh  Novice   Created Feb 01, 2016 17:36:57 Helpful(0) Helpful(0)

Thank you.

  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top