GTAC-Sophia Publish time 2023-1-30 16:54:07

How to record the user information and commands on switch?

Ruijie(config)#logging userinfocommand-log
Apr2 201103:24:31.779: %LOGIN-5-LOGIN_SUCCESS: User login from vty0(192.168.51.64) OK.
*Aug9 10:59:17: %SYS-5-CONFIG_I:Configured from console by console
*Aug9 10:59:46: %CLI-5-EXEC_CMD:Configured from console command: router ospf 1
*Aug9 10:59:47: %CLI-5-EXEC_CMD:Configured from console command: exit
After the user logs in to the CLI can view the login information of the user's VTY/console link and the commands that the user has executed. The show logging function also shows that the information has been saved to the log file.
Pages: [1]
View full version: How to record the user information and commands on switch?