12-29
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 12 Configuring Switch-Based Authentication
How to Configure Switch-Based Authentication
Setting the Privilege Level for a CommandChanging the Default Privilege Level for Lines
Step 4 login local Enables local password checking at login time. Authentication is based on
the username specified in Step 2.
To disable password checking and allow connections without a password,
use the no login line configuration command.
Step 5 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 privilege mode level level command Sets the privilege level for a command.
mode—Enters configure for global configuration mode, exec for
EXEC mode, interface for interface configuration mode, or line for
line configuration mode.
level—The range is from 0 to 15. Level 1 is for normal user EXEC
mode privileges. Level 15 is the level of access permitted by the
enable password.
command—Specifies the command to which you want to restrict
access.
Step 3 enable password level level password Specifies the enable password for the privilege level.
level—The range is from 0 to 15. Level 1 is for normal user EXEC
mode privileges.
password—Specifies a string from 1 to 25 alphanumeric characters.
The string cannot start with a number, is case sensitive, and allows
spaces but ignores leading spaces. By default, no password is
defined.
Step 4 end Returns to privileged EXEC mode.
Step 5 show privilege Verifies the password and accesses level configuration.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 line vty line Selects the virtual terminal line on which to restrict access.
Step 3 privilege level level Changes the default privilege level for the line.
level—The range is from 0 to 15. Level 1 is for normal user EX EC mode
privileges. Level 15 is the level of access permitted by the enable
password.
Step 4 end Returns to privileged EXEC mode.
Step 5 show privilege Verifies the password and accesses level configuration.
Command Purpose