12-10-2024 09:08 AM
Hi
I have a cable connected from isp to my switch port g1/0/1
its up and its listening for the mac of the isp side ip. traffic is working fine through it. i have deployed nms and it wasnt showing traffic on that interface. so i manually checked that particular interface using sh int g1/0/1 and no value is there in the last 5 minutes rates. i had cleared counters for all interfaces.
sh run int g1/0/1Switching, LAN Switching, Other Switches
Building configuration...
Current configuration : 168 bytes
!
interface GigabitEthernet1/0/1
description ISP1
switchport access vlan 111
switchport mode access
speed 1000
spanning-tree portfast
end
sh vlan name ISP1
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
111 ISP1 active Gi1/0/1, Gi2/0/3, Po6, Po10, Po11, Po31
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
111 enet 100111 1500 - - - - - 0 0
Remote SPAN VLAN
----------------
Disabled
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
po11 is connected to my firewall's wan port. on switch i am able to find mac of firewall on po11.
po6, po10,po31 are access switches connected to this switch.
here is the output form show interface summary
* GigabitEthernet1/0/1 0 0 0 0 0 0 0 0 0
its cisco switch stack and i see that on switch 1 its not showing any value for below command but switch 2 of this stack is showing.
sh inter counters
CORE-SW-1#sh int counters
Port InOctets InUcastPkts InMcastPkts InBcastPkts
Gi1/0/1 0 0 0 0
Gi1/0/2 0 0 0 0
Gi1/0/3 0 0 0 0
Gi1/0/4 0 0 0 0
Gi1/0/5 0 0 0 0
Gi1/0/6 0 0 0 0
Gi1/0/7 0 0 0 0
Gi1/0/8 0 0 0 0
Gi1/0/9 0 0 0 0
Gi1/0/10 0 0 0 0
Gi1/0/11 0 0 0 0
Gi1/0/12 0 0 0 0
Gi1/0/13 0 0 0 0
Gi1/0/14 0 0 0 0
Gi1/0/15 0 0 0 0
Gi1/0/16 0 0 0 0
Gi1/0/17 0 0 0 0
Gi1/0/18 0 0 0 0
Gi1/0/19 0 0 0 0
Gi1/0/20 0 0 0 0
Gi1/0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Gi2/0/27 60997965 123890 18 124
Gi2/0/28 0 0 0 0
Gi2/0/29 34788069 134417 33 0
Gi2/0/30 0 0 0 0
Gi2/0/31 4019284 11939 77 0
Gi2/0/32 0 0 0 0
Gi2/0/33 0 0 0 0
Gi2/0/34 1164266 4045 85 16
Gi2/0/35 0 0 0 0
Gi2/0/36 13360986 42612 284 767
Gi2/0/37 0 0 0 0
Gi2/0/38 0 0 0 0
Gi2/0/39 0 0 0 0
Gi2/0/40 0 0 0 0
Gi2/0/41 0 0 0 0
Gi2/0/42 0 0 0 0
Gi2/0/43 200586925 581214 2722 3428
Gi2/0/44 0 0 0 0
Gi2/0/45 0 0 0 0
Gi2/0/46 4474675 14209 97 86
Gi2/0/47 90930175 319649 1510 1390
Gi2/0/48 0 0 0 0
Te2/1/1 0 0 0 0
Te2/1/2 0 0 0 0
Te2/1/3 0 0 0 0
Te2/1/4 71320 450 344 1
Po1 104474 127 1335 0
Po2 0 0 0 0
Po6 200586925 581214 2722 3428
Po10 90930175 319649 1510 1390
Po11 229011460 806156 42 0
Po12 0 0 0 0
Po22 283456 4355 21 0
Po31 4474675 14209 97 86
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
Gi1/0/1 0 0 0 0
Gi1/0/2 0 0 0 0
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
Gi1/0/3 0 0 0 0
Gi1/0/4 0 0 0 0
Gi1/0/5 0 0 0 0
Gi1/0/6 0 0 0 0
Gi1/0/7 0 0 0 0
Gi1/0/8 0 0 0 0
Gi1/0/9 0 0 0 0
Gi1/0/10 0 0 0 0
Gi1/0/11 0 0 0 0
Gi1/0/12 0 0 0 0
Gi1/0/13 0 0 0 0
Gi1/0/14 0 0 0 0
Gi1/0/15 0 0 0 0
Gi1/0/16 0 0 0 0
Gi1/0/17 0 0 0 0
Gi1/0/18 0 0 0 0
Gi1/0/19 0 0 0 0
Gi1/0/20 0 0 0 0
Gi1/0/21 0 0 0 0
Gi1/0/22 0 0 0 0
Gi1/0/23 0 0 0 0
Gi1/0/24 0 0 0 0
Gi1/0/25 0 0 0 0
Gi1/0/26 0 0 0 0
Gi1/0/27 0 0 0 0
Gi1/0/28 0 0 0 0
Gi1/0/29 0 0 0 0
Gi1/0/30 0 0 0 0
Gi1/0/31 0 0 0 0
Gi1/0/32 0 0 0 0
Gi1/0/33 0 0 0 0
Gi1/0/34 0 0 0 0
Gi1/0/35 0 0 0 0
Gi1/0/36 0 0 0 0
Gi1/0/37 0 0 0 0
Gi1/0/38 0 0 0 0
Gi1/0/39 0 0 0 0
Gi1/0/40 0 0 0 0
Gi1/0/41 0 0 0 0
Gi1/0/42 0 0 0 0
Gi1/0/43 0 0 0 0
Gi1/0/44 0 0 0 0
Gi1/0/45 0 0 0 0
Gi1/0/46 0 0 0 0
Gi1/0/47 0 0 0 0
Gi1/0/48 0 0 0 0
Te1/1/1 0 0 0 0
Te1/1/2 0 0 0 0
Te1/1/3 0 0 0 0
Te1/1/4 0 0 0 0
Gi2/0/1 0 0 0 0
Gi2/0/2 1172861834 1240921 421 10
Gi2/0/3 58750 122 347 287
Gi2/0/4 2551828 509 10244 14001
Gi2/0/5 0 0 0 0
Gi2/0/6 0 0 0 0
Gi2/0/7 0 0 0 0
Gi2/0/8 0 0 0 0
Gi2/0/9 0 0 0 0
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
Gi2/0/10 0 0 0 0
Gi2/0/11 0 0 0 0
Gi2/0/12 2435774 509 8646 14011
Gi2/0/13 0 0 0 0
Gi2/0/14 0 0 0 0
Gi2/0/15 43637 267 80 0
Gi2/0/16 0 0 0 0
Gi2/0/17 0 0 0 0
Gi2/0/18 2453254 511 8696 14146
Gi2/0/19 0 0 0 0
Gi2/0/20 0 0 0 0
Gi2/0/21 2418499 11906 401 166
Gi2/0/22 201271 2243 493 110
Gi2/0/23 3934392 5798 481 100
Gi2/0/24 0 0 0 0
Gi2/0/25 0 0 0 0
Gi2/0/26 3421468 3947 8692 14142
Gi2/0/27 31152296 124943 8678 14020
Gi2/0/28 0 0 0 0
Gi2/0/29 47081793 130575 8659 14144
Gi2/0/30 0 0 0 0
Gi2/0/31 4580075 12206 8692 14144
Gi2/0/32 0 0 0 0
Gi2/0/33 0 0 0 0
Gi2/0/34 17978479 12563 8631 14128
Gi2/0/35 0 0 0 0
Gi2/0/36 60242724 61704 8446 13377
Gi2/0/37 2453530 511 8691 14140
Gi2/0/38 0 0 0 0
Gi2/0/39 0 0 0 0
Gi2/0/40 0 0 0 0
Gi2/0/41 0 0 0 0
Gi2/0/42 0 0 0 0
Gi2/0/43 999424327 1065226 11849 2784
Gi2/0/44 0 0 0 0
Gi2/0/45 0 0 0 0
Gi2/0/46 32720096 25750 14667 5679
Gi2/0/47 433113836 461962 20528 13398
Gi2/0/48 0 0 0 0
Te2/1/1 0 0 0 0
Te2/1/2 0 0 0 0
Te2/1/3 0 0 0 0
Te2/1/4 551770 351 7113 5
Po1 43637 267 80 0
Po2 0 0 0 0
Po6 999424327 1065226 11849 2784
Po10 433113836 461962 20528 13398
Po11 1172861834 1240921 421 10
Po12 0 0 0 0
Po22 201271 2243 493 110
Po31 32720096 25750 14667 5679
12-10-2024 09:12 AM
Do show interface x/x
Check input and output rate' it better than use counter
MHM
12-10-2024 09:20 AM
same result there. i used that command . it seems that i am not getting statistics on nms for the fist switch in stack. neither do i see counters for any of interface using below command on any interface of the first member switch.
sh int g1/0/1
GigabitEthernet1/0/1 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 009a.d2a2.e281 (bia 009a.d2a2.e281)
Description: ISP1
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, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output never, output hang never
Last clearing of "show interface" counters 00:23:22
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, 0 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 ou
12-10-2024 09:58 AM
Greetings,
Based on the output of your show int this looks to be the indicator:
Last input 00:00:00, output never, output hang never
Your statistics don't indicate any traffic coming into the port at all. By chance is there a media converter on the link that could be keeping the port up/up? Typically you would expect to at least see broadcast and mcast traffic even if data isn't passing.
12-11-2024 12:54 AM - edited 12-11-2024 12:55 AM
these are two 3850 switches in stack.
its not showing traffic for all interfaces of one of the switch in stack. Taffic is passing through those interfaces perfectly fine.
I even connected laptop to this port and transferred multi gb file and still status for that port showed 0 0 statistics.
12-10-2024 10:06 AM
Please share this
Show ip interface x/x
MHM
12-11-2024 12:54 AM
sh ip int g1/0/1
GigabitEthernet1/0/1 is up, line protocol is up
Inbound access list is not set
Outgoing access list is not set
12-11-2024 01:16 AM
what is device connected to GigabitEthernet1/0/1? What is the status of Spanning tree?
12-11-2024 01:50 AM - edited 12-11-2024 02:09 AM
its huawei isp switch and the only exit path for all traffic from our core switch to internet. there is no issue wiht the port itself. i have its perfectly fine. spanning tree is not blocking it.
sh spanning-tree interface gigabitEthernet 1/0/1
Vlan Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
VLAN0111 Root FWD 4 128.1 P2p Edge
sh spanning-tree vlan 111
VLAN0111
Spanning tree enabled protocol rstp
Root ID Priority 32768
Address 5856.c273.482a
Cost 4
Port 1 (GigabitEthernet1/0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32879 (priority 32768 sys-id-ext 111)
Address 009a.d2a2.e280
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/0/1 Root FWD 4 128.1 P2p
Gi2/0/3 Desg FWD 4 128.67 P2p Edge
Po6 Desg FWD 3 128.2032 P2p
Po10 Desg FWD 4 128.2036 P2p
Po11 Desg FWD 3 128.2037 P2p
Po31 Desg FWD 3 128.2057 P2p
The main issue is that i cannot see any counters for all the ports of one of the switch in stack. Also my nms is not showing any traffic for any port of this switch in stack . While the nms is displaying all daata for ports of the second switch in stack. and also show interface commnand displays data on all interfaces of the second switch properly . but its showing 00 for first switch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide