cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
975
Views
0
Helpful
1
Replies
tsiemers1
Beginner

Logging archive -- Creation upon failure

I am implementing logging archive on ios-xr with the following config:

 

logging archive
 device harddisk
 severity emergencies
 file-size 300
 frequency daily
 archive-size 300
 archive-length 1
!

My questions is can you test this on the fly instead of waiting for the daily frequency? Also does this create a file in the event of failure, lets say power or a system critical error? I'm hoping that in the event of a crash it would create the archive for review.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
tkarnani
Cisco Employee

Hi

 

My questions is can you test this on the fly instead of waiting for the daily frequency?

>> This option does not exist, will have to wait for the timer set

 

Also does this create a file in the event of failure, lets say power or a system critical error?

>> Process crash, no (possible with eem script? to trigger a "show log | file ... " but not by default)

>> Kernel crash, the kernel dump tries to capture some show log, but not always successful

>> power outage, in general we will need to depend on syslog server

 

Working in TAC, we depend on show log, syslogs for this type of situation.

Thanks

 

View solution in original post

1 REPLY 1
tkarnani
Cisco Employee

Hi

 

My questions is can you test this on the fly instead of waiting for the daily frequency?

>> This option does not exist, will have to wait for the timer set

 

Also does this create a file in the event of failure, lets say power or a system critical error?

>> Process crash, no (possible with eem script? to trigger a "show log | file ... " but not by default)

>> Kernel crash, the kernel dump tries to capture some show log, but not always successful

>> power outage, in general we will need to depend on syslog server

 

Working in TAC, we depend on show log, syslogs for this type of situation.

Thanks

 

View solution in original post

Content for Community-Ad

This widget could not be displayed.