show log
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
669
Usage Guidelines
Switch configuration and fault information is filtered and saved to target logs, in a memory buffer, and
in NVRAM. Each entry in the log contains the following information:
●
Timestamp—records the month and day of the event, along with the time (hours, minutes, seconds,
and hundredths).
●
Severity Level—indicates the urgency of a condition reported in the log.
Table 18
describes the
severity levels assigned to events.
●
Component, Subcomponent, and Condition Name—describes the subsystem in the software that
generates the event. This provides a good indication of where a fault might lie.
●
Message—a description of the event occurrence. If the event was caused by a user, the user name is
also provided.
This command displays the messages stored in either the internal memory buffer or in NVRAM. The
messages shown can be limited by specifying a severity level, a time range, or a match expression.
Messages stored in the target have already been filtered as events occurred, and specifying a severity or
match expression on the
show log
command can only further limit the messages shown.
If the
messages
keyword is not present, the messages stored in the memory-buffer target are displayed.
Otherwise, the messages stored in the specified target are displayed.
If the
only
keyword is present following the severity value, then only the events at that exact severity
are included. Without the
only
keyword, events at that severity or more urgent are displayed. For
example, severity
warning
implies critical, error, or warning, whereas severity
warning only
implies
only warning.
Messages whose timestamps are equal or later than the starting time and are equal or earlier than the
specified ending time will be shown if they also pass the severity requirements and match expression, if
specified.
If a
match
phrase is specified, the formatted message must match the simple regular expression
specified by m
atch-expression
for it to be shown.
A simple regular expression is a string of single characters including the dot character (.), which are
optionally combined with quantifiers and constraints. A dot matches any single character while other
characters match only themselves (case is significant). Quantifiers include the star character (*) that
matches zero or more occurrences of the immediately preceding character or dot. Constraints include
the caret character (^) that matches at the beginning of a message, and the currency character ($) that
matches at the end of a message. Bracket expressions are not supported. There are a number of sources
available on the Internet and in various language references describing the operation of regular
expressions.
If the
chronological
keyword is specified, messages are shown from oldest to newest; otherwise,
messages are displayed newest to oldest.
Severity Level.
The severity levels are
critical
,
error
,
warning
,
notice
, and
info
, plus three severity
levels for extended debugging,
debug-summary
,
debug-verbose
, and
debug-data
. In log messages, the
severity levels are shown by four letter abbreviations. The abbreviated forms are:
●
Critical—Crit
●
Error—Erro
●
Warning—Warn
●
Notice—Noti