Configuring Re-Dhcp Portal Authentication - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

[Switch-radius-rs1] primary authentication 192.168.0.112
[Switch-radius-rs1] primary accounting 192.168.0.112
[Switch-radius-rs1] key authentication simple radius
[Switch-radius-rs1] key accounting simple radius
# Specify that the ISP domain name should not be included in the username sent to the RADIUS
server.
[Switch-radius-rs1] user-name-format without-domain
[Switch-radius-rs1] quit
Configure an authentication domain:
2.
# Create an ISP domain named dm1 and enter its view.
[Switch] domain dm1
# Configure AAA methods for the ISP domain.
[Switch-isp-dm1] authentication portal radius-scheme rs1
[Switch-isp-dm1] authorization portal radius-scheme rs1
[Switch-isp-dm1] accounting portal radius-scheme rs1
[Switch-isp-dm1] quit
# Configure domain dm1 as the default ISP domain for all users. Then, if a user enters the
username without the ISP domain at logon, the authentication methods of the default domain are
used for the user.
[Switch] domain default enable dm1
Configure portal authentication:
3.
# Configure a portal server on the switch, specifying the portal server name as newpt, IP address
as 192.168.0.111, key as plaintext string portal, port number as 50100, and URL as
http://192.168.0.111:8080/portal.
[Switch] portal server newpt ip 192.168.0.111 key simple 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
Configure the switch to perform re-DHCP portal authentication for users on the host. Before a user passes
portal authentication, the DHCP server assigns a private IP address to the host. After a user passes portal
authentication, the DHCP server assigns a public IP address to the host and then the user can access
Internet resources.
Use a RADIUS server serves as the authentication/accounting server.
Figure
45, the host obtains an IP address from the DHCP server.
125

Advertisement

Table of Contents
loading

Table of Contents