12-28
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 12 Configuring Switch-Based Authentication
How to Configure Switch-Based Authent ication
Setting a Telnet Password for a Terminal LineConfiguring Username and Password Pairs
Command Purpose
Step 1 Attaches a PC or workstation with emulation software to the switch
console port.
The default data characteristics of the console port are 9600 , 8, 1, no
parity. You might need to press the Return key several times to see the
command-line prompt.
Step 2 enable password password Enters privileged EXEC mode.
Step 3 configure terminal Enters global configuration mode.
Step 4 line vty 0 15 Configures the number of Telnet sessions (lines), and enters line
configuration mode.
There are 16 possible sessions on a command-capable switch. The 0
and 15 mean that you are configuring all 16 possible Telnet sessions.
Step 5 password password Enters a Telnet password for the line or lines.
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 6 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 username name [privilege level]
{password encryption-type password}
Enters the username, privilege level, and password for each user.
name—Specifies the user ID as one word. Spaces and quotation
marks are not allowed.
(Optional) level—Specifies the privilege level the user has after
gaining access. The range is 0 to 15. Level 15 gives privileged EXEC
mode access. Level 1 gives user EXEC mode access.
encryption-type—Enters 0 to specify that an unencrypted password
will follow. Enter 7 to specify that a hidden password will follow.
password—Specifies the password the user must enter to gain access
to the switch. The password must be from 1 to 25 characters, can
contain embedded spaces, and must be the last option specified in the
username command.
To disable username authentication for a specific user, use the no
username name global configuration command.
Step 3 line console 0
or
line vty 0 15
Enters line configuration mode, and configure the console port (line 0) or
the VTY lines (line 0 to 15).