2454
C
164: U
HAPTER
SER
display history-command
Syntax
View
Parameter
Description
Related command:
Example
display user-interface
Syntax
View
Parameter
Description
I
C
C
NTERFACE
ONFIGURATION
OMMANDS
display history-command
Any view
None
Use the
display history-command
commands that have been executed recently.
Currently, the system can display up to 256 history commands.
history-command max-size.
# Display history commands.
<Sysname> display history-command
system-view
quit
display current-configuration
display user-interface [ num1 | { aux | console | tty | vty } num2 ] [ summary ]
Any view
num1: Absolute number of a user interface. The value range varies by device, and
normally starts from 0.
num2: Relative number of a user interface, in the following rules:
For the AUX port, the value is 0.
■
For the Console port, the value is 0.
■
For TTY user interfaces, the value range varies with devices, and normally starts
■
from 1.
For VTY user interfaces, the value ranges from 0 to 4.
■
summary: Displays summary about user interfaces.
Use the
display user-interface
specified or all user interfaces.
If the summary keyword is absent, the command displays the type of the user
interface, the absolute or relative number, the speed, the user privilege level, the
authentication mode and the physical location.
command to view the valid history
command to view information about the