Specifications

322 ExtremeWare XOS 10.1 Command Reference Guide
Commands for Status Monitoring and Statistics
upload log
upload log <ipaddress> <filename> {messages [memory-buffer | nvram] {events
{<event-condition> | <event_component>}}} {<severity> {only}} {starting
[date <date> time <time> | date <date> | time <time>]} {ending [date <date>
time <time> | date <date> | time <time>]} {match <regex>} {chronological}
Description
Uploads the current log messages to a TFTP server.
Syntax Description
Default
The following defaults apply:
messagesmemory buffer
severitynone (displays everything stored in the target)
starting, endingif not specified, no timestamp restriction
matchno restriction
chronologicalif not specified, show messages in order from newest to oldest
ipaddress Specifies the ipaddress of 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
events Show event messages.
event-condition Specifies the event condition to display.
event-component Specifies the event component to display.
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.
regex Specifies a regular expression. Only messages that match the regular
expression will be displayed.
chronological Specifies uploading log messages in ascending chronological order (oldest to
newest).