R0106-HP MSR Router Series Fundamentals Command Reference(V7)
7
Examples
# Display all commands saved in the command history buffer for the current CLI session.
<Sysname> display history-command
system-view
vlan 2
quit
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.
Up to 1024 commands can be saved in the command history buffer. When this number is reached, the
system deletes the earliest commands to make room for newly executed commands.
Examples
# Display all commands saved in the command history buffer for all CLI sessions.
<Sysname> display history-command all
Date Time Terminal Ip User
03/16/2012 20:03:33 vty0 192.168.1.26 **
Cmd: display history-command all
03/16/2012 20:03:29 vty0 192.168.1.26 **
Cmd: system-view
Related commands
display history-command
display hotkey
Use display hotkey to display hotkey information.
Syntax
display hotkey