Specifying Line-level Passwords
the procurve switch 8100fl supports up to 10 vty remote connections for which you can assign line-level passwords. to prevent unauthorized access, it is recommended you assign line-level password protection to all the terminal lines that you configure.
to add password protection to each terminal (or console) line:
1. from configuration mode, enter the following command:
switch 8100fl(config)#line vty o
where orepresents the line number of the vty terminal line connection.
2. enter the following command to configure a password to the line that you have specified:
switch 8100fl(config-line)#password [password]
by default the password you enter will be encrypted to prevent it from being displayed in the configuration file output.
for example:
to create an encrypted password called “mysecretpassword” enter;
switch 8100fl(config-line)#password mysecretpassword
when you enter the password and then enter show running-config, this will appear as a line in the running configuration as follows:
password 5 $1$zyk.$8nhx2djbsigqyhtbmuakz1
where 5 indicates that the password is encrypted as an md5 hash.
to allow passwords to be displayed in an unencrypted format, enter 0 before you enter the password.
for example:
to create a clear text password called “mypassword” enter;
switch 8100fl(config)#enable secret 0 mypassword
when you enter this setting, it will appear as a line in the running configuration as follows:
enable secret 0 mypassword
where 0 indicates that the password is not encrypted.
by default all passwords are encrypted, meaning that they will not display in readable text in the configuration files. to specify an unencrypted password, you must enter a 0 before entering the password text.
3. repeat steps 1 and 2 to assign a line-level password to each terminal line that you have configured on the switch.