Got it

AR1220 ip accounting resetting statistics automatically

Created: May 30, 2019 08:04:51Latest reply: Aug 17, 2021 02:34:13 587 7 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi guys. I have a problem. The IP accounting statistics on one of my routers when I run "display ip accounting output-packets mismatched top" is resetting frequently, automatically. Sometimes it reset within 30 seconds, sometimes in a few minutes. I had tried to increase the aging timeout to 1440 minutes, but it's still happening.


I'm running VRP (R) version 5.160.

Featured Answers

Recommended answer

kois
Created Jun 4, 2019 03:43:39

Posted by user_3412987 at 2019-05-30 11:27Hi @Popeye_Wang. Below are the ip accounting configuration.# ip accounting timeout 1440 ip accountin ...
Maybe you can reset the statistics first, then observe the result. Because the age filed for all the sessions is the same.
View more
  • x
  • convention:

All Answers
The aging time of IP accounting statistics records is 720 minutes by default. In normal cases, it should not be reset in a few minutes. Can you upload the configuration and error screenshot of ip accounting? Is there any log indicating that the accounting is reset?
View more
  • x
  • convention:

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.
View more
  • x
  • convention:

Posted by user_3412987 at 2019-05-30 11:27Hi @Popeye_Wang. Below are the ip accounting configuration.# ip accounting timeout 1440 ip accountin ...
Maybe you can reset the statistics first, then observe the result. Because the age filed for all the sessions is the same.
View more
  • x
  • convention:

Posted by user_3357111 at 2019-06-04 03:43 maybe you can reset the statistics first, then observe the result. Because the age filed for all t ...
Hi. Thanks for your reply.

Yes we had already tried to reset the statistics to no avail. In fact, we removed and reconfigured the IP accounting configuration, but the output is still getting reset automatically.
View more
  • x
  • convention:

uzzi
uzzi HCIE Created Jun 16, 2019 05:32:20

Are you doing any info-center ? If not can you please try to get the information by "debugging" you can enable, debugging ip packet" and then "terminal monitor" (which is allowed by default until you do not stop) and "terminal debugging".

Once you apply above you will get the output that what actually happening with it. Appreciate if you can share the output for same and if you cannot do it on live network then I prefer you share the "display diagnostic-information" output to diagnose further here otherwise you can refer the same to TAC if you have hi-care for device AR1220 ip accounting resetting statistics automatically-2968173-1.

Thank you.

Kindest regards,
Uzair
View more
  • x
  • convention:

thanks!
View more
  • x
  • convention:

Good
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.