cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
345
Views
2
Helpful
3
Replies

Does 'clear counters interface' clears brdcast packets count as well?

SivaPrabhala
Level 1
Level 1

Trying to clear counters on port channel interface. It's clearing unicast packet input output count but not broadcast. is there any other command to clear broadcasts or it clears only certain stats?

Received 135148792 broadcasts (0 IP multicasts)

Also, is there way without taking captures you can tell what is the source (mac or ip) of broadcast?

Thanks,

3 Replies 3

the broadcast must also clear 

but anyway use below to detect the broadcast source 

access-list 100 permit ip any host 255.255.255.255

debug ip packet detail 100

balaji.bandi
Hall of Fame
Hall of Fame

clear counters interface x/x  (this should clear all counter on the interface)

if that is not clearing, tell what what device mode and what IOS code running ?

post complete show interface gix/x output.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Did cleared couple of times but it's not clearing received broadcast packet count for some reason.

It's Cisco IOS XE Software, Version 17.06.05 and cisco ASR1001-X (1NG)

 

clear counters port-channel 10
Clear "show interface" counters on this interface [confirm]

#show interfaces port-channel 10
Port-channel10 is up, line protocol is up
Hardware is 10GEChannel
MTU 1500 bytes, BW 20000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 3/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
No. of active members in this channel: 2
Member 0 : TenGigabitEthernet0/0/0 , Full-duplex, 10000Mb/s
Member 1 : TenGigabitEthernet0/0/1 , Full-duplex, 10000Mb/s
No. of PF_JUMBO supported members in this channel : 2
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 00:00:10
Input queue: 0/750/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/80 (size/max)
5 minute input rate 269557000 bits/sec, 29241 packets/sec
5 minute output rate 132466000 bits/sec, 19984 packets/sec
259333 packets input, 297470811 bytes, 0 no buffer
Received 135165126 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 14844085 multicast, 0 pause input
165388 packets output, 126305590 bytes, 0 underruns
Output 0 broadcasts (0 IP multicasts)
4 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 out
0 carrier transitions

Thanks,

Review Cisco Networking for a $25 gift card