Automation Guy

One mans perpetual headache in the land of data centre automation

HP 1920 48G (JG927A) SWITCH CLI ADMIN PASSWORD

65py53fn

I was disappointed with the CLI features available on my HP 1920 48G switch, then I found out it had a super-secret CLI. To be fair I was disappointed with this too, but it's better than nothing.

The features of this range of switches are meant to be managed through the "Web Management Platform", and to be honest, it's not terrible. It's a bit clunky, but overall it's not too bad to use.

It's either very cold in here, or the thermometer has packed up.

It's either very cold in here, or the thermometer has packed up.

I wanted to see what the CLI had to offer. If you connect via Console cable or SSH (no one uses Telnet anymore), you get a paltry list of command options.

Image

How very depressing you may think. But wait! There's more...

Image

If you enter the command:

_cmdline-mode on

Answer Y at the prompt and then type in the password:

Jinhua1920unauthorized

You are presented with a vast array of CLI 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
crypto-digest Compute the hash digest for a specified file
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
ipc Interprocess communication
ipsetup Assign an IP address to 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/board/card
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
scp Secure copy
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
xmodem Establish an xmodem connection

If you enter the system-view command there are even more. Enjoy.

1 Comment

  1. How can i change this commad or how can i entry with admin privilege?
    thx

Leave a Reply

Your email address will not be published.

*

© 2017 Automation Guy

Theme by Anders NorenUp ↑