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

CX912 Switch Module V100R001C10 User Guide 17

This document describes the CX912 multi-plane switch module (CX912 for short) of the Tecal E9000 server in terms of its features, installation, removal, and configuration. This document applies to the CX912 whose 10GE switching planes use the software versions of 1.2.1.0.39, 2.00 and later.
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).
Adding a User

Adding a User

Add a user account and allocate operation permissions to it based on actual requirements.

Scenarios

Add a user in the 10GE switching plane of the CX912. The new user can log in to the command-line interface (CLI) of the 10GE switching plane to carry out routine maintenance.

Table 4-7 Command levels

Command Level

Level Name

Description

0

Visit level

Network diagnosis tool commands (such as ping and tracert) and external device access commands

1

Monitoring level

System maintenance commands, such as display.

NOTE:

Not all display commands are on the monitoring level. For details about the command levels, see the CX11x&CX31x&CX710&CX91x Series Switch Modules V100R001C10 Command Reference.

2

Configuration level

Service configuration commands, including router commands and the commands at different network layers. The commands are used to provide direct network services to users.

3 to 15

Management level

Commands of the management level are used for basic system running to support services, for example, file system commands, FTP commands, Trivial File Transfer Protocol (TFTP) commands, commands for switching configuration files, commands for managing users, commands for setting command levels, commands for setting internal system parameters, and debugging commands for diagnosing service faults.

Prerequisites

Conditions

You have logged in to the 10GE switching plane command-line interface (CLI).

Data

Table 4-8 Required data

Name

User Name and Password Example

Permission Example

10GE switching plane

  • User name: user123
  • Password: Huawei12#$

Configuration level

Procedure

  1. On the CLI of the 10GE switching plane, run the following command to go to the system view:

    <HUAWEI> system-view

    The command output is as follows:

    Enter system view, return user view with return command.

  2. Go to the AAA view.

    [~HUAWEI] aaa

  3. Add a local user on the 10GE switching plane.

    local-user User name password irreversible-cipher Password

    For example, run the following command to set the user name to user123 and the password to Huawei12#$ in cipher text:

    [~HUAWEI-aaa] local-user user123 password irreversible-cipher Huawei12#$ 
    Info: A new user is added.
    NOTE:

    The user name must contain at least six characters.

  4. Set the level of the user user123 to 2.

    [~HUAWEI-aaa] local-user user123 level 2

  5. Set the user access type.

    local-user User name service-type { [ terminal | telnet | ftp | ssh ] * | all }

  6. For example, if you want to set the access type of user user123 to SSH, run the following command:

    [~HUAWEI-aaa] local-user user123 service-type ssh

  7. Submit the configuration.

    [~HUAWEI-aaa] commit

  8. Query information about all users and check that the new user is successfully created.

    [~HUAWEI-aaa] display aaa local-user

    The command output is as follows:

    [~HUAWEI-aaa] display aaa local-user 
     
    Type: F - Ftp, T - Telnet, M - Terminal, S - Ssh, N - Snap, X - Dotlx 
    ----------------------------------------------------------------------- 
    Username     State  Type  Access-limit Online Admin-level User-group-id 
    ----------------------------------------------------------------------- 
    root         Active  S            --     0            3           -- 
    user123      Active  S            --     0            2           -- 
    ----------------------------------------------------------------------- 
    [~HUAWEI-aaa]     

  9. Exit the AAA view.

    [~HUAWEI-aaa] quit

  10. Quit the system view.

    [~HUAWEI] quit

  11. Run the save command and enter y as prompted to save configuration data.

    <HUAWEI> save

Translation
Download
Updated: 2018-09-20

Document ID: EDOC1000036343

Views: 34718

Downloads: 1941

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