Inspired by: Начальная настройка коммутатора HP 1910 серии
It is well known and has been emphasized by HP, many HP switches (HPE) are configured through the web-interface. A little less known is that a full customization for large number of switches is also possible via command line (for example, 1910, 1920).
Connection to the switch possibly via the network (if you know its IP) or if you have physical access – via the console cable (included), Cisco console cable also suitable for connection (tested in HPE 1920). If you connect through the console cable, you must set the following parameters in the access program (Putty, minicom):
- Speed (baud) – 38400
- Data bits – 8
- Stop bits – 1
- Flow control – None
If you see switch console, but keyboard keys doesn’t send into console, most likely – Flow control forgotten.
For fresh unpacked switch – login: admin, without password.
By default in the command line you have only few commands. But if you enter hidden command
then you are prompted to confirm this command:
All commands can be displayed and executed. Continue? [Y/N] – need to press y
followed by a request to enter the factory password. The following passwords are possible:
|512900||HP 1910 and earlier|
After entering password, you have full set of commands, which give you ability to fully setup/view info for switch.
|system-view||conf t||entry into setup mode|
|quit||exit||exit from different levels in setup|
|undo cmd||no cmd||undo command cmd|
|save||wr mem||save running configuration|