EasyManuals Logo
Home>Cisco>Switch>Catalyst 2960-XR

Cisco Catalyst 2960-XR User Manual

Cisco Catalyst 2960-XR
404 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #52 background imageLoading...
Page #52 background image
Example: Setting a Telnet Password for a Terminal Line, on page 35
Configuring Username and Password Pairs
Beginning in privileged EXEC mode, follow these steps to configure username and password pairs:
SUMMARY STEPS
1.
configure terminal
2.
username name [privilege level] {password encryption-type password}
3.
Use one of the following:
•
line console 0
•
line vty 0 15
4.
login local
5.
end
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Sets the username, privilege level, and password for each user.
username name [privilege level] {password
encryption-type password}
Step 2
•
For name, specify the user ID as one word. Spaces and quotation
marks are not allowed.
Example:
Switch(config)# username adamsample
•
(Optional) For level, specify 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.
privilege 1 password secret456
•
For encryption-type, enter 0 to specify that an unencrypted password
will follow. Enter 7 to specify that a hidden password will follow.
•
For password, specify 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.
Enters line configuration mode, and configures the console port (line 0)
or the VTY lines (line 0 to 15).
Use one of the following:
Step 3
•
line console 0
•
line vty 0 15
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
30 OL-29434-01
Controlling Switch Access with Passwords and Privilege Levels
Configuring Username and Password Pairs

Table of Contents

Other manuals for Cisco Catalyst 2960-XR

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 2960-XR and is the answer not in the manual?

Cisco Catalyst 2960-XR Specifications

General IconGeneral
BrandCisco
ModelCatalyst 2960-XR
CategorySwitch
LanguageEnglish

Related product manuals