Glazenbakje's Weblog

Just another way to express myself

HP v1910 Secret Commando list ( how to enable it )

Make a Telnet ( when enabled or via the console cable ) a connection the the switch.
Type the admin information and when entered a Password ( default no password )

To enable the secret command line commands: you have to type the following command: _cmdline-mode on

And press enter. You will get a question. Answer this question with Yes.

If you don’t have a password you will get a popup notification on the CLI Type the code 512900

You get the User View commands if you press ?

User view commands:
  archive        Specify archive settings
  backup         Backup next startup-configuration file to TFTP server
  boot-loader    Set boot loader
  bootrom        Update/read/backup/restore bootrom
  cd             Change current directory 
  clock          Specify the system clock
  cluster        Run cluster command
  copy           Copy from one file to another 
  debugging      Enable system debugging functions
  delete         Delete a file 
  dir            List files on a file system 
  display        Display current system information
  fixdisk        Recover lost chains in storage device
  format         Format the device
  free           Clear user terminal interface
  ftp            Open FTP connection 
  initialize     Delete the startup configuration file and reboot system
  ipsetup        Specify the IP address of the VLAN interface 1 
  lock           Lock current user terminal interface
  logfile        Specify log file configuration
  mkdir          Create a new directory 
  more           Display the contents of a file 
  move           Move the file 
  ntdp           Run NTDP commands
  password       Specify password of local user
  ping           Ping function 
  pwd            Display current working directory 
  quit           Exit from current command view
  reboot         Reboot system
  rename         Rename a file or directory 
  reset          Reset operation
  restore        Restore next startup-configuration file from TFTP server 
  rmdir          Remove an existing directory 
  save           Save current configuration
  schedule       Schedule system task
  screen-length  Specify the lines displayed on one screen
  send           Send information to other user terminal interface
  sftp           Establish one SFTP connection 
  ssh2           Establish a secure shell client connection 
  stack          Switch stack system
  startup        Specify system startup parameters 
  summary        Display summary information of the device.
  super          Set the current user priority level 
  system-view    Enter the System View
  telnet         Establish one TELNET connection 
  terminal       Set the terminal line characteristics 
  tftp           Open TFTP connection 
  tracert        Trace route function 
  undelete       Recover a deleted file 
  undo           Cancel current setting
  upgrade        Upgrade the system boot file or the Boot ROM program

When you type SYS of system-view. You will get the list of system admin commands.

System View: return to User View with Ctrl+Z.
System view commands:
  aaa                      Specify AAA configuration
  acl                      Specify acl configuration information
  archive                  Specify archive settings
  arp                      Specify ARP configuration information 
  bootrom-update           bootrom update
  clock                    Specify the system clock
  cluster                  Specify cluster configuration information
  command-privilege        Specify the command level 
  configuration            Specify configuration settings
  copyright-info           Copyright information configuration
  cut                      Cut connection
  delete                   Delete function
  dhcp                     DHCP configuration subcommands 
  dhcp-snooping            DHCP Snooping
  display                  Display current system information
  domain                   Add domain or modify domain attributes
  dot1x                    Specify 802.1X configuration information 
  execute                  Batch Command
  file                     Specify file system configuration information 
  ftp                      Specify FTP configuration information 
  gratuitous-arp-learning  Gratuitous Arp learning function 
  gratuitous-arp-sending   Sending gratuitous-arp packet when receiving 
                           different sub-network arp packet function 
  habp                     Specify HABP configuration information
  header                   Specify the login banner 
  hotkey                   Specify hotkey configuration information 
  igmp-snooping            IGMP snooping
  info-center              Specify information center configuration information
  interface                Specify the interface configuration view 
  ip                       Specify IP configurations for the system
  job                      Schedule a system task
  jumboframe               Jumboframe command
  lacp                     Configure LACP Protocol
  lldp                     Link Layer Discovery Protocol(802.1ab) 
  local-user               Specify local user configuration information
  logfile                  Specify log file configuration
  loopback-detection       Detect if loopback exists
  mac-address              Configure MAC address
  mirroring-group          Specify mirroring-group
  multicast-vlan           Multicast VLAN
  ndp                      Neighbor discovery protocol
  ntdp                     Specify NTDP configuration information
  ntp-service              Specify NTP(Network Time Protocol) configuration 
  ping                     Ping function 
  pki                      Specify PKI module configuration information
  port-group               Port group 
  public-key               Specify public-key module configuration information
  qos                      Command of QoS(Quality of Service)
  quit                     Exit from current command view
  radius                   Specify RADIUS configuration information
  return                   Exit to User View 
  rmon                     Specify RMON
  save                     Save current configuration
  sftp                     Specify SFTP service attribute
  snmp-agent               Specify SNMP(Simple Network Management Protocol) 
                           configuration information
  ssh                      Specify SSH (secure shell) configuration information
  ssl                      Specify SSL (Secure Socket Layer) configuration 
  stack                    Switch stack system
  storm-constrain          Port storm-constrain
  stp                      Spanning tree protocol
  super                    Modify super password parameters
  sysname                  Specify the host name 
  system-failure           System failure handling method 
  system-guard             System guard function 
  tcp                      Specify TCP(Transmission Control Protocol) 
                           configuration information 
  telnet                   Specify TELNET configuration information
  temperature-limit        Set temperature limit
  tftp                     Specify TFTP configuration information
  tftp-server              TFTP Server 
  time-range               Specify time-range configuration information
  tracert                  Trace route function 
  traffic                  Specify traffic configuration information
  undo                     Cancel current setting
  user-group               Specify user group configuration information
  user-interface           Configure the user terminal interface 
  vlan                     Configure VLAN
  voice                    Specify voice VLAN
  web                      Web configuration

