I need to get configuration file from my hp 5500 switches. When I connect to it with ssh I need to enter a login and password and then super command to execute display current-configuration. I need to execute this command without the super command. I found command-privilege with it I can set privilege level of command display current-configuration to 0 and super command becomes unnecessary.

Is there any other way to do display current-configuration without super when using ssh?

  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 9 '17 at 2:03

When you are using SSH to access the switch you are using a certain username and password. The fact that you need to elevate your privilege level by using the super command means that the account you are using doesn't have the highest privilege level.

So in order to prevent elevating your privilege level via the super command you should already have a sufficient privilege level to begin with.

In Comware 5, the OS running on the HP 5500 series switches, the privilege levels are defined as follows:


Privilege level 3, also know as manager level, is the highest privilege level. In order to successfully login with privilege level 3, which is equal to super, you would need to specify that for the user account you are using.

Configuring a privilege level for a local user goes as follows:

  • < HP 5500 > system-view
  • [ HP 5500 ] local-user
  • [ HP 5500-luser-The_name_of_your_user_account ] authorization-attribute level 3

This in term means that you would authenticate locally on the switch which is know as "Local level switching authentication". If you however are using a RADIUS server, HWTACACS server, you are authenticating remotely which is know as "Remote level switching authentication". In that scenario the remote authentication server should be configured to provide your user with level 3 privileges.

For further information regarding the Authentication Authorization Accounting, also know as AAA, implementation on the HP 5500 I would redirect you to the "HP 5500 EI & 5500 SI Switch Series Security Configuration Guide":

For more information regarding the privilege level I would redirect you to:

  • 1
    I'm confused on your disclaimer. Not only are opinions discouraged, but the mentality behind SE is authoritative Q&As; on top of that, you don't have any opinions in your post. Consider removing the disclaimer?
    – Ryan Foley
    Jul 25 '14 at 7:25
  • The disclaimer may be required by his employer for anything he posts online. Jul 25 '14 at 18:31
  • @legioxi Stack Exchange strongly encourages taglines or disclaimers in the users profile, instead of each response
    – This
    Jul 27 '14 at 13:26

Change your user privileges:

local-user <username>
authorization-attribute level 3

This way, when you log in the switch, you'll be already logged in as "super".

HP 5500 Configuration Guide

EDIT: correcting privilege level as noted by Jason Cederboom

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.