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 |
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. |
Specify any of the following options: |
|
program program-string |
Specifies the program type. |
pid pid-number |
Specifies the program indentifiier. |
name name-string |
Specifies the program name. |
code code-number |
Specifies 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 |
Specifies the type of event. |
vnet vnet-name |
Specifies the associated VNET. |
remote_switch node name |
Specifies the name of the remote switch. |
user user-name |
Specifies the username. |
client-pid client-pid-number |
Specifies the client program identifier. |
client-addr ip-address |
Specifies the client IP address. |
port port-number |
Specifies the port number. |
vlan vlan-id |
Specifies the VLAN identifier. |
vxlan vxlan-name |
Specifies the VXLAN identifier. |
count number |
Displays the count in a range from 1 to 50000. |
starting-point starting-point-number |
Specifies the starting point of the log audit. |
length length-number |
Specifies 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 Use this command to display information about the event log.
Examples To display information about log events, use the following command:
CLI network-admin@switch1 > log-event-show
category: event
time: 2014-06-24,15:01:08.094640-07:00
switch: switch1
program: nvOSd
pid: 1384
name: mac_ip_add
code: 11022
level: info
event-type: port
port: 10
vlan: 11
message: mac/ip address added mac=50:73:9f:e0:7f:fd ip=172.16.23.3
category: event
time: 2014-06-24,15:03:24.063484-07:00
switch: switch1
program: nvOSd
pid: 1384
name: mac_ip_add
code: 11022
level: info
event-type: port
port: 65
vlan: 11
message: mac/ip address added mac=50:73:9f:e0:7f:fd ip=172.16.23.2
category: event
time: 2014-06-24,15:26:04.863472-07:00
switch: switch1
program: nvOSd
pid: 1384
name: mac_ip_add
code: 11022
level: info