208
•
Allow up to 16 OUI values to be configured and allow one terminal that uses any of the OUI values
to access the port in addition to an 802.1X user.
Figure 74
Network diagram
Configuration procedure
Configurations on the host and RADIUS servers are not shown. The following configuration steps cover
some AAA/RADIUS configuration commands. For more information about the commands, see
Security
Command Referenced
.
1.
Configure the RADIUS protocol:
# Configure a RADIUS scheme named
radsun
.
<Device> system-view
[Device] radius scheme radsun
[Device-radius-radsun] primary authentication 192.168.1.2
[Device-radius-radsun] primary accounting 192.168.1.3
[Device-radius-radsun] secondary authentication 192.168.1.3
[Device-radius-radsun] secondary accounting 192.168.1.2
[Device-radius-radsun] key authentication name
[Device-radius-radsun] key accounting money
[Device-radius-radsun] timer response-timeout 5
[Device-radius-radsun] retry 5
[Device-radius-radsun] timer realtime-accounting 15
[Device-radius-radsun] user-name-format without-domain
[Device-radius-radsun] quit
# Configure ISP domain
sun
to use RADIUS scheme
radsun
for authentication, authorization, and
accounting of all types of users. Specify that the ISP domain can contain up to 30 users.
[Device] domain sun
[Device-isp-sun] authentication default radius-scheme radsun
[Device-isp-sun] authorization default radius-scheme radsun
[Device-isp-sun] accounting default radius-scheme radsun
[Device-isp-sun] access-limit enable 30
[Device-isp-sun] quit
2.
Configure 802.1X:
# Set the 802.1X authentication method to CHAP. (This configuration is optional. By default, the
authentication method is CHAP for 802.1X.)
[Device] dot1x authentication-method chap
3.
Configure port security:
# Enable port security.