H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7

Event Log Configuration
Displaying the Event Log
59272-00 C 105
The following is an example of the Show Log command:
H3C #> show log
[1][Fri Jan 07 02:07:56.068 UTC 2000][I][8400.0023][Switch][Successful login user
(admin@OB-session8) with admin privilege from address 10.20.32.223-3852]
[2][Fri Jan 07 02:07:56.069 UTC 2000][W][8400.0058][Switch][User (admin) is using
their initial/default password]
[3][Fri Jan 07 02:08:38.179 UTC 2000][I][8400.0023][Switch][Successful login user
(admin@OB-session9) with admin privilege from address 10.20.32.146]
[4][Fri Jan 07 02:08:38.180 UTC 2000][W][8400.0058][Switch][User (admin) is using
their initial/default password]
[5][Fri Jan 07 02:09:39.793 UTC 2000][I][8400.0023][Switch][Successful login user
(admin@OB-session10) with admin privilege from address 10.20.32.223-3862]
[6][Fri Jan 07 02:09:39.795 UTC 2000][W][8400.0058][Switch][User (admin) is using
their initial/default password]
[7][Fri Jan 07 02:17:10.205 UTC 2000][C][8400.002A][Switch][User (admin) attempted
to log into switch with an incorrect password from 10.20.32.223]
You can also filter the event log display with the Show Log Display command and
customize the messages that display automatically in the output stream.
Filtering the Event Log Display
Controlling Messages in the Output Stream
Filtering the Event Log Display
You can customize what events are displayed according to the component or
severity level. Enter the Show Log Display command to filter the events in the
display. You can choose from the following severity levels and component events:
Informative events
Warning events
Critical events
Port events
Switch management events
Simple Network Management Protocol (SNMP) events
The following example filters the event log display for critical events.
H3C #> show log display critical
Controlling Messages in the Output Stream
Enter the Set Log Display command to specify the severity level filter to use to
determine what messages are automatically displayed on the screen when they
occur. Alarms are always included in the output stream. The following example
includes warning and critical level messages in the output stream:
H3C (admin) #> set log display warn