cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

1636
Views
0
Helpful
2
Replies
Highlighted
Beginner

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
Engager

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

View solution in original post

2 REPLIES 2
Engager

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

View solution in original post

Beginner

Mapping CRC OIDs to interface ports

That works

Thanks Rolf!

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards