1-24
[Switch-isp-aabbcc] scheme radius-scheme radius1
[Switch-isp-aabbcc] quit
# Configure RADIUS scheme
radius1
.
[Switch] radius scheme radius1
[Switch-radius-radius1] primary authentication 10.110.91.164 1812
[Switch-radius-radius1] primary accounting 10.110.91.164 1813
[Switch-radius-radius1] key authentication aabbcc
[Switch-radius-radius1] key accounting aabbcc
[Switch-radius-radius1] server-type extended
[Switch-radius-radius1] user-name-format with-domain
[Switch-radius-radius1] quit
# Specify
aabbcc
as the mandatory authentication domain for Ethernet 1/0/1.
[Switch] interface ethernet 1/0/1
[Switch-Ethernet1/0/1] dot1x mandatory-domain aabbcc
[Switch-Ethernet1/0/1] quit
# Enable 802.1X globally.
[Switch] dot1x
# Enable 802.1X for Ethernet 1/0/1.
[Switch] interface ethernet 1/0/1
[Switch-Ethernet1/0/1] dot1x
[Switch-Ethernet1/0/1] quit