log-alert-show

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

Syntax   log-alert-show

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

The timestamp for the log file.

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

The start time for the log file.

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

The end time for the log file.

duration duration: #d#h#m#s

The duration of the log file.

interval duration: #d#h#m#s

The intervals that alerts occurred in the duration.

since-start

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

Name of the switch collecting the alert data.

port port-number


code code-number

The code number of the alert.

name name-string

The program name.

Defaults   None

Access   CLI

History  

Version 2.0

Command introduced.

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

Examples  Below is a sample output from an NRU03 platform:

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


time     port code   name                    count last-message

-------- ---- ------ ----------------------- ----- ----------------------------

10:13:28 0    320013 hwmon_watt_sensor_fault 1     power sensor PSU1_POUT fault

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south