How to configure encrypted login’s Password at SHA1 type on DGS-1510 & DGS-3630
Firstly, for D-Link Switch series, if need to configure encrypted password for username of
switch local database, it should input the password which is encrypted by SHA1 hash, checksum, Base64 encoding and prefix of DGS-1510/DGS-3630 generated itself. That is to say, it cannot be
inputted by clear-text password or encrypted password which is generated by other devices
(e.g. the Website of online hash generator on Internet). In this post, it will show you how to configure encrypted login's Password at SHA1 type on DGS-1510/DGS-3630
username admin privilege 15 password 7 [PASSWORD is encrypted by SHA1
hash, checksum, Base64 encoding and prefix]
For example, please refer as below.
[GOAL]
If needs to configure a SHA 1 password on DGS-1510/DGS-3630,
it may use "service password-encryption" to encrypt the cleartext password firstly, and then
check it on running config file for implemetation.
1
For example, need to configure cleartext "admin" as SHA1 password on DGS1510/DGS-3630.
2
Please configure the cleartext password as below
3
Encrypt the password by SHA1.
4
Check the SHA1 password on Running config
5
For now, got that the SHA1 encrypted password
is *@&3OXvBUf3VbKp3lEhn0BdLAAAAABt+/ME which is
corresponding to the cleartext password "admin" on DGS-1510.
Hence, it is able to input the encrypted password as the following command on DGS1510/DGS-3630.