39-17
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 39 Configuring the Switch Access Using AAA
Configuring Authentication on the Switch
Configuring Local User Authentication
These sections describe how to configure local user authentication on the switch:
•
Creating a Local User Account, page 39-17
•
Enabling Local User Authentication, page 39-17
•
Disabling Local User Authentication, page 39-18
•
Deleting a Local User Account, page 39-19
Creating a Local User Account
A local user account and password must be fewer than 65 characters and can consist of any alphanumeric
characters. A local user account must also contain at least one alphabetic character.
To create a local user account on the switch, perform this task in privileged mode:
This example shows how to create a local user account and password, set the privilege level, and verify
the configuration:
Console> (enable)
set localuser user picard password captain privilege 15
Added local user picard.
Console> (enable)
show localusers
Local User Authentication: disabled
Username Privilege Level
--------- -------------
picard
15
Console> (enable)
Enabling Local User Authentication
To enable local user authentication on the switch, perform this task in privileged mode:
This example shows how to create a local user account, enable local user authentication, and verify the
configuration:
Console> (enable)
set localuser authentication enable
Local User Authentication enabled.
Console> (enable)
show authentication
Login Authentication: Console Session Telnet Session Http Session
--------------------- ---------------- ---------------- ----------------
tacacs disabled disabled disabled
radius disabled disabled disabled
Task
Command
Step 1
Create a new local user account.
set localuser user
username
password
pwd
privilege
privilege_level
Step 2
Verify the local user account.
show localusers
Task
Command
Step 1
Enable local user authentication.
set localuser authentication enable
Step 2
Verify the local user authentication configuration.
show authentication