Port error value shows on snmpwalk but not on interface via ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 12:39 PM
Hello,
If I run a snmpwalk to check port errors on gig 1/0/2 on this 3850 it has 103 errors:
snmpwalk -v 2c -c public 10.1.3.18 .1.3.6.1.4.1.9.2.2.1.1.12 iso.3.6.1.4.1.9.2.2.1.1.12.1 = INTEGER: 0 iso.3.6.1.4.1.9.2.2.1.1.12.2 = INTEGER: 0 iso.3.6.1.4.1.9.2.2.1.1.12.8 = INTEGER: 0 iso.3.6.1.4.1.9.2.2.1.1.12.9 = INTEGER: 103
If I use another tool:
ifInErrors{ifAlias="X-3850 UPLINK",ifDescr="GigabitEthernet1/0/2",ifIndex="9",ifName="Gi1/0/2"} 103
However if I SSH onto the switch I can't locate this 103 value
sh int gig 1/0/2 GigabitEthernet1/0/2 is down, line protocol is down (notconnect) Hardware is Gigabit Ethernet, address is 5486.bce6.8e82 (bia 5486.bce6.8e82) Description: X-3850 UPLINK MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive not set Half-duplex, 100Mb/s, link type is auto, media type is 100BaseFX SFP input flow-control is on, output flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 17:39:10, output hang never Last clearing of "show interface" counters 09:55:32 Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts (0 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 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
If I clear the counters 103 still appears when I run the first 2 commands, but not on the show int gig 1/0/2 command.
Why is this?
Thanks
- Labels:
-
Catalyst 3000
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 06:48 AM
Hi
Does interface Gi1/0/7 have the "130" errors?
I just checked a 3850 and 1/0/4 has the ifindex of "4" whereas 1/0/7 has the ifindex of "9" which is the interface that seems to report 130 errors in your output:
show snmp mib ifmib ifindex gi1/0/2
Interface = GigabitEthernet1/0/2, Ifindex = 4
show snmp mib ifmib ifindex gi1/0/7
Interface = GigabitEthernet1/0/7, Ifindex = 9
hth
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 10:14 AM
show snmp mib ifmib ifindex gi1/0/2
Interface = GigabitEthernet1/0/2, Ifindex = 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 07:24 AM - edited 05-16-2025 10:31 AM
Very possible clear interface resets the interface counters but not the MIB counters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 10:18 AM
I think you are right, I think the only way to clear the mib counters is by rebooting the switch.
