cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1724
Views
0
Helpful
9
Replies

Pesistent Logging Configuration

Cisco Freak
Level 4
Level 4

 

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

9 Replies 9

Hi 

Try with 

logging persistent url sup-bootdisk:/Log 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

It didn't work.

 

switch(config)#logging persistent url sup-bootdisk:/Log 
%No "disk0:/sup-bootdisk:/Log" installed

Do you see something on that location?

show sup-bootdisk:

or try using the sup-bootflash:




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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

 

Any help would be appreciated!

Hello,

on a side note, did you configure 'logging buffered' before entering the persistent commands ?

I did. The device is running buffered logging and remote syslog as well.

what is your IOS?




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

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

Review Cisco Networking for a $25 gift card