08-24-2019
05:45 AM
- last edited on
09-15-2022
10:43 AM
by
Translator
Hello All,
on our Cisco 3650 switches I can easly and continiously write the syslog to the local flash file system with the command
logging file flash:systemlog 409600 informational
. But this does not work on an
ASR 1001-X router.
How can I continiously write the syslog to flash?
Thanks!
Juergen
Solved! Go to Solution.
08-24-2019
08:06 AM
- last edited on
09-15-2022
10:51 AM
by
Translator
I belive you need to use below command to work for you.
logging buffered [buffer-size | severity-level]
logging persistent [url harddisk:/directory] [size filesystem-size] [filesize logging-file-size]
08-24-2019 06:41 AM
As per IOS XE it should work, what is the version of IOS XE running on this ASR, what is the error you getting ?
below command reference :
08-24-2019
06:53 AM
- last edited on
09-15-2022
10:50 AM
by
Translator
The version is:
Cisco IOS Software [Fuji], ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.9.3, RELEASE SOFTWARE (fc2)
And here the error:
router #condig)#logging file flash:systemlog 409600 informational
^
% Invalid input detected at '^' marker.
See also help:
router (config)#logging ?
Hostname or A.B.C.D IP address of the logging host
alarm Configure syslog for alarms
buffered Set buffered logging parameters
buginf Enable buginf logging for debugging
cns-events Set CNS Event logging level
console Set console logging parameters
count Count every log message and timestamp last occurance
delimiter Append delimiter to syslog messages
discriminator Create or modify a message discriminator
dmvpn DMVPN Configuration
esm Set ESM filter restrictions
exception Limit size of exception flush output
facility Facility parameter for syslog messages
filter Specify logging filter
history Configure syslog history table
host Set syslog server IP address and parameters
message-counter Configure log message to include certain counter value
monitor Set terminal line (monitor) logging parameters
on Enable logging to all enabled destinations
origin-id Add origin ID to syslog messages
persistent Set persistent logging parameters
queue-limit Set logger message queue size
rate-limit Set messages per second limit
reload Set reload logging level
server-arp Enable sending ARP requests for syslog servers when first configured
snmp-authfail Enable logging on the message of %SNMP-3-AUTHFAIL
snmp-trap Set syslog level for sending snmp trap
source-interface Specify interface for source address in logging transactions
trap Set syslog server logging level
userinfo Enable logging of user info on privileged mode enabling
08-24-2019
08:06 AM
- last edited on
09-15-2022
10:51 AM
by
Translator
I belive you need to use below command to work for you.
logging buffered [buffer-size | severity-level]
logging persistent [url harddisk:/directory] [size filesystem-size] [filesize logging-file-size]
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide