46
last-number2
: Specifies the relative number of the last user line. This number cannot be smaller than
first-number2
.
Usage guidelines
To configure settings for a single user line, use this command to enter the user line view.
To configure the same settings for multiple user lines, use this command to enter multiple user line
views.
This command is an older version of the
line
command. It is reserved for backward compatibility
purposes. It has the same functionality and output as the
line
command. As a best practice, use the
line
command.
Examples
# Enter the view of user line AUX 0.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-line-aux0]
# Enter the views of user lines VTY 0 to VTY 4.
<Sysname> system-view
[Sysname] user-interface vty 0 4
[Sysname-line-vty0-4]
Related commands
user-interface class
user-interface class
Use
user-interface class
to enter user line class view.
Syntax
user-interface class
{
aux
|
vty
}
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
aux
: Specifies the AUX line class view.
vty
: Specifies the VTY line class view.
Usage guidelines
To configure the same settings for all user lines of a line class, use this command to enter the user
line class view.
Some login management commands are available in both user line view and user line class view:
•
A setting in user line view is applied only to the user line. A setting in user line class view is
applied to all user lines of the class.
•
A non-default setting in either view takes precedence over a default setting in the other view. A
non-default setting in user line view takes precedence over a non-default setting in user line
class view.