No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Console User Interface

Configuring the Console User Interface

Pre-configuration Tasks

Before configuring a console user interface, log in to the device using a terminal.

NOTE:

To log in to the device through the console interface to maintain the device locally, configure the console user interface including the physical attributes, terminal attributes, user level, and user authentication mode. Users can set these parameters based on the site requirements or retain the default values.

Procedure

You can perform the configuration operations in any sequence.

Configuring the Physical Attributes of the Console User Interface

Context

The physical attributes of the console user interface include the transmission rate, flow control mode, parity bit, stop bit, and data bit of the console interface. To log in to the device using the console interface, ensure that the attributes of the HyperTerminal are consistent with the physical attributes of the device.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    user-interface console interface-number

    The console user interface view is displayed.

  3. Run:

    speed speed-value

    The transmission rate is set.

    By default, the transmission rate is 9600 bit/s.

  4. Run:

    parity { even | none | odd }

    The parity bit is set.

    By default, the parity bit is None.

  5. Run:

    stopbits { 1.5 | 1 | 2 }

    The stop bit is set.

    By default, the stop bit is 1.

  6. Run:

    databits { 5 | 6 | 7 | 8 }

    The data bit is set.

    By default, the data bit is 8.

Configuring Terminal Attributes on the Console User Interface

Context

Users can configure terminal attributes including the timeout disconnection function, number of lines on the terminal screen, and size of the history command buffer on the console user interface.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    user-interface console interface-number

    The console user interface view is displayed.

  3. Run:

    idle-timeout minutes [ seconds ]

    The timeout disconnection function is set.

    If no operation is performed on the device before the end of the timeout period, the terminal disconnects from the device automatically.

    By default, the timeout duration is 5 minutes.

  4. Run:

    screen-length screen-length [ temporary ]

    The number of lines displayed on the terminal screen is set.

    The temporary parameter specifies the temporary number of lines displayed on the terminal screen.

    The default number of lines displayed on the terminal screen is 24.

  5. Run:

    screen-width screen-width [ temporary ]

    The number of columns displayed on the terminal screen is set.

    The temporary parameter specifies the temporary number of columns displayed on the terminal screen.

    The default number of columns displayed on the terminal screen is 132.

  6. Run:

    history-command max-size size-value

    The history command buffer is set.

    By default, the history command buffer can store up to 10 commands.

Configuring the User Level on the Console User Interface

Context

  • Users can be configured with different user levels to control the device access permission, improving device security.
  • There are 16 user levels numbered from 0 to 15, in ascending order of priorities.
  • User levels map command levels. A user can only run commands at the same or lower level.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    user-interface console interface-number

    The console user interface view is displayed.

  3. Run:

    user privilege level level

    The user level is set.

    Table 3-14 describes the mapping between user levels and command levels.

    Table 3-14  Mapping between user levels and command levels

    User Level

    Command Level

    Permission

    Description

    0

    0

    Visit

    Commands at this level are network diagnosis commands, such as ping and tracert commands, and commands used to access remote devices such as Telnet clients.

    1

    0 and 1

    Monitoring

    Commands at this level are system maintenance commands such as display commands.

    NOTE:

    Some display commands are not at this level. For example, the display current-configuration and display saved-configuration commands are at level 3. For details about command levels, see the Command Reference.

    2

    0, 1, and 2

    Configuration

    Commands at this level are used for service configuration. These commands include routing commands and commands at each network layer to provide network services to users.

    3-15

    0, 1, 2, and 3

    Management

    Commands at these levels are system basic operation commands that support services, including file system, FTP, TFTP, user management commands, command level configuration commands, and debugging commands.

    NOTE:
    • By default, users that log in to the device using the console interface can run commands at level 15.

    • If the command access level configured in the user interface view and user priority are inconsistent, user priority takes precedence.

Configuring the User Authentication Mode on the Console User Interface

Context

The system provides AAA and password authentication modes to ensure device security.

Procedure

  • Configure AAA authentication.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      user-interface console interface-number

      The console user interface view is displayed.

    3. Run:

      authentication-mode aaa

      The user authentication mode is set to AAA.

    4. Run:

      quit

      Exit from the console user interface view.

    5. Run:

      aaa

      The AAA view is displayed.

    6. Run:

      local-user user-name password irreversible-cipher password

      The local user name and password are configured.

    7. Run:

      local-user user-name service-type terminal

      The service type of the local user is set to terminal.

    8. Run:

      quit

      The user quit the AAA view.

  • Configure password authentication.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      user-interface console interface-number

      The console user interface view is displayed.

    3. Run:

      authentication-mode password

      The user authentication mode is set to password.

    4. Run:

      set authentication password cipher

      The authentication password is configured. You can enter a password in cipher text.

Checking the Configurations

Context

After configurations for the console user interface are complete, run the commands to check the configurations.

Procedure

  • ‏Run the display users [ all ] command to view user information for the user interface.
  • Run the display user-interface console ui-number [ summary ] command to view the information about the user interface.
  • Run the display local-user command to view the local user list.
  • Run the display access-user command to view online users.
Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 130140

Downloads: 312

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next