Ruijie Community

Title: How to record the user information and commands on switch? [Print this page]

Author: GTAC-Sophia    Time: 2023-1-30 16:54
Title: How to record the user information and commands on switch?
Ruijie(config)#logging userinfo  command-log
Apr  2 201103:24:31.779: %LOGIN-5-LOGIN_SUCCESS: User login from vty0(192.168.51.64) OK.
*Aug  9 10:59:17: %SYS-5-CONFIG_I:Configured from console by console
*Aug  9 10:59:46: %CLI-5-EXEC_CMD:Configured from console command: router ospf 1
*Aug  9 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.





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2