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