Solved

Command "logging persistent size .... "

Posted on 2016-11-03
6
83 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What Cisco IOS has CBAC support? 4 26
Cisco Edge Routers for BGP 6 92
Changing VLAN information 3 36
Equivalent of WSUS for Solaris, AIX and Cisco devices 11 69
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

756 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