09-03-2013 12:26 AM
Hi,
I'm trying to monitor CRC errors on a 6513. When I run an SNMP MIB broswer it returns 648 OIDs for CRCs!
Eg:
.1.3.6.1.4.1.9.2.2.1.1.12.1
.1.3.6.1.4.1.9.2.2.1.1.12.2
.1.3.6.1.4.1.9.2.2.1.1.12.3
...
.1.3.6.1.4.1.9.2.2.1.1.12.891
The numbering is not consistent and there are intermittent blocks of numbers missing in the range (thus the last number being 891 out of 648 rows). Dose anyone know how to map that last OID number to the relevent interface port? I'm struggling to find any documentation on this.
Thanks,
Glenn
Solved! Go to Solution.
09-03-2013 03:29 AM
Hi Glenn,
this object is called OLD-CISCO-INTERFACES-MIB::locIfInCRC.
In the MIB file we can find the definitions of the tables and objects, in this case lifEntry:
lifEntry OBJECT-TYPE
(...)
INDEX { ifIndex }
So the last number is a reference to IF-MIB::ifIndex (.1.3.6.1.2.1.2.2.1.1).
You can find out the interface names with ifName (.1.3.6.1.2.1.31.1.1.1.1).
enterprises.9.2.2.1.1.12.170 = 74
mib-2.31.1.1.1.1.170 = Gi5/2
#show interface gi5/2 | i CRC
235 input errors, 74 CRC, 0 frame, 0 overrun, 0 ignored
Hope that helps
Rolf
09-03-2013 03:29 AM
Hi Glenn,
this object is called OLD-CISCO-INTERFACES-MIB::locIfInCRC.
In the MIB file we can find the definitions of the tables and objects, in this case lifEntry:
lifEntry OBJECT-TYPE
(...)
INDEX { ifIndex }
So the last number is a reference to IF-MIB::ifIndex (.1.3.6.1.2.1.2.2.1.1).
You can find out the interface names with ifName (.1.3.6.1.2.1.31.1.1.1.1).
enterprises.9.2.2.1.1.12.170 = 74
mib-2.31.1.1.1.1.170 = Gi5/2
#show interface gi5/2 | i CRC
235 input errors, 74 CRC, 0 frame, 0 overrun, 0 ignored
Hope that helps
Rolf
09-03-2013 05:46 AM
That works
Thanks Rolf!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide