[c-nsp] Lot of input errors on a NPE-G1 interface

gal.9430 at googlemail.com gal.9430 at googlemail.com
Thu May 24 09:44:09 EDT 2012


Hi,

> After the port-fast discussion back to your original question. The first
> thing to look is the interface controller (show controller , show ip
> interface) and the logging to make sure I don't have speed/duplex or
> flow-control problems.

router2#show controller
...
Interface GigabitEthernet0/1 (idb 0x65C58CDC)
Hardware is BCM1250 Internal MAC (Revision B2/B3)
  Network connection mode is AUTO
  network link is up
  Config is 1Gbps, Full Duplex
  Selected media-type is GBIC
  GBIC type is 1000BaseSX
...
...
PHY says Link is UP, Speed 1000Mbps, Full-Duplex [AUTONEG Done]
  Physical Interface - GBIC
  AUTONEG - Our ability is     1000M/FD Pause Capable (Asymmetric)
  AUTONEG - Partner ability is 1000M/HD 1000M/FD

router2#sh ip int Gi0/1
GigabitEthernet0/1 is up, line protocol is up
  Internet address is x.x.x.x/28
  Broadcast address is 255.255.255.255
  Address determined by non-volatile memory
  MTU is 1500 bytes
  Helper address is not set
  Directed broadcast forwarding is disabled
  Outgoing access list is not set
  Inbound  access list is not set
  Proxy ARP is disabled
  Local Proxy ARP is disabled
  Security level is default
  Split horizon is enabled
  ICMP redirects are always sent
  ICMP unreachables are always sent
  ICMP mask replies are never sent
  IP fast switching is enabled
  IP fast switching on the same interface is disabled
  IP Flow switching is disabled
  IP CEF switching is enabled
  IP Feature Fast switching turbo vector
  IP Feature CEF switching turbo vector
  IP multicast fast switching is enabled
  IP multicast distributed fast switching is disabled
  IP route-cache flags are Fast, CEF
  Router Discovery is disabled
  IP output packet accounting is disabled
  IP access violation accounting is disabled
  TCP/IP header compression is disabled
  RTP/IP header compression is disabled
  Policy routing is disabled
  Network address translation is disabled
  BGP Policy Mapping is disabled
  WCCP Redirect outbound is disabled
  WCCP Redirect inbound is disabled
  WCCP Redirect exclude is disabled

Next step is to disable autonegotiation and set speed/duplex hardcoded
on both sides.

BTW, disabling netflow decreases the CPU utilization dramatically :-)

After increase the hold-queue from 100 to 150 and disabling netflow the input
errors are still alive:
(clearing the counter nearly 8 hours before)

sh int Gi0/1
GigabitEthernet0/1 is up, line protocol is up
  Hardware is BCM1250 Internal MAC, address is 0006.52f4.d81b (bia
0006.52f4.d81b)
  Internet address is 94.103.161.235/28
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, link type is autonegotiation, media type is SX
  output flow-control is XON, input flow-control is XON
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 07:47:20
  Input queue: 0/150/2026/2 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 6191000 bits/sec, 1385 packets/sec
  5 minute output rate 7266000 bits/sec, 2079 packets/sec
     40892419 packets input, 1638492851 bytes, 0 no buffer
     Received 773 broadcasts, 0 runts, 0 giants, 0 throttles
     880 input errors, 0 CRC, 0 frame, 880 overrun, 0 ignored
     0 watchdog, 14448 multicast, 0 pause input
     0 input packets with dribble condition detected
     53498590 packets output, 3784646524 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     467 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out


Regards





On Thu, May 24, 2012 at 11:13 AM, Erich Hohermuth <eh at solnet.ch> wrote:
> Hi
>
> After the port-fast discussion back to your original question. The first
> thing to look is the interface controller (show controller , show ip
> interface) and the logging to make sure I don't have speed/duplex or
> flow-control problems.
>
> Second you get "unknown protocol drops" this happens mostly from cdp
> packets. You send cdp from your switch but drop them on your router.
>
> I my case I had to enable flow-control on my 3560 switch and allow pause
> frames from the npe-g1. Hint: Sometimes it is more reliable to turn the
> auto-neg feature off
>
> Regards
>  Erich
>
>>
>> NPE-G1:
>> ------------
>> GigabitEthernet0/1 is up, line protocol is up
>>   Hardware is BCM1250 Internal MAC, address is 0006.52f4.d81b (bia
>> 0006.52f4.d81b)
>>   Internet address is x.x.x.x/28
>>   MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
>>      reliability 255/255, txload 1/255, rxload 1/255
>>   Encapsulation ARPA, loopback not set
>>   Keepalive set (10 sec)
>>   Full-duplex, 1000Mb/s, link type is autonegotiation, media type is SX
>>   output flow-control is XON, input flow-control is XON
>>   ARP type: ARPA, ARP Timeout 04:00:00
>>   Last input 00:00:00, output 00:00:00, output hang never
>>   Last clearing of "show interface" counters never
>>   Input queue: 0/75/1321/1 (size/max/drops/flushes); Total output drops: 0
>>   Queueing strategy: fifo
>>   Output queue: 0/40 (size/max)
>>   5 minute input rate 4264000 bits/sec, 871 packets/sec
>>   5 minute output rate 5859000 bits/sec, 1597 packets/sec
>>      27479327 packets input, 3434822229 bytes, 0 no buffer
>>      Received 941 broadcasts, 0 runts, 0 giants, 0 throttles
>>      989 input errors, 0 CRC, 0 frame, 989 overrun, 0 ignored
>>      0 watchdog, 17119 multicast, 0 pause input
>>      0 input packets with dribble condition detected
>>      43616309 packets output, 2243854018 bytes, 0 underruns
>>      5 output errors, 0 collisions, 4 interface resets
>>      561 unknown protocol drops
>>      0 babbles, 0 late collision, 0 deferred
>>      5 lost carrier, 0 no carrier, 0 pause output
>>      0 output buffer failures, 0 output buffers swapped out



More information about the cisco-nsp mailing list