cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2548
Views
0
Helpful
4
Replies

ISR counter commands

Amafsha1
Level 2
Level 2

Hello, I have an ISR 4000 series router with image Cisco IOS XE Software, Version 16.03.06
Cisco IOS Software [Denali], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.3.6, RELEASE SOFTWARE (fc3).  

 

When executing the command "show int counters" and "show int counter errors"  I get the error message of "Counters information is not available for GigabitEthernet0/0/3".   This is really frustrating as I need to see the counter errors from what's believed to be a bad issue with the sfp gbics and/or the fiber optic cabling. (this is a router that connects to the fiber handoff at the demarc) Not sure what to do here because the ISP is saying we have bad optics on our side because they tested their side.  Does anyone have a recommendation of a command I can run to get information about physical problems?  or what log I can set to report on that?

 

what makes this matter worse is our equipment never prints any logs of any sort of issue, and we randomly loose BGP neighborship with the ISP router, but the interface never goes down and doing a "clear ip bgp" doesen't do the trick, we have to shut/noshut the interface to get the neighborship to form again.  The only 1 semi-usefull thing I found was everytime we lost BGP neighborship with ISP router, the "lost carrier" counter would increment by a couple. 

4 Replies 4

chrihussey
VIP Alumni
VIP Alumni

I have some ISR 4000 routers, but unfortunately none are using the SFP optics so I couldn't dig deeper than I would have liked. However:

1- The "show interface" command should provide you with sufficient information regarding errors with the connection. It's just too bad you can't see light levels. Regardless, short of seeing actual errors, CRCs, frames, etc., the link appears to be clean as far as I understand.

2- The fact that you see the lost carrier counter increment is indeed useful and the fact that only a shut/no shut brings it back up could indicate there are indeed problems with the SFP or port itself. Suggest replacing the SFP and if that doesn't work then perhaps try a different SFP interface on the router if available.

3- Short of that, replace the fiber jumper just to say you did your due diligence. and then take that information back to the provider, who should try the same on their end.

4- Finally, what is the connection between you and the ISP? Dark fiber, a provider network of some sort? If there is an actual network between you and the ISP, they may be the cause.

I know this may not solve the issue, but hope it is of some help.

 

Ok, thanks for the input.  That's kind of the direction I'm heading.  Here is the input from "sh int g0/0/3 controller"  Let me know if you see anything out of the ordinary. 

 

 

WAN-ROUTER#sh int g0/0/3 controller
GigabitEthernet0/0/3 is up, line protocol is up
Hardware is ISR4451-X-4x1GE, address is 74b0.2fdd.4f01 (bia 74b0.2fdd.4f01)
Description: // 1Gpbs MPLS
Internet address is x.x.x.x
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 36/255, rxload 12/255
Encapsulation ARPA, loopback not set
Keepalive not supported
Full Duplex, 1000Mbps, link type is force-up, media type is ZX
output flow-control is on, input flow-control is on
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:32:48, output 00:00:15, output hang never
Last clearing of "show interface" counters never
Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 313931
Queueing strategy: Class-based queueing
Output queue: 0/40 (size/max)
30 second input rate 49475000 bits/sec, 18845 packets/sec
30 second output rate 143841000 bits/sec, 21863 packets/sec
3114248735 packets input, 906193451487 bytes, 0 no buffer
Received 14 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 4 multicast, 0 pause input
6197157818 packets output, 6819666486950 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
11 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out

GigabitEthernet 0/0/3 Status:
Driver Configuration Block: Admin State Up MTU 1528 Speed 1000mbps Duplex full Autoneg Off Stats Interval 5

 


GigabitEthernet 0/0/3 Cumulative Statistics:

Input packet count 3114248735
Input bytes count 4250319327
Input mcast packets 4
Input bcast packets 14
Input packets_64 1040047072
Input packets_65to127 764127889
Input packets_128to255 525389635
Input packets_256to511 259818871
Input packets_512to1023 212457589
Input packets_1024to1518 312407674
Input CRC packets 0
Input fragment packets 0
Dropped packets 0
Runt packets 0
Oversize CRC packets 0
Giant packets count 0
Total error packet count 0

Is the interface speed and/or duplex hard coded? Could you post the interface's config?

 

sh run int g0/0/3

interface GigabitEthernet0/0/3
description 1Gpbs MPLS
ip flow monitor netflow-monitor input
ip flow monitor netflow-monitor output
ip address x.x.x.x x.x.x.x
load-interval 30
media-type sfp
no negotiation auto
service-policy output MPLS_tier1_pol