Solved

command "logging persistent size 100000000 filesize 200000" in ASR1K

Posted on 2016-11-07
5
33 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 27

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 27

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 27

Expert Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

777 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