Example: Huawei Switch configuration basics: Setting user privilege levels

Source: Internet
Author: User

An example shows how to configure a Huawei switch: Set the user privilege level. A friend asked me to solve the problem about setting the user privilege level in the configuration of the Huawei switch, no detailed answers. The following is a basic solution for configuring Huawei switches on the Internet.

Verify the CGMP configuration on the Catalyst Switch Based on the Huawei Switch configuration:
Catalystla1> (enable) show config
Set prompt extends stla1>
Set interface sc0 192.168.1.1 255.255.255.0
Set cgmp enable

Configure the basic CGMP exit settings for the Huawei switch:
Dallas_SW (enable) set cgmp leave

Modify the control port password on the device based on the configuration of the Huawei switch:
R1 (config) # line console 0
R1 (config-line) # login
R1 (config-line) # password Lisbon
R1 (config) # enable password Lilbao
R1 (config) # login local
R1 (config) # username student password cisco

The following figure shows how to set the console and vty port session timeout for a Huawei switch:
R1 (config) # line console 0
R1 (config-line) # exec-timeout 5 10
R1 (config) # line vty 0 4
R1 (config-line) # exec-timeout 5 2

The Huawei Switch configuration is based on the permission level set on the device:
R1 (config) # privilege configure level 3 username
R1 (config) # privilege configure level 3 copy run start
R1 (config) # privilege configure level 3 ping
R1 (config) # privilege configure level 3 show run
R1 (config) # enable secret level 3 cisco

The basic command privilege for configuring a Huawei switch defines the commands used at this privileged level:
Router (config) # privilege mode level command

Basic user privilege level for Huawei switch Configuration:
Router (config) # enable secret level 3 dallas
Router (config) # enable secret san-fran
Router (config) # username student password cisco

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.