23
The output shows that when the device serves as a client, the source IPv4 address for sending Telnet
packets is 1.1.1.1.
display user-interface
Use
display user-interface
to display information about the specified or all user interfaces.
Syntax
display user-interface
[
num1
| {
aux
|
vty
}
num2
] [
summary
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
num1
: Specifies the absolute number of a user interface, in the range of 0 to 44.
aux
: Specifies the AUX user interface.
vty
: Specifies the VTY user interface.
num2
: Specifies the relative number of a user interface, in the range of 0 to 9 for an AUX user interface
and 0 to 15 for a VTY user interface.
summary
: Displays summary about user interfaces.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If the
summary
keyword is not included, the command displays the type of the user interface, the
absolute or relative number, the transmission rate, the user privilege level, the authentication mode, and
the access port.
If the
summary
keyword is included, the command displays all user interface numbers and types.
Examples
# Display information about user interface 0.
<Sysname> display user-interface 0
<Sysname>display user-interface 3
Idx Type Tx/Rx Modem Privi Auth Int
F 3 AUX 0 9600 - 3 N -
+ : Current user-interface is active.
F : Current user-interface is active and work in async mode.
Idx : Absolute index of user-interface.
Type : Type and relative index of user-interface.