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

Configuration Guide - Basic Configuration

S1720, S2700, S5700, and S6720 V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
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).
Typical Operations After Login

Typical Operations After Login

Displaying Online Users

After logging in to a device, you can view user login information of each user interface.

Run the display users [ all ] command to view the user login information of user interfaces.

Clearing Online Users

You can disconnect an online user from a device by clearing the user on the corresponding user interface.

  1. Run the kill user-interface { ui-number | ui-type ui-number1 } command to clear an online user.
  2. Run the display users command to view information about login users on a device.

Setting a Password for Switching User Levels

To run commands of levels higher than your user level, you need to switch to a higher user level and set a password.
  1. Run the system-view command to enter the system view.
  2. Run the super password [ level user-level ] [ cipher password ] command to set a password for switching user levels.
On networks that do not require high security, you can disable complexity check for passwords used to switch a user from a low user level to a higher one.
  1. Run the system-view command to enter the system view.
  2. Run the super password complexity-check disable command to disable complexity check for passwords used to switch a user from a low user level to a higher one.
    NOTE:

    For device security purposes, do not disable the password complexity check function and change the password periodically.

Switching User Levels

You need to enter a password when switching from a low user level to a higher one.
  1. Run the super [ level ] command to switch to a higher user level.
  2. Enter the password as prompted.

    If the password is correct, you will switch to a higher user level. If you enter incorrect passwords three consecutive times, the system returns to the user view and the user level remains unchanged.

    NOTE:

    If a user is switched to a higher user level using the super command, the system generates a trap and records the event in a log. If a user is switched to a lower user level, the system only records the event in a log.

    Huawei switches use the combination of user name, password, and level to control users' operation rights. If you use the super command to switch user levels, this right control method will become invalid. Moreover, any user can use the super password of a higher level to obtain high-level operation rights. Therefore, you are not advised to use the super command to switch user levels.

Locking Configuration Rights

When multiple users log in to the system to perform configurations at the same time, conflicts may occur. To avoid service exceptions, you can configure exclusive configuration rights to ensure that only one user can perform configurations at a time.

  1. Run the configuration exclusive command to lock configuration rights for the current user.

    After you run the command, the configuration rights are exclusive to the current user and other users do not have configuration rights.

    This command applies to all views.

    If configuration rights are locked, a message is displayed when you attempt to lock the configuration rights again.

    NOTE:

    Run the display configuration-occupied user command to check information about the user for whom configuration rights are locked.

  2. Run the system-view command to enter the system view.

  3. (Optional) Run the configuration-occupied timeout timeout-value command to set the timeout period for locking configuration rights.

    This command specifies the maximum period for locking configuration rights when no configuration command is issued. After the specified period times out, the system automatically unlocks the configuration rights and other users can perform configurations.

    The default timeout period is 30 seconds.

Sending Messages to Other User Interfaces

You can send messages from the current user interface to other user interfaces.

  1. Run the send { all | ui-number | ui-type ui-number1 } command to enable message exchange between user interfaces.
  2. Enter the message to send as prompted. Press Ctrl+Z or Enter to end message input and press Ctrl+C to end the current operation.
  3. At the system prompt, choose Y to send the message and N to cancel message sending.

Locking a User Interface

When you need to temporarily leave the operation terminal, lock the user interface to prevent unauthorized users from operating the terminal.

  1. Run the lock command to lock the user interface.
  2. Enter the lock password and confirm password as prompted.
    <HUAWEI> lock
    Please configure the login password (8-16)
    Enter Password:
    Confirm Password:
    Info: The terminal is locked.

    After you run the lock command, the system prompts you to enter the lock password and confirm password. If the two passwords are the same, the current interface is locked successfully.

    By default, the minimum length of passwords in plain text allowed by a device is 8 characters. You can set a longer password to increase password complexity and improve device security. Run the set password min-length length command to set the minimum length of passwords in plain text allowed by the device.

    To unlock the user interface, you must press Enter and enter the correct login password as prompted.

Executing User-View Commands in the System View

Some commands need to be executed in the user view. To execute these commands, you need to enter the user view. To facilitate user-view command execution, you can perform the following configuration. After the configuration is complete, you can execute user-view commands directly in the system view, without the need to switch views.

  1. Run the system-view command to enter the system view.
  2. Run the run command-line command to allow the execution of user-view commands in the system view.

    By default, the system does not allow the execution of user-view commands in the system view.

Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178166

Views: 270367

Downloads: 1991

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