Tuesday, April 5, 2016

How to Set a User Level for Huawei Switches

How to set a user level for Huawei switches?  Maybe that’s easy for a practised hand, but it’s a little hard for a beginner, if you don’t know the command.
Methods for Set a User Level for Huawei Switches, you can also apply for S9300 switch,S9700 switch.
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 that 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.
Telephone: 852-30623083
           Supports@Thunder-link.com            

No comments:

Post a Comment