Solved

command "logging persistent size 100000000 filesize 200000" in ASR1K

Posted on 2016-11-07
5
37 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
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
Predrag Jovic earned 500 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 28

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 500 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 28

Expert Comment

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
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…

685 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