225
userLoginWithOUI configuration example
Network requirements
As shown in
, a client is connected to the device through Ten-GigabitEthernet 1/0/1. The
device authenticates the client with a RADIUS server in ISP domain
sun
. If the authentication
succeeds, the client is authorized to access the Internet.
•
The RADIUS server at 192.168.1.2 acts as the primary authentication server and the secondary
accounting server. The RADIUS server at 192.168.1.3 acts as the secondary authentication
server and the primary accounting server. The shared key for authentication is
name
, and the
shared key for accounting is
money
.
•
All users use the authentication, authorization, and accounting methods of ISP domain
sun
.
•
The RADIUS server response timeout time is 5 seconds. The maximum number of RADIUS
packet retransmission attempts is 5. The device sends real-time accounting packets to the
RADIUS server at 15-minute intervals, and sends usernames without domain names to the
RADIUS server.
Configure Ten-GigabitEthernet 1/0/1
to allow only one 802.1X user and a user that uses one of the
specified OUI values to be authenticated.
Figure 76 Network diagram
Configuration procedure
The following configuration steps cover some AAA/RADIUS configuration commands. For more
information about the commands, see
Security Command Reference
.
Make sure the host and the RADIUS server can reach each other.
1.
Configure AAA:
# 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 simple name
[Device-radius-radsun] key accounting simple 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
.
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...