Configuring an 802.1X client username and password

An 802.1X client-enabled device uses the configured username and password for 802.1X authentication.

Make sure the username and password configured on the device is consistent with the username and password configured on the authentication server. If any inconsistency occurs, the device cannot pass 802.1X authentication to access the network.

To configure an 802.1X client username and password on an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Ethernet interface view.

interface interface-type interface-number

N/A

3. Configure an 802.1X client username.

dot1x supplicant username username

By default, no 802.1X client username exists.

4. Set an 802.1X client password.

dot1x supplicant password { cipher | simple } string

By default, no 802.1X client password exists.