784
ExtremeWare 7.7 Command Reference Guide
Commands for Status Monitoring and Statistics
save log
save log file ascii <local-filespec> {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
Saves the current log messages to the local file system.
Syntax Description
Default
The following defaults apply:
•
messages—memory buffer
•
severity—informational severity messages and higher
•
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 local file. For more details on most of the options of this
command, see the command
show log
on page 791, and for the
format
option see the command
configure log target format
on page 696.
local-filespec
Specifies the local file name for storing the log.
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>}}}
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).
Summary of Contents for ExtremeWare 7.7
Page 60: ...60 ExtremeWare 7 7 Command Reference Guide Contents ...
Page 72: ...72 ExtremeWare 7 7 Command Reference Guide Command Reference Overview ...
Page 404: ...404 ExtremeWare 7 7 Command Reference Guide VLAN Commands ...
Page 472: ...472 ExtremeWare 7 7 Command Reference Guide QoS Commands ...
Page 492: ...492 ExtremeWare 7 7 Command Reference Guide NAT Commands ...
Page 890: ...890 ExtremeWare 7 7 Command Reference Guide Security Commands ...
Page 1130: ...1130 ExtremeWare 7 7 Command Reference Guide Security Commands ...
Page 1164: ...1164 ExtremeWare 7 7 Command Reference Guide Configuration and Image Commands ...
Page 1436: ...1436 ExtremeWare 7 7 Command Reference Guide Wireless Commands ...
Page 1490: ...1490 ExtremeWare 7 7 Command Reference Guide EAPS Commands ...
Page 1576: ...1576 ExtremeWare 7 7 Command Reference Guide ESRP Commands ...
Page 1774: ...1774 ExtremeWare 7 7 Command Reference Guide IP Unicast Commands ...
Page 1914: ...1914 ExtremeWare 7 7 Command Reference Guide IGP Commands ...
Page 2000: ...2000 ExtremeWare 7 7 Command Reference Guide BGP Commands i Series Switches Only ...
Page 2140: ...2140 ExtremeWare 7 7 Command Reference Guide IPX Commands i Series Platforms Only ...
Page 2156: ...2156 ExtremeWare 7 7 Command Reference Guide ARM Commands BlackDiamond Switch Only ...
Page 2168: ...2168 ExtremeWare 7 7 Command Reference Guide Remote Connect Commands ...
Page 2346: ...2346 ExtremeWare 7 7 Command Reference Guide PoS Commands BlackDiamond Switch Only ...
Page 2446: ...2446 ExtremeWare 7 7 Command Reference Guide LLDP Commands ...
Page 2496: ...2496 ExtremeWare 7 7 Command Reference Guide H VPLS Commands BlackDiamond Switch Only ...
Page 2620: ...2620 ExtremeWare 7 7 Command Reference Guide Index of Commands ...