This command displays information about the log alerts on the switch.

Syntax   log-alert-show [time date/time date/time: yyyy-mm-ddThh:mm:ss [start-time date/time: yyyy-mm-ddThh:mm:ss] [end-time date/time: yyyy-mm-ddThh:mm:ss][duration duration: #d#h#m#s][interval duration: #d#h#m#s] [since-start|no-since-start] [older-than duration: #d#h#m#s] [name name-string] [code code-number] [count number]

time date/time: yyyy-mm-ddThh:mm:ss]

Displays the timestamp for the log file.

start-time date/time: yyyy-mm-ddThh:mm:ss

Displays the start time for the log file.

end-time date/time: yyyy-mm-ddThh:mm:ss

Displays the end time for the log file.

duration duration: #d#h#m#s

Displays the duration of the log file.

interval duration: #d#h#m#s

Displays the intervals that alerts occurred in the duration.


Displays alerts collected from the start.

older-than duration: #d#h#m#s

Displays alerts older than the duration.

within-last duration: #d#h#m#s

Displays alerts collected within the last duration.

switch node name

Displays the name of the switch collecting the alert data.

code code-number

Displays the code number of the alert.

name name-string

Displays the program name.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.


Display output in ascending order.


Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.


Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.


Display the number of entries in the output. This is useful with vRouter show commands.


Display full values in the output instead of scaled approximate values.


Display integer values instead of mapped values


Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   Command introduced in Version 2.0.

Usage   Use this command to display information about the alert log.

Examples  To display information about log alerts, use the following command:

CLI network-admin@switch > log-alert-show

No problems found


See Also