Related commands
history-command max-size
display history-command all
Use display history-command all to display all commands saved in the command history buffer for all
CLI sessions.
Syntax
display history-command all
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
The system automatically saves commands successfully executed by users to the command history buffer
for all CLI sessions. Users can view them and execute them again.
The system can save up to 1024 commands in the command history buffer. When the number of
commands reaches this limit, the earliest commands will be deleted to make room for the newly executed
commands.
The command history buffer for all CLI sessions is not cleared when a user logs out.
Examples
# Display all commands saved in the command history buffer for all CLI sessions.
<Sysname> display history-command all
Date
01/01/2011 02:43:49 vty0
Cmd:dis history-command all
01/01/2011 02:42:36 vty0
Cmd:sys
Related commands
display history-command
display hotkey
Use display hotkey to display hotkey information.
Syntax
display hotkey
Views
Any view
Time
Terminal
Ip
User
192.168.0.202
**
192.168.0.202
**
7