85 responses to “HP v1910 Secret Commando list ( how to enable it )

  1. Pingback: Anyone know how to factory reset a 3Com 2824 SFP (HP V1910-24G)

  2. Chris Boot 6 December 2012 at 17:21

    Just wanted to say thanks very much for posting this information, it is going to be very useful indeed for managing my switches.

  3. Some Guy 12 January 2013 at 05:24

    _hidecmd in the system-view unlocks further commands. Looks like you can switch 3com to HP branding with “brand 1910” but I’m afraid to try it.

    • Fred 12 January 2013 at 10:28

      I don’t know that command.have to try it by myself also.

      • bdh 18 October 2013 at 12:16

        tried it and now i cannot use firmware > R1111P01
        anyone has an idea how to change the back the branding without having the brand command?

      • pops 18 October 2013 at 21:03

        You’re not going to like this, but you can’t.

        I took on the management of a number of v1910’s and saw one that had was stuck on old firmware. Tried updating it and noticed that it refused to work beyond the same firmware level you mentioned. I finally came to the conclusion that my predecessor had been ‘tinkering’ and very likely did the same thing via the secret CLI menu’s.

        The problem is that since there is a shared platform between 3com/HP/H3C, they used similar firmware. But when the design of later models began to diverge, HP removed a feature from their own firmware that would undo the change made to the Device ID. So you’re stuck.

        There is an HP note on this somewhere out there and the purpose that command was designed for. What it doesn’t say is how to fix it if used on a later HP device.

        This may shed more light on the subject:

        I ended up having to RMA the device after asking HP nicely.

        OP – please consider adding a warning to the blog that alerts people to this problem.

  4. Fred 16 January 2013 at 13:59

    @someguy: the command _hidecmd does not work. (I’ve tested)

    • Some Guy 19 January 2013 at 08:52

      Are you on the newest firmware? It works for me after following your instructions and getting into the system view. Several commands that start with an underscore are unlocked plus others.

      _cmdline-mode on
      All commands can be displayed and executed. Continue? [Y/N]Y
      Please input password:******
      Warning: Now you enter an all-command mode for developer’s testing, some commands may affect operation by wrong use, please carefully use it with our engineer’s direction.
      System View: return to User View with Ctrl+Z.
      Now you enter a hidden command view for developer’s testing, some commands may
      affect operation by wrong use, please carefully use it with our engineer’s

  5. Copmodosan 16 January 2013 at 16:56

    Does the HP v1905 switch support “_cmdline-mode on”?

    • Fred 16 January 2013 at 16:57

      Yes I think, that one works. Only the after a reboot of the v1910 switch the command is lost. and you have to re-type it again to have full access to all commands of the switch.

  6. Alex 31 January 2013 at 18:34

    Big Thanks!!!

  7. akismet-ca5c4c100408378e4cdffa8401c0a061 29 May 2013 at 11:58

    Thank you.
    That was just what I was looking for. I do however miss the old telnet menu from the old Procurve switches.

    • Fred 30 May 2013 at 11:34

      Indeed the CLI is more used by users i think..and if you have to do more switches in once you can copy / past you configuration now days it’s difficult. Unless you use these command.

      • Uffe 26 May 2014 at 13:31

        How do I copy boot configuration file from one switch to another using CLI so that the new switch uses this when booting?

      • Fred 26 May 2014 at 18:24

        if you use display running-configuration than you would be able to copy past the configuration to notepad.

  8. Localhorst 19 June 2013 at 16:05

    I found this thread via google because I had a similar problem. I can’t reset my configuration cause the user “Admin” has no roles.

    I fixed it with this steps:
    – connect the switch with console cable
    – start PuTTY (38400 baud)
    – reboot the Switch (cold start)
    – press [CRTL] + [B] while booting

    A hidden menu appears. Choose option “7 – Skip current system configuration”

    I hope it will help another frustrated user of this HP 1910 switch :]
    (Sorry for my english, I’m no native speaker)

    • Fred 19 June 2013 at 16:11

      Thank you for your input I corrected the english words which were writting incorrectly. It seems I’ve to go test it by myself when i’ve the possibility.

  9. Pingback: Which one is the better one?

  10. Pingback: Quick-tip: “hidden” CLI interface on GS110TP

  11. Pingback: “Hidden” CLI interface on Netgear GS110TP

  12. Balaji 17 February 2014 at 08:07

    Can anyone tel me the cmd line password for hp1910 24g switch

    • Fred 17 February 2014 at 09:08

      The default username is admin
      by default there is no password for the CLI. unless you configured a password via the gui. Than you need to use that password to logon via the CLI.

  13. Jim 20 March 2014 at 01:51

    How do i use the Sys commands to assign a port to a VLAN?

    • Fred 26 March 2014 at 13:58

      in system-view you have to do the following:

      interface vlan-interface
      ip address

      interface gigabitethernet
      port access vlan

      it should look like this:

      interface GigabitEthernet1/0/18
      port access vlan 2
      broadcast-suppression pps 3000
      undo jumboframe enable
      stp edged-port enable

  14. Jonathan 8 July 2014 at 16:12

    This is awesome, thank you

    How do I do a “show running-config” as in Cisco?

  15. Zant 31 July 2014 at 18:05

    If i can only bypass 8 ip vlans restrictions !!

  16. Prunaldo Jr 23 August 2014 at 03:25

    How to remove a VLAN ID of a port and assign a unique VLAN ID (untagged, e.g, VLAN ID 1 untagged for web managment) to the same port?

  17. adinovic1924 19 September 2014 at 11:40

    hi, can i remove/auto set this _cmdline-mode permanently after reboot? i’m setting rancid to run on 1910, instead having diff of configuration i have nothing on log, i think it’s due to this cmdline limitation rancid couldn’t fetch any configuration.


  18. J Marces 24 September 2014 at 16:29

    How i can configure dhcp in the CLI mode? I need to configure an OPTION 43 like Cisco IOS?

  19. Patrick Galbraith 26 September 2014 at 05:21

    If you should find out the magical way to make cmdline-mode permanent, please sure.

    I’m in the process of developing an ansible driver for this switch.

    • Fred 14 October 2014 at 21:29

      i’m sorry I am unable to answer your question. The only way to find out is trial and error. Or some other reader of this post has the answer. If i get such switch at my work I wil check for sure if it works. With the same commands as for the 1910 switch.

  20. WIN 29 October 2014 at 19:44

    Hi, I found problem on V1920 . the password 512900 cannot access secret command. Could you please help me find the execute password for V1920. I need to config cli.

  21. Speleers geert 17 November 2014 at 09:55

    has anybode already the password for the V1920?

  22. Silva 27 November 2014 at 13:55

    Ohhh please please can anyone help me get rid of this _cmdline-mode command so it is on forever ?!

    • Andy 20 July 2015 at 16:29

      Thanks Mickey – works a treat for V1920. Have been using the V1910 series until now but new switches are same cost. It’s so useful for tracking down network issues compared with using web interface.

  23. ashok 31 January 2015 at 16:06

    how to enable telnet in HP A5120 L3 switch?

  24. ryan 16 March 2015 at 09:48

    how to setup a ip address in console using putty?

  25. Pingback: HP Procurve 1910 Switch commandline | Eric's Tech Blog

  26. Neil Tsai 11 June 2015 at 10:28

    has anybode already the password for the V1950?

  27. Slupmi 24 August 2015 at 16:02

    No the new 1950 series. It allows IRF up to 4 devices. I would love to have the password for that serie!

    • x 5 September 2015 at 13:52

      Does it have the same type of interface to enter extended commands? Can you post a screen capture of you entering a wrong password and the subsequent messages?

      • Slupmi 7 September 2015 at 09:44

        I don’t own any yet…they are ordered…as soon as I get them, i’ll post here.
        But I expect a long delivery…. :-(

      • duffeh 8 September 2015 at 17:36

        I currently have 4 1950’s in an IRF stack and would love the CLI password, The switch is currently missing a lot of settings in the WebUI (i.e SNMP config for IMC). This could be resolved quickly with the CLI password. I logged a call with HP support and they would not release this information they instead told me to wait until December for a firmware update which will add snmp to the WebUI! Quite frankly this is shocking :(

        Below is the output when trying to access the CLI mode.

        User view commands:
        display Display current system information
        initialize Delete the startup configuration file and reboot system
        ipsetup Configure an IP address for VLAN-interface 1
        password Specify password of local user
        ping Ping function
        poe Power over Ethernet
        quit Exit from current command view
        reboot Reboot operation
        summary Display summary information of the device
        telnet Establish a telnet connection
        undo Cancel current setting
        upgrade Upgrade the system boot file or the Boot ROM program
        xtd-cli-mode Switch to extended CLI mode to display and execute all commands
        (special authorization required)

        All commands can be displayed and executed in extended CLI mode. Switch to extended CLI mode? [Y/N]:y
        Incorrect password.

      • Slupmi 9 September 2015 at 13:54

        What if you type _cmdline-mode on instead of xtd-cli-mode ?
        pass : Jinhua1920unauthorized
        for the fun try : Jinhua1950unauthorized …you never know!

      • Fred 9 September 2015 at 11:25

        @duffeh, that’s sucks of hp. sadly that they changed the possibility for the lower market with gui / cli solutions that they don’t put it default like the upper level switches where you can access the cli with console / telnet / ssh.

        probably hp won’trelease they password due it made be used of support issues where the technical suport of HP can login in the more advanced CLI. then the end user.

      • x 27 September 2015 at 11:26

        duffeh, can you get one of those babies remotely accessible via SSH?

    • Andy 23 November 2015 at 19:30


      • slupmi 25 November 2015 at 10:33

        I have 4 of them in stock but didnt had the time to boot them up yet.
        I’ll try to do so today and post back my findings…but I must say…funny password.

      • Fred 25 November 2015 at 11:40

        Slumpi, you need to use the full string to the password field.

  28. Slupmi 9 September 2015 at 13:55

    oh and can’t you ask HP to take over your screen to enter the mode and set the property?
    In the meanwhile…capture the screeninput ! :-)

  29. lvlnrd 13 October 2015 at 18:09

    Thank you for this!

  30. Andy 23 November 2015 at 19:21

    1950 Password as some are requesting is foes-bent-pile-atom-ship

  31. slupmi 25 November 2015 at 15:41

    folks….it works like a charm! thanks a lot….i really prefer cli above webbased.

    • rob 7 December 2015 at 00:22

      slumpi: do you mean that “foes-bent-pile-atom-ship” works as xtd-cli-mode password on your 1950 switch? may I ask you which model did you test it on? (it does not work on my JG960A…)

      • Andy 7 December 2015 at 15:28

        It has worked on my 1950’s, but I don’t spefically have the JG960A, I have a 24 port poe, 48 port poe, and a couple of the 48 port non poe units. Works for all of them. The other one HP told me to try was agnipath1950unauthorized if the foes didn’t work. If neither work and you are certain you are typing them exact call and open a ticket, the way to get the password is tell them you have to have SNMP enabled. Level 1 will take a day scratching their heads before they send to level 2, level 2 will want on your system but then they’ll tell you the password. At least that’s how I did it.

      • David B 7 December 2015 at 21:54

        Upgrade the firmware and it will work

  32. Pingback: Hp 1910v 1Gbps Anahtar ayarlarının Yapılması (3-Com anahtar) » Süleyman Uzun

  33. m0uSe 6 December 2015 at 04:02

    I tried “foes-bent-pile-atom-ship” at our HP 1950-48G-PoE+ with the xtd-cli-mode.
    It still throws “Incorrect Password”.
    Any help?

  34. David B 7 December 2015 at 21:53

    If you’re having problems getting in to xtd-cli-mode on the HP 1950’s – then upgrade the firmware – the SSE/earlier release has a different password to what’s listed here

  35. slupmi 8 December 2015 at 11:33

    Sorry for the late reaction :
    JG963A (the 48 ports with POE+)
    Next year i’ll be buying the 24 ports version as well …

  36. m0uSe 11 December 2015 at 17:44

    Latest Firmware 1950_7.10.R3109P09

  37. Yesenia 19 December 2015 at 17:54

    Hola,buenos días

    Solicito de su apoyo

    Mi caso es el siguiente:

    Tengo creadas 6 VLAN las cuales requiero se puedan comunicar entre algunas, por ejemplo la VLAN 2 se comunique con la VLAN 4 pero no con las demás, las VLAN están creadas en switch HP 1910-48 y en switch HP 1920-24G, sin embargo de las 6 VLAN que tengo creadas solo algunas hacen ping con otras, ejemplo PC1 conectada a VlAN 3 (PUERTA DE ENLACE en puerto 2 de l switch HP 1920 hace ping a PC2 conectada a VALN 2 (puerta de enlace en puerto 2 del switch HP 1910-48, pero de PC2 a PC1 no regresa el ping. Estos dispositivos están conectados por medio de un puerto troncal del switch HP 1920-24 en puerto 24 al switch HP 1910-48 al puerto Gigabit 52.

    Mi duda en concreto es saber como comunicar VLAN diferentes. Pues entre las mismas VLAN si hay comunicación.

  38. Asheesh 8 February 2016 at 06:29


    how do i take the backup of HP switches automatically, is it possible..?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 464 other followers

%d bloggers like this: