cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
965
Views
0
Helpful
2
Replies
DmitriyShkurko
Beginner

SNMP commands to collect info about serial numbers of routers

Dear experts,

could you please advise on the following issue I have encountered?

Problem:

Need to collect information about routers via SNMP: serial numbers, model names etc.

 

How I tried to solve it:

I have found the information on the Internet about so-called MIB barnacles to be included in customer view.

These are the ones I had intended to use:

entPhysicalModelName .1.3.6.1.2.1.47.1.1.1.1.11.13
entPhysicalClass .1.3.6.1.2.1.47.1.1.1.1.5
entPhysicalSerialNum .1.3.6.1.2.1.47.1.1.1.1.11

The configuration team in my company applied the commands in a slightly different manner:

snmp-server view clientview entPhysicalEntry.5 included

snmp-server view clientview entPhysicalEntry.11 included

snmp-server view clientview entPhysicalEntry.11.13 included

 

The applied configuration above didn't work as expected.

 

Question:

What can be done to correct the issue so that the information would be collected?

Thanks in advance!

 

2 REPLIES 2
balaji.bandi
VIP Expert

you can have read only view

 

snmp-server community bbview  view VIEW RO

 

Tested using my Linux box with snmpwalk :

 

# snmpwalk -v2c -c bbview  10.10.10.10 1.3.6.1.4.1.9.5.1.2.19
SNMPv2-SMI::enterprises.9.5.1.2.19.0 = STRING: "XXXXX"

 



BB


*** Rate All Helpful Responses ***

Sergey Lisitsin
Rising star

DmitriyShkurko,

 

Try querying this string: 

iso.3.6.1.2.1.47.1.1.1.1.2.1

It should return the chassis ID and the serial number.

Content for Community-Ad