How do I Clear these counters ?
I have tried :
diagnose switch physical-ports stats clear
diagnose switch physical-ports stats clear port-stats
diagnose switch physical-ports stats clear-local port21-24
Port(port21) is Admin up, line protocol is up
Interface Type is Serial Gigabit Media Independent Interface(SGMII/SerDes)
Address is 70:4C:A5:1E:56:8E, loopback is not set
MTU 9216 bytes, Encapsulation IEEE 802.3/Ethernet-II
full-duplex, 100 Mb/s, link type is manual
input : 157121981 bytes, 594536 packets, 84 errors, 35 drops, 1 oversizes
594290 unicasts, 0 multicasts, 162 broadcasts, 0 unknowns
output : 2725563942 bytes, 21566215 packets, 0 errors, 281 drops, 713 oversizes
465662 unicasts, 10826813 multicasts, 10273740 broadcasts
25 fragments, 0 undersizes, 0 collisions, 0 jabbers
Port(port22) is Admin up, line protocol is up
Interface Type is Serial Gigabit Media Independent Interface(SGMII/SerDes)
Address is 70:4C:A5:1E:56:8F, loopback is not set
MTU 9216 bytes, Encapsulation IEEE 802.3/Ethernet-II
full-duplex, 100 Mb/s, link type is manual
input : 244637958 bytes, 996696 packets, 139386 errors, 82 drops, 2 oversizes
856871 unicasts, 172 multicasts, 267 broadcasts, 0 unknowns
output : 3837104013 bytes, 29948379 packets, 0 errors, 1096 drops, 533 oversizes
752543 unicasts, 14634155 multicasts, 14561681 broadcasts
29547 fragments, 0 undersizes, 0 collisions, 0 jabbers
Port(port23) is Admin up, line protocol is up
Interface Type is Serial Gigabit Media Independent Interface(SGMII/SerDes)
Address is 70:4C:A5:1E:56:90, loopback is not set
MTU 9216 bytes, Encapsulation IEEE 802.3/Ethernet-II
full-duplex, 100 Mb/s, link type is manual
input : 235814302 bytes, 847219 packets, 640 errors, 35 drops, 2 oversizes
846330 unicasts, 0 multicasts, 249 broadcasts, 0 unknowns
output : 4186063208 bytes, 24330777 packets, 0 errors, 219 drops, 724 oversizes
672638 unicasts, 11867860 multicasts, 11790279 broadcasts
202 fragments, 0 undersizes, 0 collisions, 0 jabbers
Port(port24) is Admin up, line protocol is up
Interface Type is Serial Gigabit Media Independent Interface(SGMII/SerDes)
Address is 70:4C:A5:1E:56:91, loopback is not set
MTU 1500 bytes, Encapsulation IEEE 802.3/Ethernet-II
full-duplex, 100 Mb/s, link type is manual
input : 253728916 bytes, 1087528 packets, 50245 errors, 86994 drops, 0 oversizes
985253 unicasts, 50524 multicasts, 1506 broadcasts, 0 unknowns
output : 5507707445 bytes, 33822455 packets, 0 errors, 4344 drops, 0 oversizes
776622 unicasts, 16337065 multicasts, 16708768 broadcasts
14031 fragments, 0 undersizes, 0 collisions, 0 jabbers
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
diagnose switch-controller trigger reset-hardware-counters <managed FortiSwitch device ID> <port_name>
For example: FG100D3G15817028 (global) # diagnose switch-controller trigger reset-hardware-counters S524DF4K15000024 1,3,port6-7
From Fortiswitch CLI you can use
diag switch physical-ports set-counter-zero port1
To revert
diag switch physical-ports set-counter-revert port1
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1733 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.