97
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter E Commands
enable secret
enable secret
To enable a secret password for a specific privilege level, use the enable secret command. To disable the
password, use the no form of this command.
enable secret [0 | 5] password [all | priv-lvl priv-lvl]
no enable secret [0 | 5] password [all | priv-lvl priv-lvl]
Syntax Description
Command Default Disabled
Command Modes Global configuration mode
Command History
Usage Guidelines To use this command, you must enable the cumulative privilege of roles for command authorization on
TACACS+ servers using the feature privilege command.
Examples This example shows how to enable a secret password for a specific privilege level:
switch# configure terminal
switch(config)# feature privilege
switch(config)# enable secret 5 def456 priv-lvl 15
switch(config)# username user2 priv-lvl 15
switch(config)#
Related Commands
0 (Optional) Specifies that the password is in clear text.
5 (Optional) Specifies that the password is in encrypted format.
password Password for user privilege escalation. It contains up to 64 alphanumeric,
case-sensitive characters.
all (Optional) Adds or removes all privilege level secrets.
priv-lvl priv-lvl (Optional) Specifies the privilege level to which the secret belongs. The range is
from 1 to 15.
Release Modification
5.2(1)N1(1) This command was introduced.
Command Description
enable Enables the user to move to a higher privilege level after being prompted for
a secret password.
feature privilege Enables the cumulative privilege of roles for command authorization on
TACACS+ servers.