28.
Logging System Trap Messages to the NVRAM
MN700004 Rev 01
332
record>
range is
<1-65535>
.
size
(Optional) Displays the number of records in the system-message history.
status
(Optional) Displays the current trap-level status for history recording.
Examples
1. Displaying the current contents of the stored system message history:
device-name
#
show log-history nvram
tcliuart: 2002/01/01 07:02:07 errors: test error message
tcli_0: 2002/01/01 07:02:43 errors: test error message
tcli_0: 2002/01/01 07:03:00 errors: test error message
tcliuart: 2002/01/01 07:04:09 errors: test error message
tcliuart: 2002/01/01 07:04:20 errors: test error message
tcli_0: 2002/01/01 07:04:52 errors: test error message
tcli_0: 2002/01/01 07:05:13 errors: test error message
ttftptask: 2002/01/01 07:45:05 errors: transfer timed out.
ttftptask: 2002/01/01 07:45:07 errors: tftpget: error occurred while
transferring the file.
ttftptask: 2002/01/01 07:56:23 errors: transfer timed out.
ttftptask: 2002/01/01 07:56:23 errors: tftpget: error occurred while
transferring the file.
tcliuart: 2002/01/01 08:08:11 : test emergency message
tcliuart: 2002/01/01 08:10:17 : test emergency message
tcliuart: 2002/01/01 08:10:22 : test alert message
tcliuart: 2002/01/01 08:10:31 : test critical message
tcliuart: 2002/01/01 08:10:40 : test error message
tcliuart: 2002/01/01 08:01:00 : test emergency message
tcliuart: 2002/01/01 08:01:06 : test alert message
tcliuart: 2002/01/01 08:01:11 : test critical message
tcliuart: 2002/01/01 08:01:17 : test error message
2. Displaying the current trap-level status for recording history.
device-name
#
show log-history status
Trap level of log history is errors (priority 3)