beautypg.com

13 enable secret – CANOGA PERKINS 9175 Command Reference User Manual

Page 43

background image

CanogaOS Command Reference

3-9

You will not ordinarily enter an encryption type. Typically you enter an encryption type only if you copy

and paste into this command a password that has already been encrypted by a switch.


Examples

The following example enables the password “abcd”:

Switch(config)# enable password abcd

The following example sets the encrypted password “6c8fddf03f120287”, which has been copied from a

switch configuration file, encryption type 8:

Switch(config)# enable password 8 6c8fddf03f120287


Related Commands

cipher detect
service password-encryption

3.13 enable secret

To set a local encrypted password to control access to various privilege levels, use the enable secret

command in global configuration mode.


Command Syntax

enable secret password

password

Assign the privileged level secret.


Default

No password is defined.


Command Mode

Global configuration


Usage

The password will be encrypted by the switch even if the service password-encryption is not enabled.


Examples

The following example enables the password “abcd”:

Switch(config)# enable secret abcd


Related Commands

service password-encryption

To encrypt passwords, use the service password-encryption command in global configuration mode.

To restore the default, use the no form of this command.


Command Syntax

service password-encryption

no service password-encryption