cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3872
Views
0
Helpful
2
Replies

Mapping CRC OIDs to interface ports

glenn0002
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Rolf Fischer
Level 9
Level 9

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

View solution in original post

2 Replies 2

Rolf Fischer
Level 9
Level 9

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

That works

Thanks Rolf!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: