04-22-2021 07:35 AM
Hi all, I’m looking for commands to clear logging buffer entries and port counters in S-series switch.
Thanks for help!
04-26-2021 06:36 AM
Unfortunately they won’t implement new features for S-Series… May I ask why you want to clear the log? When the log is full, no new log messages are discarded, only old ones.
04-26-2021 06:26 AM
Hi guys,
04-25-2021 06:10 PM
Hi
you are right. “clear rmon stats counters <port>” only clear the information you get from “show rmon stats” but not for “show port counters”.
Depending on what
show rmon stats ge.1.36
Port: ge.1.36
--------------------
Index = 1036
Owner = monitor
Data Source = ifIndex.12036
Direction = rx+tx
Drop Events = 0 Packets = 6169453017
Collisions = 0 Octets = 1028259693948
Jabbers = 0 0 - 64 Octets = 803778607
Broadcast Pkts = 2197142963 65 - 127 Octets = 4429120673
Multicast Pkts = 3009780517 128 - 255 Octets = 403002355
CRC Errors = 0 256 - 511 Octets = 187671531
Undersize Pkts = 0 512 - 1023 Octets = 33947217
Oversize Pkts = 0 1024 - 1518 Octets = 48360221
Fragments = 0
clear rmon stats counters ge.1.36
show rmon stats ge.1.36
Port: ge.1.36
--------------------
Index = 1036
Owner = monitor
Data Source = ifIndex.12036
Direction = rx+tx
Drop Events = 0 Packets = 1392
Collisions = 0 Octets = 130397
Jabbers = 0 0 - 64 Octets = 57
Broadcast Pkts = 761 65 - 127 Octets = 1150
Multicast Pkts = 431 128 - 255 Octets = 147
CRC Errors = 0 256 - 511 Octets = 37
Undersize Pkts = 0 512 - 1023 Octets = 1
Oversize Pkts = 0 1024 - 1518 Octets = 0
04-23-2021 03:44 PM
Hey guys, we tested that command out but it looks like it just clears L1 errors. Did you find anything different Stefan?