HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

7
Examples
# Display all commands saved in the command history buffer for your 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.
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.
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:dis his all
03/16/2012 20:03:29 vty0 192.168.1.26 **
Cmd:sys
Related commands
display history-command
display hotkey
Use display hotkey to display hotkey information.