Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

command "logging persistent size 100000000 filesize 200000" in ASR1K

Posted on 2016-11-07
5
Medium Priority
?
78 Views
Last Modified: 2016-11-08
Hi For the command "logging persistent size 100000000 filesize 200000", what do the two numbers( size 100000000 and filesize 200000) stand for? What is difference between the two? Thank you
0
Comment
Question by:eemoon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 31

Accepted Solution

by:
Predrag earned 2000 total points
ID: 41877826
100000000 bytes is maximum total space on flash for logging
maximum singe file size is 200000 bytes
So you can have total 500 files and each file can have size of 200000 bytes
500 * 200000 bytes = 100000000 bytes

Cisco article for more details Configuration Examples for SYSLOG Writing to Flash
0
 

Author Comment

by:eemoon
ID: 41878149
Thank you so much for your fast reply. you are right. The additional question is usually there is one file in there, in what situation it could has more than one file ( until 500 file) in there ?
0
 
LVL 31

Assisted Solution

by:Predrag
Predrag earned 2000 total points
ID: 41878968
Few months ago I listened to the explanation why files should have smaller size and not be one big file, I am not sure that I remembered it correctly, so handle this information with caution. :)
The point, if I remember correctly, is in overwriting old entries when log gets maximum file size. There is a problem to keep file not growing too large involved in that, and process of file rotation. In this process oldest file is getting overwritten, so typically it is better to have at least few smaller files.

Since it is similar for Juniper and Cisco XR platform (at least) - Juniper article (the first one that I found)
0
 

Author Closing Comment

by:eemoon
ID: 41879144
Very good explanation. Thank you
0
 
LVL 31

Expert Comment

by:Predrag
ID: 41879146
You're welcome.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question