Got it

Saving configuration on Switches

Latest reply: Sep 26, 2019 02:46:12 510 2 0 0

Huawei switches have an option to save configuration in user-view mode. It is a security risk as if someone is only performing some test configuration (and doesn't intend to save it for permanent use); and someone from user-view mode comes and saves it; it will be very dangerous.

Editing and saving configuration should both have a same privilege level for security.
  • x
  • convention:

Created Sep 25, 2019 16:31:08 Helpful(2) Helpful(2)


You can use the command below to increase the privilege needed to run those commands for save/edit:
command-privilege level 3 view shell save
This ensures that level 2 or 1 users cannot configure the 'save' command in user-view. They will get the this error :

Error: Unrecognized command found at '^' position.

In addition, I see a level 1 user doesn't have access to save command, only to save logfile :

<Huawei>save logfile ?

Hope this is useful to you.

View more
  • x
  • convention:

MVE Created Sep 26, 2019 02:46:12 Helpful(0) Helpful(0)

Thanks for clearing it out for me. Appreciate it.
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits


Huawei Enterprise Support Community
Huawei Enterprise Support Community
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.