PurposeCommand or Action
Example:
Switch(config)# username your_user_name
Repeat this command for each user.
•
For name, specify the user ID as one word. Spaces and quotation
marks are not allowed.
privilege 1 password 7 secret567
•
(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 0 gives user EXEC mode access.
•
For encryption-type, enter 0 to specify that an unencrypted
password follows. Enter 7 to specify that a hidden password
follows.
•
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.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 7
Related Topics
Setting Up the Switch to Run SSH, on page 89
SSH Configuration Guidelines, on page 87
Monitoring Local Authentication and Authorization
To display Local Authentication and Authorization configuration, use the show running-config privileged
EXEC command.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01 83
Configuring Local Authentication and Authorization
Monitoring Local Authentication and Authorization