XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
59-19
1. PC, user can access the network through the switch.
2. Public network, this part can be free or other switch devices.
3. Server, it includes:
MAC binding server, it is used to save the authenticated terminal mac address;
Radius server, it is used for the portal authentication and accounting;
Portal server, it is used for the portal authentication;
MAC binding server, Radius server and portal server can be the same one device. The
mac binding server is the spread on the radius server.
Configure as the following steps:
1. Configure the related authentication key, authentication server, accounting server and
aaa mode of the radius server under the global mode:
switch (config)#radius-server key 0 test
switch (config)#radius-server authentication host 192.16.1.26
switch (config)#radius-server accounting host 192.16.1.26
switch (config)#aaa-accounting enable
switch (config)#aaa enable
switch (config)#aaa group server radius radius_aaa_1
switch config-sg-radius)# server 192.16.1.26
switch(config)#interface vlan 192
switch(config-if-vlan1)#ip address 192.16.1.50 255.255.255.0
switch(config)#free-resource 1 destination ipv4 192.16.1.26/32
2. Configure the portal function, portal server under the portal instance:
Switch (config)#captive-portal
Switch (config-cp)#enable