enable read-only-password

Allows access to the Privileged EXEC mode and User EXEC mode of the CLI, but only with read access.
Syntax
enable read-only-password[password]
no enable read-only-password[password]
Command Default

Read access for the Privileged EXEC and User EXEC modes of the CLI is not configured.

Parameters
password
Alphanumeric password string.
Modes

Global configuration mode

Usage Guidelines

You can set one password for each of the management privilege levels: Super User level, Port Configuration level, and Read Only level.

You also can configure up to 16 user accounts consisting of a username and password, and assign each user account to one of the three privilege levels.

Note: You must set the Super User level password before you can set other types of passwords.
Note: You must use the CLI to assign a password for management privilege levels. You cannot assign a password using the Web Management Interface.

The no form of the command removes the configured password access.

Examples

The following example shows how to set Read Only level password.

device(config)# enable read-only-password password1