33
•
Can configure only VLANs 1 to 20 and interfaces Ten-GigabitEthernet 1/0/1 to
Ten-GigabitEthernet 1/0/4.
The switch and the FreeRADIUS server use a shared key of
expert
and authentication port
1812
.
The switch delivers usernames with their domain names to the server.
Figure 3 Network diagram
Configuration procedure
Make sure the settings on the switch and the RADIUS server match.
1.
Configure the switch:
# Assign VLAN-interface 2 an IP address from the same subnet as the Telnet user.
<Switch> system-view
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 192.168.1.70 255.255.255.0
[Switch-Vlan-interface2] quit
# Assign VLAN-interface 3 an IP address from the same subnet as the RADIUS server.
[Switch] interface vlan-interface 3
[Switch-Vlan-interface3] ip address 10.1.1.2 255.255.255.0
[Switch-Vlan-interface3] quit
# Enable Telnet server.
[Switch] telnet server enable
# Enable scheme authentication on the user lines for Telnet users.
[Switch] line vty 0 63
[Switch-line-vty0-63] authentication-mode scheme
[Switch-line-vty0-63] quit
# Create RADIUS scheme
rad
and enter RADIUS scheme view.
[Switch] radius scheme rad
# Specify the primary server address and the service port in the scheme.
[Switch-radius-rad] primary authentication 10.1.1.1 1812
# Set the shared key to
expert
in the scheme for the switch to authenticate to the server.
[Switch-radius-rad] key authentication simple expert
[Switch-radius-rad] quit
# Specify scheme
rad
as the authentication and authorization schemes for ISP domain
bbb
.
IMPORTANT:
Because RADIUS user authorization information is piggybacked in authentication responses,
the authentication and authorization methods must use the same RADIUS scheme.
Internet
Switch
Telnet user
192.168.1.58/24
Vlan-int 2
192.168.1.70/24
Vlan-int 3
10.1.1.2/24
RADIUS server
10.1.1.1/24
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...