Solved

command "logging persistent size 100000000 filesize 200000" in ASR1K

Posted on 2016-11-07
5
20 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 26

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 26

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 26

Expert Comment

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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Wireless WAP School 4 54
Cisco 2960 Vlan create. 3 49
Setting up WiFi for web access only, using a VLAN 1 46
1 WAN to 2 LAN 4 61
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now