log-session-show
This command displays session log information.
Syntax log-session-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 |
Displays 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 6.0.0 |
The parameter level added. |
Usage Use this command to display information about the session log.
Examples To display information about log events, use the following command:
CLI (network-admin@switch1) > log-session-show
category time name code level user client-addr message
-------- -------------------------------- ------ ----- ----- ------------- ------------ -------
session 2021-01-16,00:40:23.525410-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-16,00:40:30.266126-08:00 logout 11100 info network-admin 10.140.0.243 logout
session 2021-01-16,00:40:31.716202-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-16,00:46:49.981397-08:00 logout 11100 info network-admin 10.140.0.243 logout
session 2021-01-16,00:47:10.044128-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-16,00:47:21.662696-08:00 logout 11100 info network-admin 10.140.0.243 logout
session 2021-01-16,00:48:01.324399-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-16,00:48:18.458754-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-16,00:48:22.865170-08:00 logout 11100 info network-admin 10.140.0.243 logout
session 2021-01-16,00:49:46.237315-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-16,00:55:44.239227-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-16,01:01:01.758368-08:00 logout 11100 info network-admin 10.140.0.243 logout
session 2021-01-16,02:01:11.991085-08:00 login 11099 info network-admin 10.13.44.34 login
session 2021-01-16,02:01:37.155399-08:00 logout 11100 info network-admin 10.13.44.34 logout
session 2021-01-16,02:01:45.877829-08:00 login 11099 info network-admin 10.13.44.34 login
session 2021-01-16,02:02:01.817602-08:00 logout 11100 info network-admin 10.13.44.34 logout
session 2021-01-17,22:42:19.380620-08:00 login 11099 info network-admin 10.140.0.243 login
session 2021-01-17,22:42:21.831851-08:00 logout 11100 info network-admin 10.140.0.243 logout
session 2021-01-18,06:18:59.680515-08:00 login 11099 info network-admin 10.140.0.159 login
session 2021-01-18,08:30:39.773671-08:00 logout 11100 info network-admin 10.140.0.159 logout
session 2021-01-18,18:43:46.545491-08:00 login 11099 info network-admin 10.140.0.159 login