upload log
ExtremeWare Software 7.3.0 Command Reference Guide 759
upload log
upload log <host name/ip> <filename> {messages [memory-buffer | nvram]}
{severity <severity> {only}} {starting [date <date> time <time> | date
<date> | time <time>]} {ending [date <date> time <time> | date <date> |
time <time>]} {match <match-expression>} {format <format>} {chronological}
Description
Uploads the current log messages to a TFTP server.
Syntax Description
Default
The following defaults apply:
• messages—memory buffer
• severity—none (displays everything stored in the target)
• starting, ending—if not specified, no timestamp restriction
• match—no restriction
• format—the format configured with the
configure log target format
command
• chronological—if not specified, show messages in order from newest to oldest
Usage Guidelines
This command is similar to the
show log
command, but instead of displaying the log contents on the
command line, this command saves the log to a file on the TFTP server you specify. For more details on
host name/ip Specifies the TFTP server.
filename Specifies the file name for the log stored on the TFTP server.
messages Specifies the location from which to display the log messages.
memory-buffer Show messages stored in volatile memory.
nvram Show messages stored in NVRAM
severity Specifies the minimum severity level to display (if the keyword only is omitted).
only Specifies that only the specified severity level is to be displayed
starting Show messages with timestamps equal to or greater than that specified
date Specifies the date, where date is <month (1-12)> / <day> {/ <year (yyyy)>}.
time Specifies the time, where time is <hour (0-23)> {: <minute (0-59)> {:
<seconds> {. <hundredths>}}}
ending Show messages with timestamps equal to or less than that specified.
match-expression Specifies a regular expression. Only messages that match the regular
expression will be displayed.
format Specifies a format to use to override the format configured for the memory
buffer.
chronological Specifies uploading log messages in ascending chronological order (oldest to
newest).