Displaying the Command History Entries in the MPM Log
Page 10-9

Displaying the Command History Entries in the MPM Log

The cmdlog command displays a list commands executed since User Interface (UI) facility
logging was activated by the swlogc command (described in Configuring Switch Logging on
page 10-6). To display this data, enter
cmdlog
at the system prompt. The following is a sample display.
User Line Time User Input
----------- ----------------------- --------------------------- ---------------------------
admin 198.206.187.113 08/14/00 16:42 cmdlog
admin 198.206.187.113 08/14/00 16:42 xlat
admin 198.206.187.113 08/14/00 16:43 conlog
admin console 08/15/00 10:28 logging
admin console 08/15/00 10:28 ?
admin 198.206.187.113 08/15/00 14:03 taskstat
admin 198.206.187.113 08/15/00 14:05 taskstat
The fields displayed by the cmdlog command are described below.
User. The login name of the user who executed the command.
Line. The login type of the user who executed the command. If, for example, the user was
connected through the console port, “console” will be displayed. If the user was connected
through Telnet, on the other hand, then the IP address of that user will be displayed.
Time. The time that the command was executed.
User Input. The actual text (up to 32 characters) that the user entered at the system prompt.
Note
If you just want to display the commands executed
during the current session you can use the history
command, which is described in Chapter 4, “The User
Interface.”