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

S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.
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).
Setting a User Level

Setting a User Level

When password authentication or none authentication is used, use the following method to set a user level. Take the VTY user interface as an example.

<HUAWEI> system-view
[HUAWEI] user-interface vty 0
[HUAWEI-ui-vty0] user privilege level 15  //Set the user level to 15 for the VTY 0 user interface.
When AAA authentication is used, use the following methods (in descending order of priorities) to set a user level. Take the VTY user interface as an example.
  • Set a user level for a single user.

    <HUAWEI> system-view
    [HUAWEI] aaa
    [HUAWEI-aaa] local-user user1 privilege level 15  //Set the user level of user1 to 15.
    
  • Set a user level for all users in a domain.

    <HUAWEI> system-view
    [HUAWEI] aaa
    [HUAWEI-aaa] service-scheme sch1
    [HUAWEI-aaa-service-sch1] admin-user privilege level 15  //Set the user level to 15.
    [HUAWEI-aaa-service-sch1] quit
    [HUAWEI-aaa] domain domain1
    [HUAWEI-aaa-domain-domain1] service-scheme sch1  //Bind the service scheme sch1 to domain1.
    
  • Set a user level for all users who log in through a specified user interface.

    <HUAWEI> system-view
    [HUAWEI] user-interface maximum-vty 15  //Set the maximum number of VTY user interfaces to 15.
    [HUAWEI] user-interface vty 0 14  //Enter the VTY user interfaces VTY 0 to VTY 14.
    [HUAWEI-ui-vty0-14] user privilege level 15  //Set the user level to 15 for the VTY user interfaces VTY 0 to VTY 14.
    
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 84267

Downloads: 12101

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