Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Nexus 5k snmp IfInErrors/IfOutErrors

I am trying to to graph the errors on Eth1/2 on my Nexus 5K. I do this via the following Oid: .1.3.6.1.2.1.2.2.1.14.IfIndex (for the nexus Eth1/2 int I am using 436211712 as Ifindex) for the input errors. This works brilliant on a router or a switch with the normal IOS. On my Nexus I get some strange results....

On my nexus I get "114" as a result for the input errors, which in it self is okay, the problem is that I cannot find this value looking at the interface.

N5K-1# sh int Eth1/2

Ethernet1/2 is up

  Hardware: 1000/10000 Ethernet, address:

  Description: [N5K-1]

  MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec

  reliability 255/255, txload 2/255, rxload 4/255

  Encapsulation ARPA

  Port mode is trunk

  full-duplex, 10 Gb/s, media type is 10G

  Beacon is turned off

  Input flow-control is off, output flow-control is off

  Rate mode is dedicated

  Switchport monitor is off

  EtherType is 0x8100

  Last link flapped 50week(s) 2day(s)

  Last clearing of "show interface" counters 01:44:18

  30 seconds input rate 169236136 bits/sec, 48235 packets/sec

  30 seconds output rate 110784488 bits/sec, 18387 packets/sec

  Load-Interval #2: 5 minute (300 seconds)

    input rate 186.29 Mbps, 52.00 Kpps; output rate 112.73 Mbps, 19.35 Kpps

  RX

    416641114 unicast packets  152559 multicast packets  48615 broadcast packets

    416842288 input packets  221426676807 bytes

    79910320 jumbo packets  0 storm suppression bytes

    0 runts  0 giants  0 CRC  0 no buffer

    0 input error  0 short frame  0 overrun   0 underrun  0 ignored

    0 watchdog  0 bad etype drop  0 bad proto drop  0 if down drop

    0 input with dribble  0 input discard

    0 Rx pause

  TX

    160665228 unicast packets  304460 multicast packets  65177 broadcast packets

    161034865 output packets  118557528934 bytes

    48860086 jumbo packets

   0 output errors  0 collision  0 deferred  0 late collision

    0 lost carrier  0 no carrier  0 babble 0 output discard

    0 Tx pause

  0 interface resets

Using the following command sh int ethernet 1/2 counters errors snmp I get:

--------------------------------------------------------------------------------
Port          Align-Err    FCS-Err   Xmit-Err    Rcv-Err  UnderSize OutDiscards
--------------------------------------------------------------------------------
Eth1/2                0          0          0          0          0           0

--------------------------------------------------------------------------------
Port         Single-Col  Multi-Col   Late-Col  Exces-Col  Carri-Sen       Runts
--------------------------------------------------------------------------------
Eth1/2                0          0          0          0          0           0

--------------------------------------------------------------------------------
Port          Giants SQETest-Err Deferred-Tx IntMacTx-Er IntMacRx-Er Symbol-Err
--------------------------------------------------------------------------------
Eth1/2             0          --           0           0           0          0

So I thought I might use the wrong Ifindex, but this also seems to be allright

N5K-1# sh interface snmp-ifindex | inc 1/2

Eth1/2          436211712  (0x1a001000)

As far I can see in the documentation then all interfaces are persistent, so it is the right one.

Running show int counters detailed snmp | in "Input Errors:"

  Input Errors:                                         2
  Input Errors:                                       121
  Input Errors:                                         5
  Input Errors:                                         3
  Input Errors:                                         3
  Input Errors:                                         1
  Input Errors:                                         1

So the 114 is not even an input error, is ther anyone who can tell me how to find the right Oid or help figuring out what it is that I am graphing?

2 REPLIES
New Member

Re: Nexus 5k snmp IfInErrors/IfOutErrors

I did some further investigation. Doing an snmpwalk

snmpwalk -cpublic -v2c 10.3.95.5 1.3.6.1.2.1.2.2.1 | grep 436211712

iso.3.6.1.2.1.2.2.1.1.436211712 = INTEGER: 436211712

iso.3.6.1.2.1.2.2.1.2.436211712 = STRING: "Ethernet1/2"

iso.3.6.1.2.1.2.2.1.3.436211712 = INTEGER: 6

iso.3.6.1.2.1.2.2.1.4.436211712 = INTEGER: 1500

iso.3.6.1.2.1.2.2.1.5.436211712 = Gauge32: 4294967295

iso.3.6.1.2.1.2.2.1.6.436211712 = Hex-STRING: 54 7F EE 5B DC 69

iso.3.6.1.2.1.2.2.1.7.436211712 = INTEGER: 1

iso.3.6.1.2.1.2.2.1.8.436211712 = INTEGER: 1

iso.3.6.1.2.1.2.2.1.9.436211712 = Timeticks: (0) 0:00:00.00

iso.3.6.1.2.1.2.2.1.10.436211712 = Counter32: 4083166049

iso.3.6.1.2.1.2.2.1.11.436211712 = Counter32: 1269147921

iso.3.6.1.2.1.2.2.1.12.436211712 = Counter32: 522286869

iso.3.6.1.2.1.2.2.1.13.436211712 = Counter32: 0

iso.3.6.1.2.1.2.2.1.14.436211712 = Counter32: 114

iso.3.6.1.2.1.2.2.1.15.436211712 = Counter32: 0

iso.3.6.1.2.1.2.2.1.16.436211712 = Counter32: 1509434505

iso.3.6.1.2.1.2.2.1.17.436211712 = Counter32: 2608394584

iso.3.6.1.2.1.2.2.1.18.436211712 = Counter32: 761715136

iso.3.6.1.2.1.2.2.1.19.436211712 = Counter32: 0

iso.3.6.1.2.1.2.2.1.20.436211712 = Counter32: 3

iso.3.6.1.2.1.2.2.1.21.436211712 = Gauge32: 0

iso.3.6.1.2.1.2.2.1.22.436211712 = OID: ccitt.0

against that interface, alle the values seems to be correct, but i cannot correlate:

iso.3.6.1.2.1.2.2.1.10

iso.3.6.1.2.1.2.2.1.11

iso.3.6.1.2.1.2.2.1.12

iso.3.6.1.2.1.2.2.1.14

iso.3.6.1.2.1.2.2.1.16

iso.3.6.1.2.1.2.2.1.17

iso.3.6.1.2.1.2.2.1.18

iso.3.6.1.2.1.2.2.1.20

with any show commands. Even a clear counters interface ethernet 1/2 does not reset the error counters for (iso.3.6.1.2.1.2.2.1.14 and iso.3.6.1.2.1.2.2.1.20)

but they do reset the counter for sh int ethernet 1/2 counters errors snmp I tested that on another interface which had some errors shown.

Have I found a bug here or?

New Member

Re: Nexus 5k snmp IfInErrors/IfOutErrors

Aha now I got it with respect to the erorror counters. I now read that SNMP counters cannot be cleared, so the errors might actually be true, the inteface just has been cleared and that is why I cannot refind the value!

651
Views
0
Helpful
2
Replies
CreatePlease to create content