User guide
E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
18-9
L
OGGING
L
OCAL
L
OGGING
The switch maintains 1,000 messages in its internal log. You can display a snapshot of
the log at any time by using the command
show log {<priority>}
where the following is true:
•
priority
— Filters the log to display message with the selected priority or higher
(more critical). Priorities include (in order) critical, emergency, alert, error, warning,
notice, info, and debug. If not specified, all messages are displayed.
R
EAL-TIME DISPLAY
In addition to viewing a snapshot of the log, you can configure the system to maintain a
running real-time display of log messages on the console. To turn on the log display,
enter the following command:
enable log display
To configure the log display, use the following command:
config log display {<priority>}
If
priority
is not specified, only messages of critical priority are displayed.
If you enable the log display on a terminal connected to the console port, your settings
will remain in effect even after your console session is ended (unless you explicitly
disable the log display).
When using a Telnet connection, if your Telnet session is disconnected (because of the
inactivity timer, or for other reasons), the log display is automatically halted. You must
restart the log display by using the
enable log display
command.
R
EMOTE
L
OGGING
In addition to maintaining an internal log, the switch supports remote logging by way
of the UNIX syslog host facility. To enable remote logging, do the following:
• Configure the syslog host to accept and log messages.
• Enable remote logging by using the following command:
enable syslog