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

CX311 Switch Module V100R001C00 User Guide 22

This document describes the CX311 10GE / FCoE converged switch module of the Tecal E9000 server in terms of its features, installation, removal, and configuration.
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

Scenarios

Add a user in the CX311 converged switching plane. The new user can log in to the converged switching plane CLI to carry out routine maintenance.

Table 4-7 describes the command levels of the converged switching plane.

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 CX110 and CX31x Series Switch Modules V100R001C00 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, commands of the file system, FTP, and Trivial File Transfer Protocol (TFTP), and commands for switching configuration files, managing users, setting command levels, setting internal system parameters, as well as debugging commands for diagnosing service faults.

Prerequisites

Data

Table 4-8 Required data

Name

User Name and Password Example

Permission Example

converged switching plane

  • User name: user123
  • Password: Huawei12#$

Configuration level

Procedure

  1. Log in to the converged switching plane CLI.
  2. On the converged switching plane CLI, 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.

  3. Go to the AAA view.

    [~HUAWEI] aaa

  4. Add a local user on the converged 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.

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

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

  6. Set the user access type.

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

    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. Exit the system view.

    [~HUAWEI] quit

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

    <HUAWEI> save

Translation
Download
Updated: 2018-09-20

Document ID: EDOC1000018097

Views: 60236

Downloads: 3389

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