
12-40
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 12 Configuring Switch-Based Authentication
How to Configure Switch-Based Authentication
Configuring Secure Shell
Setting Up the Switch to Run SSH
Configuring the SSH Server
Step 6
username name [privilege level]
{password encryption-type
password}
Enters the local database, and establishes a username-based authentication
system.
Repeat this command 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 0 gives user EXEC mode access.
• encryption-type—Enters 0 to specify that an unencrypted password
follows. Enter 7 to specify that a hidden password follows.
• 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.
Step 7
end Returns to privileged EXEC mode.
Step 8
show running-config Verifies your entries.
Step 9
copy running-config startup-config (Optional) Saves your entries in the configuration file.
Task Purpose
Step 1
Download the cryptographic software image from
Cisco.com.
(Required) For more information, see the notes for
this release.
Step 2
Configure a hostname and IP domain name for the switch. Follow this procedure only if you are configuring the
switch as an SSH server.
Step 3
Generate an RSA key pair for the switch, which
automatically enables SSH.
Follow this procedure only if you are configuring the
switch as an SSH server.
Step 4
Configure user authentication for local or remote access. (Required) For more information, see the
“Configuring the Switch for Local Authentication
and Authorization” section on page 12-39.
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
hostname hostname Configures a hostname for your switch.
Step 3
ip domain-name domain_name Configures a host domain for your switch.
Command Purpose