98
Figure 33
Network diagram
Configuration procedure
1.
Make sure the DHCP server, the Web server, and the authentication servers have been configured
correctly. (Details not shown.)
2.
Configure an IP address for each interface. (Details not shown.)
3.
Configure DHCP relay:
# Enable DHCP.
<Device> system-view
[Device] dhcp enable
# Enable the DHCP relay agent on VLAN-interface 2.
[Device] interface vlan-interface 2
[Device-Vlan-interface2] dhcp select relay
# Specify the DHCP server 192.168.2.2 on the relay agent interface VLAN-interface 2.
[Device-Vlan-interface2] dhcp relay server-address 192.168.2.2
[Device-Vlan-interface2] quit
4.
Configure a RADIUS scheme:
# Create RADIUS scheme
2000
and enter RADIUS scheme view.
[Device] radius scheme 2000
# Specify the server at 10.11.1.1 as the primary authentication server, and set the authentication
port to 1812.
[Device-radius-2000] primary authentication 10.11.1.1 1812
# Specify the server at 10.11.1.2 as the primary accounting server, and set the accounting port to
1813.
[Device-radius-2000] primary accounting 10.11.1.2 1813
# Set the shared key to
abc
in plain text for secure communication between the authentication
server and the device.
[Device-radius-2000] key authentication simple abc