Solved

Command "logging persistent size .... "

Posted on 2016-11-03
6
56 Views
Last Modified: 2016-11-04
Hi Anyone can explain the difference between below commands in asr1k? Thank you in advance

logging persistent url harddisk:/syslog size 10000000 filesize 1000000

logging persistent size 10000000 filesize 1000000
0
Comment
Question by:eemoon
  • 3
  • 3
6 Comments
 
LVL 14

Expert Comment

by:SIM50
ID: 41874030
Both commands enable saving messages to a disk. The difference is that one specifies where to save them and the other doesn't.
0
 

Author Comment

by:eemoon
ID: 41874088
Thank you so much for your fast reply. But the first one uses "syslog", does that means the same thing with logging?
0
 
LVL 14

Expert Comment

by:SIM50
ID: 41874104
syslog is just the name of the directory where to save logs.
logging persistent url disk0:/syslog size 10000000 filesize 1000000
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:eemoon
ID: 41874226
You are right. Thank you so much. why do we use url in the command "logging persistent url disk0:/syslog size 10000000 filesize 1000000"?
and where is the saving location for the command "logging persistent size 10000000 filesize 1000000"?
0
 
LVL 14

Accepted Solution

by:
SIM50 earned 500 total points
ID: 41874257
why do we use url in the command "logging persistent url disk0:/syslog size 10000000 filesize 1000000"?
This questions is probably best answered by Cisco IOS developers why they choose this specific keyword.

and where is the saving location for the command "logging persistent size 10000000 filesize 1000000"?
Just tested it on my ASR. If you don't specify the location, it saved my logs to flash:/bootflash/syslog

Edit: Changed tags for your question.
0
 

Author Comment

by:eemoon
ID: 41874295
Great! Thank you so much
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

Suggested Solutions

If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
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…

809 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