Chapter 6: Log Commands
106 Section II: Switch Management
SHOW LOG
Syntax
show log [date=[
operator
]
date
] [time=[
operator
]
time
]
[severity=[
operator
]
severity
] [reverse[=
count
]]
[tail[=
count
]]
Parameters
operator
Specifies one of the operators: <, >, or !. See Table 11 on
page 103.
date
Specifies the date. The format is yyyy-mm-dd. When the date
parameter in not specified, the command displays log messages
with any date.
time
Specifies the systemThe format is hh:mm:ss. When the date
parameter in not specified, the command displays log messages
with any time.
severity
Specifies the severity level of log messages to be displayed. The
severity level are 0 to 7 shown in Table 10 on page 103. When the
severity parameter in not specified, the command displays log
messages with any severity level.
reverse
Specifies to display log messages in reverse date order. When the
count is not specified, all log messages are displayed.
tail
Specifies to display the specified count of the most recent log
messages. When the count is not specified, the most recent 20 log
messages are displayed.
count
Specifies the number of log messages to display.
Description
Use this command to display a list of log messages. You can specify date,
time, severity level, the number of displayed log messages, and display
order.
To stop showing log messages, type Ctrl+c.