Specifying the CLI-level Password
to add password protection to the cli, enter the following command:
switch 8100fl(config)#enable secret [password]
by default the password you enter will be encrypted to prevent it from being displayed in clear text in the configuration file output.
for example:
to create an encrypted password called “mysecretpassword” enter;
switch 8100fl(config)#enable secret mysecretpassword
when you enter the password, and then enter show running-config, this will appear as a line in the running configuration as follows:
enable secret 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 obefore 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 oindicates that the password is not encrypted.
test all new passwords before saving the running configuration to the startup configuration file.
after password protecting access to the cli, you can still access the series 8100fl switch without a password by connecting a terminal line configured without password protection. to password protect terminal lines from users connecting with telnet or ssh, see “specifying line-level passwords”.