Display History-Command - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display command keyword alias information.
<Sysname> display command-alias
Command alias is enabled
Index Alias
1
ping1
2
ssh1
Related commands
command-alias enable
command-alias mapping

display history-command

Use display history-command to display all commands that are saved in the command history buffer for
your current CLI session.
Syntax
display history-command
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
The system automatically saves commands you have successfully executed to the command history buffer
for your current CLI session. You can view them and execute them again.
By default, the system can save up to 10 commands in the buffer. You can use the history-command
max-size command to change the buffer size. When the number of commands reaches this limit, the
earliest commands will be deleted to make room for the newly executed commands.
Terminating a CLI session clears the command history buffer for the session.
Examples
# Display all commands saved in the command history buffer for your current CLI session.
<Sysname> display history-command
system-view
vlan 2
quit
Command key
ping
ssh
6

Advertisement

Table of Contents
loading

Table of Contents