DGS-6604
mm
dot1x user
CLI Reference Guide
184
dot1x user
Use this command to create a local account used for authentication. Use the no
form of this command to delete local accounts.
dot1x user
NAME
password
PASSWORD
no dot1x user [
NAME
]
Default
No local account is created.
Command Mode
Global configuration
Usage Guideline
All accounts can be removed by entering
no dot1x user
without the
NAME
option.
The local database can be used in both port-based and host-based mode.
The maximum number of user accounts is project dependent.
Examples
This example creates a local account with a user name.
"yourname" and
password
"yourpass".
This example deletes a local account with a user name as "yourname".
Verify the settings by entering the
show dot1x
user
command.
Syntax Description
NAME
Specifies the name of a local account used for authentication. The valid length is
from 1 to 32.
The syntax is general string that does not allow space.
password
PASSWORD
Specifies a password for a local account. The valid length is from 1 to 16.
The
syntax is general string that does not allow space.
Switch# configure terminal
Switch(config)# dot1x user yourname password yourpass
Switch# configure terminal
Switch(config)# no dot1x user yourname