cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
822
Views
0
Helpful
1
Replies
Highlighted
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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Logging archive -- Creation upon failure

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

 

1 REPLY 1
Cisco Employee

Re: Logging archive -- Creation upon failure

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

 

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards