161
# Configure dm1 as the default ISP domain for all users. Then, if a user enters the username without the
ISP domain at logon, the authentication and accounting methods of the default domain are used for the
user.
[Switch] domain default enable dm1
• Configure portal authentication
# Configure a portal server on the switch, making sure that the IP address, port number and URL match
those of the actual portal server.
[Switch] portal server newpt ip 192.168.0.111 key portal port 50100 url
http://192.168.0.111:8080/portal
# Enable portal authentication on the interface connecting the host.
[Switch] interface vlan-interface 100
[Switch–Vlan-interface100] portal server newpt method direct
[Switch–Vlan-interface100] quit
Configuring re-DHCP portal authentication
Network requirements
As shown in Figure 67:
• The host is directly connected to the switch and the switch is configured for re-DHCP authentication.
The host is assigned with an IP address through the DHCP server. Before passing portal
authentication, the host uses an assigned private IP address. After passing portal authentication, the
host can get a public IP address and access Internet resources.
• A RADIUS server serves as the authentication/accounting server.
Figure 67 Network diagram
Configuration procedure