Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Command "logging persistent size .... "

Posted on 2016-11-03
6
Medium Priority
?
201 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
Industry Leaders: 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!

 

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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

963 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