Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Mapping CRC OIDs to interface ports

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

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Mapping CRC OIDs to interface ports

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

2 REPLIES

Re: Mapping CRC OIDs to interface ports

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

New Member

Mapping CRC OIDs to interface ports

That works

Thanks Rolf!

770
Views
0
Helpful
2
Replies