cancel
Showing results for 
Search instead for 
Did you mean: 

clear log entries S-seriers

clear log entries S-seriers

Chrilau
New Contributor

Hi all, I’m looking for commands to clear logging buffer entries and port counters in S-series switch.

Thanks for help! 

7 REPLIES 7

Stefan_K_
Valued Contributor

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. 

Chrilau
New Contributor

Hi guys, 

@Stefan K. surely this can help, I didn’t know the command “show rmon stats” and “Clear...” before, so I’ll use it. Meanwhile I would find really usefull a command to “clear logging buffer” ...that is possible on X440 switch (show log/ clear log) for example but not on S 5899ec025a644869b982911768543045_1f910.png

Stefan_K_
Valued Contributor

Hi @Sam Pirok 

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 @Chrilau is looking fro this might still help him.

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

 

SamPirok
Community Manager Community Manager
Community Manager

Hey guys, we tested that command out but it looks like it just clears L1 errors. Did you find anything different Stefan? 

GTM-P2G8KFN