Hi @Popeye_Wang. Below are the ip accounting configuration.
#
ip accounting timeout 1440
ip accounting matched-threshold 4096
ip accounting mismatched-threshold 4096
#
interface GigabitEthernet0/0/1
description LAN
ip address 10.160.3.1 255.255.255.252
ospf network-type p2p
ospf enable 1 area 0.0.0.160
ip accounting output-packets
#
<R1>display ip accounting output-packets mismatched top
Source Destination Protocol Packets Bytes Age(Unit:Min)
10.195.95.75 10.160.2.31 6 3020 4271870 644245
10.195.95.75 10.160.2.31 17 200 22894 644245
10.195.95.76 10.160.2.31 17 104 11448 644245
10.4.4.84 10.160.2.31 6 28 4040 644245
.
.
After 30 seconds...
.
.
<R1>display ip accounting output-packets mismatched top
Source Destination Protocol Packets Bytes Age(Unit:Min)
10.195.95.75 10.160.2.31 6 778 1077706 644245
10.195.95.76 10.160.2.31 17 46 5557 644245
10.195.95.75 10.160.2.31 17 41 4914 644245
10.5.71.22 10.160.2.31 6 28 4040 644245
No error or logs of ip accounting resetting.