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:

This command is an older version of the line class command. It is reserved for backward compatibility purposes. It has the same functionality and output as the line class command. As a best practice, use the line class command.

Examples

# Set the CLI connection idle-timeout timer to 15 minutes in VTY line class view.

<Sysname> system-view
[Sysname] user-interface class vty
[Sysname-line-class-vty] idle-timeout 15

# In AUX line class view, configure character s as the shortcut key for starting a terminal session.

<Sysname> system-view
[Sysname] user-interface class aux
[Sysname-line-class-aux] activation-key s
[Sysname-line-class-aux] quit

# In AUX 0 line view, restore the default shortcut key for starting a terminal session.

[Sysname] user-interface aux 0
[Sysname-line-aux0] undo activation-key

Alternatively:

[Sysname-line-aux0] activation-key 13

To verify the configuration:

  1. Exit the console session.

    [Sysname-line-aux0] return
    <Sysname> quit
    
  2. Log in again through the AUX line.

    The following message appears:

    Press ENTER to get started.
    
  3. Press Enter.

    Pressing Enter does not start a session.

  4. Enter s.

    A terminal session is started.

    <Sysname>
    

Related commands

user-interface