display line
Use display line to display user line information.
Syntax
display line [ number1 | { aux | vty } number2 ] [ summary ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
number1: Specifies the absolute number of a user line. The value range is 0 to 65 in standalone mode and 0 to 71 in IRF mode.
aux: Specifies the AUX line.
vty: Specifies the VTY line.
number2: Specifies the relative number of a user line. The value ranges are as follows:
AUX line—0 to 1 in standalone mode and 0 to 7 in IRF mode.
VTY line—0 to 63.
summary: Displays summary information about user lines. If you do not specify this keyword, the detailed information is displayed.
Examples
# Display user line information.
<Sysname> display line 1 Idx Type Tx/Rx Modem Auth Int F 1 AUX 1 9600 - N - + : Line is active. F : Line is active and in async mode. Idx : Absolute index of line. Type : Type and relative index of line. Auth : Login authentication mode. Int : Physical port of the line. A : Authentication use AAA. N : No authentication is required. P : Password authentication.
Table 2: Command output
Field | Description |
---|---|
Modem | Whether the modem allows calling in or out. By default, this attribute is not configured and a hyphen (-) is displayed. |
# In IRF mode, display summary information about all user lines.
<Sysname> display line summary Line type : [AUX] 0:XUXX XXXX Line type : [VTY] 8:UUXU UUUU UXXX XXXX 24:XXXX XXXX XXXX XXXX 40:XXXX XXXX XXXX XXXX 56:XXXX XXXX XXXX XXXX 9 lines used. (U) 63 lines not used. (X)
Table 3: Command output
Fields | Description |
---|---|
number:status | The number indicates the absolute number of the first user line of the user line class. The status indicates whether or not the user lines are being used (X for unused and U for used). For example, if "0:XUXX XXXX" is displayed, the user line class has eight user lines. The user lines use the absolute numbers 0 through 7. User line 1 is being used, and the others are not. |