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

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 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 


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south