Procurve V1910 JE006A

StefanPeeters

Weaksauce
Joined
Oct 7, 2013
Messages
115
Hi,
I have a 1910 switch and I forgotten my password to log in. I can't find a reset or clear button. I have type je006a.
Someone can help me with this?
Thanks
 
HP 1910 Switch Series - Password Loss
Issue

How to recover or change the console login password if one has lost it.
Solution

Access the Boot menu (ctrl+B when switch is starting)

******************************************************************************** * * *HP V1910-24G-PoE (365W) Switch BOOTROM, Version 158 * * * ******************************************************************************** Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P.

Creation Date : Jun 15 2012
CPU L1 Cache : 32KB
CPU Clock Speed : 333MHz
Memory Size : 128MB
Flash Size : 128MB
CPLD Version : 002
PCB Version : Ver.B
Mac Address : 20FDF1F19021



Press Ctrl-B to enter Extended Boot menu...0.

Please input BootRom password: (no password require by default).

Boot Menu

Download application file to flash

Select application file to boot.

Display all files in flash.

Delete file from flash.

Modify BootRom password.

Enter BootRom upgrade menu.

Skip current system configuration.

Set BootRom password recovery.

Set switch startup mode.

Reboot

Enter the user's choice(0-9):

Enter 7 (Skip current system configuration) and restart the switch (opcion 0). The switch reboots with empty configuration, and one can log in through the console port without entering the password to check the configuration file for the user password.

Enter the user's choice(0-9): 7.

The current setting will run with current configuration file when reboot. Is user sure if one want to skip current configuration file when reboot? Yes or No (Y/N):Y Setting...Done!

Boot Menu

1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify BootRom password
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set BootRom password recovery
9. Set switch startup mode
0. Reboot

Enter the user's choice(0-9): 0

Starting......

Now one needs to enable full CLI commands. Enter the following command and call HP SUPPORT in order to get the required password for this procedure:

<HP>_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.
<HP>

Using the command more look for the configuration file where it was set up the password that the user lost. The command will show the configuration saved on this file:

<HP>more flash:/startup.cfg

#
version 5.20, Release 1513P05
#
sysname HP
#
domain default enable system
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
#
local-user admin
password cipher $c$3$lOtYo1ghyhmBzuZr3qSQS6s5yP/MfJ/eRSkW
authorization-attribute level 3
service-type ssh telnet terminal
#
stp mode rstp
stp enable
#
interface NULL0
#
interface Vlan-interface1
ip address dhcp-alloc
#
interface GigabitEthernet1/0/1
poe enable
stp edged-port enable
#
.
.
.
#
interface GigabitEthernet1/0/28
stp edged-port enable
#
user-interface aux 0
authentication-mode scheme
user-interface vty 0 15
authentication-mode scheme
#
return




Select all the configuration a copy it in a text document. Now the user can change the currently user password by an known password:

Currently password:
local-user admin
password cipher $c$3$lOtYo1ghyhmBzuZr3qSQS6s5yP/MfJ/eRSkW

New password:
local-user admin
password cipher "NewPassword"

Select all the configuration in the text documet and paste it in the system view of the switch:

<HP>sys
System View: return to User View with Ctrl+Z.
[HP]#
[HP] sysname HP
[HP]#
[HP] domain default enable system
[HP]#
[HP]vlan 1
[HP-vlan1]#
[HP-vlan1]domain system
[HP-isp-system] access-limit disable
[HP-isp-system] state active
[HP-isp-system] idle-cut disable
[HP-isp-system] self-service-url disable
[HP-isp-system]#
[HP-isp-system]user-group system
[HP-ugroup-system]#
[HP-ugroup-system]local-user admin
[HP-luser-admin] password cipher &#8220;NewPassword&#8221;
[HP-luser-admin] authorization-attribute level 3
[HP-luser-admin] service-type ssh telnet terminal
[HP-luser-admin]#
[HP-luser-admin] stp mode rstp
[HP] stp enable
[HP]#
[HP]interface NULL0
[HP-NULL0]#
[HP-NULL0]interface Vlan-interface1
[HP-Vlan-interface1] ip address dhcp-alloc
[HP-Vlan-interface1]#
[HP-Vlan-interface1]interface GigabitEthernet1/0/1
[HP-GigabitEthernet1/0/1] poe enable
[HP-GigabitEthernet1/0/1] stp edged-port enable
[HP-GigabitEthernet1/0/1]#
.
.
.



Save the new configuration using the name of the configuration file where it was set up the password that the user has lost:

The current configuration will be written to the device. Are you sure? [Y/N]:y Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key): flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait....
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.



Ask the switch to star using the configuration file on step 7 and reboot the device, after that one will be able to log into the console port using the new password:

<HP>startup saved-configuration startup.cfg
Please wait ...
Setting the master board ...
... Done!
<HP>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

#Apr 26 12:41:35:485 2000 HP DEVM/1/REBOOT:

Reboot device by command.

%Apr 26 12:41:35:574 2000 HP DEVM/5/SYSTEM_REBOOT: System is rebooting now.
 
Hi,

Thanks for replying. Then first I have to go buy me a console cable. I let you know how it turns out.

Thanks
 
Back
Top