Cisco Catalyst 2960-X Security Configuration Manual page 54

Cisco ios release 15.0(2)ex
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

Configuring Username and Password Pairs
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
username name [privilege level] {password
encryption-type password}
Example:
Switch(config)# username adamsample
privilege 1 password secret456
Switch(config)# username 111111111111
mac attribute
Step 4
Use one of the following:
• line console 0
• line vty 0 15
Example:
Switch(config)# line console 0
or
Switch(config)# line vty 15
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
30
Controlling Switch Access with Passwords and Privilege Levels
Purpose
Enables privileged EXEC mode. Enter your password if prompted.
Enters the global configuration mode.
Sets the username, privilege level, and password for each user.
• For name, specify the user ID as one word or the MAC address.
Spaces and quotation marks are not allowed.
• You can configure a maximum of 12000 clients each, for both
username and MAC filter.
• (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.
• 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).
OL-29048-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents