Packet formats, Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 91

Advertising
background image

79

# Enable 802.1X on port Ten-GigabitEthernet 1/0/1.

[Device] interface ten-gigabitethernet 1/0/1

[Device-Ten-GigabitEthernet1/0/1] dot1x

[Device-Ten-GigabitEthernet1/0/1] quit

# Enable MAC-based access control on the port. (Optional. MAC-based access control is the

default setting.)

[Device] interface ten-gigabitethernet 1/0/1

[Device-Ten-GigabitEthernet1/0/1] dot1x port-method macbased

# Specify aabbcc.net as the mandatory domain.

[Device-Ten-GigabitEthernet1/0/1] dot1x mandatory-domain aabbcc.net

198B

Verifying the configuration

Use the display dot1x interface ten-gigabitethernet 1/0/1 command to verify the 802.1X configuration.

After an 802.1X user passes authentication, you can use the display dot1x sessions command to view the
user connection information.

Advertising