09-26-2017 01:02 PM - edited 03-05-2019 09:11 AM
Hello,
I am encountering this error when setting up persistent logging.
switch(config)#logging persistent url ?
disk0: Filesystem name
slavedisk0: Filesystem name
slavesup-bootdisk: Filesystem name
slavesup-bootflash: Filesystem name
sup-bootdisk: Filesystem name
sup-bootflash: Filesystem name
sw1-slot5-disk0: Filesystem name
sw1-slot5-sup-bootdisk: Filesystem name
sw1-slot5-sup-bootflash: Filesystem name
sw2-slot5-disk0: Filesystem name
sw2-slot5-sup-bootdisk: Filesystem name
sw2-slot5-sup-bootflash: Filesystem name
switch(config)#logging persistent url sup-bootdisk:Log
%No "disk0:/sup-bootdisk:Log" installed
Is there a restriction that persistent log can be configured only to disk0?
CF
09-26-2017 01:16 PM
Hi
Try with
logging persistent url sup-bootdisk:/Log
09-26-2017 02:21 PM
It didn't work.
switch(config)#logging persistent url sup-bootdisk:/Log %No "disk0:/sup-bootdisk:/Log" installed
09-26-2017 02:29 PM - edited 09-26-2017 02:31 PM
Do you see something on that location?
show sup-bootdisk:
or try using the sup-bootflash:
09-26-2017 03:28 PM - edited 09-27-2017 09:28 AM
Again no luck!
show sup-bootdisk and show sup-bootflash list the contents there successfully.
switch(config)#logging persistent url sup-bootflash:/Log %No "disk0:/sup-bootflash:/Log" installed switch(config)#logging persistent url sup-bootflash:Log %No "disk0:/sup-bootflash:Log" installed
09-27-2017 09:28 AM
Any help would be appreciated!
09-27-2017 10:04 AM
Hello,
on a side note, did you configure 'logging buffered' before entering the persistent commands ?
09-27-2017 01:09 PM
I did. The device is running buffered logging and remote syslog as well.
09-27-2017 01:25 PM
what is your IOS?
09-27-2017 01:41 PM
Hello,
it might be that your platform (which is your platform ?) does not allow writing to sup. Does the below work ?
logging persistent url disk0:/syslog size 134217728 filesize 16384
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