Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring System Message Logging (Rev. 03)
System Message Logging
© 2008 Foundry Networks, Inc.
Page 14 of 22
Argument Description
first
<
number-of-
records
>
(Optional). Displays the specified number of stored trap-messages,
starting at the oldest existing record. The range is <1-65535>.
last
<
number-of-
records
>
(Optional). Displays the latest specified number of stored trap-
messages. The range is <1-65535>.
size
(Optional). Displays the number of records in the system-message
history.
status
(Optional). Displays the status of recording.
Example
device-name
#
show log nvram-history
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
Clearing the NVRAM Trap Log
The
clear log
command, in Privileged (Enable) mode, clears all memory buffer contents or all
system trap-messages from the NVRAM.
Command Syntax
device-name
#
clear log
[
buffer
|
nvram-history
]
Argument Description
buffer
(Optional). Clears the memory buffer contents.
nvram-history
(Optional). Clears the system trap-messages from the NVRAM.