DXS-1210 Series Smart Managed Switch CLI Reference Guide
238
nor 7 are specified, the default form is clear text.
password STRING
Specifies to set password for MAC authentication. If in the clear text
form, the length of the string cannot be over 32.
vlan VLAN-ID
Specifies the VLAN to be assigned.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to configure the local database used for user authentication.
Example
This example shows how to create a local account with user1 as the username and pass1 as
password.
Switch# configure terminal
Switch(config)# authentication username user1 password pass1
Switch(config)#
30-7
clear authentication sessions
This command is used to remove authentication sessions.
clear authentication sessions {dot1x | all | interface INTERFACE-ID [dot1x] | mac-address
MAC-ADDRESS}
Parameters
dot1x
Specifies to clear all dot1x sessions.
all
Specifies to clear all sessions.
interface INTERFACE-ID
Specifies a port to clear sessions.
mac-address MAC-ADDRESS
Specifies a specific user to clear session.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to clear the authentication sessions.
Example
This example shows how to remove authentication sessions on Ethernet port 1/0/1.