7
10 sirt display ip routing-table
11 write save
# Display the command alias
shinc
.
<Sysname> display alias shinc
Alias Command key
shinc display $1 | include $2
Related commands
alias
display history-command
Use
display history-command
to display all commands that are saved in the command history buffer for
the 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 the 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.
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