Solved

Command "logging persistent size .... "

Posted on 2016-11-03
6
97 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Change SSH password on Cisco 4331 ISR 4 54
Cisco Anyconnect on MS Surface 12 48
port-forwarding asa 9.5 9 26
Proper Shutdown Cisco UCM on UCS C200 3 7
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…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
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…

734 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