log-event-show

This command displays information about the log event configuration.

Syntax   log-event-show

Specify between 0, and 2 of the following options:

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.

Specify any of the following options:

program program-string

The program type.

pid pid-number

The program identifier.

name name-string

The program name.

code code-number

The code number.

level critical|error|warn|note|info

Specify one among the options as the severity level.

event-type system|port|tcp|stp|igmp|lldp|lacp|vdp|ecp|evb|ptp|storage|tacacs|mld|mroute|vport|lacp-port-event

The type of event.

vnet vnet-name

The associated vNET.

remote_switch node name

The name of the remote switch.

user user-name

The username.

client-pid client-pid-number

The client program identifier.

client-addr ip-address

The client IP address.

port port-number

The port number.

vlan vlan-id

The VLAN identifier.

vxlan vxlan-name

The VXLAN identifier.

count number

The count in a range from 1 to 50000.

starting-point starting-point-number

The starting point of the log audit.

length length-number

The length of the log audit.

reverse|no-reverse

Specifies if the log is reverse or not reverse.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.1

The event type TACACS added.

Version 2.2

The parameters starting-point, length, and reverse added.

Version 2.3.2.1

The options mld|mroute|vport added to event type.

Version 3.0.0

The options lacp-port, and lacp-port-event added.

Version 6.0.0

The parameter level added.

Usage   This command is used to display information about the event log configuration.

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

CLI (network-admin@switch)1 > log-event-show

category time                             name             code  level event-type port vlan message                                                          

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

event    2022-02-14,10:36:09.526322-08:00 adj_trunk_create 11106 info  port       19        ADJ Create Auto Trunk: port1=19 port2=20                         

event    2022-02-14,10:36:09.568790-08:00 stp_port_state   11026 info  port       272  1    STP Port State Change: port=272 vlan=1: Disabled -> Discarding   

event    2022-02-14,10:36:09.568874-08:00 stp_port_state   11026 info  port       19   1    STP Port State Change: port=19 vlan=1: Disabled -> Discarding    

event    2022-02-14,10:36:09.568928-08:00 stp_port_state   11026 info  port       20   1    STP Port State Change: port=20 vlan=1: Disabled -> Discarding    

event    2022-02-14,10:36:09.569067-08:00 stp_port_state   11026 info  port       272  20   STP Port State Change: port=272 vlan=20: Disabled -> Discarding  

event    2022-02-14,10:36:09.569128-08:00 stp_port_state   11026 info  port       19   20   STP Port State Change: port=19 vlan=20: Disabled -> Discarding   

event    2022-02-14,10:36:09.569181-08:00 stp_port_state   11026 info  port       20   20   STP Port State Change: port=20 vlan=20: Disabled -> Discarding   

event    2022-02-14,10:36:09.569491-08:00 stp_port_state   11026 info  port       272  300  STP Port State Change: port=272 vlan=300: Disabled -> Discarding 

event    2022-02-14,10:36:09.569549-08:00 stp_port_state   11026 info  port       19   300  STP Port State Change: port=19 vlan=300: Disabled -> Discarding  

event    2022-02-14,10:36:09.569598-08:00 stp_port_state   11026 info  port       20   300  STP Port State Change: port=20 vlan=300: Disabled -> Discarding  

event    2022-02-14,10:36:09.569774-08:00 stp_port_state   11026 info  port       19   1    STP Port State Change: port=19 vlan=1: Disabled -> Discarding    

event    2022-02-14,10:36:09.569847-08:00 stp_port_state   11026 info  port       19   20   STP Port State Change: port=19 vlan=20: Disabled -> Discarding   

event    2022-02-14,10:36:09.569914-08:00 stp_port_state   11026 info  port       19   300  STP Port State Change: port=19 vlan=300: Disabled -> Discarding  

event    2022-02-14,10:36:09.570164-08:00 port_up          11002 info  port       19        Port=19 up                                                     

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south