Syntax
portal [ ipv6 ] pre-auth ip-pool pool-name
undo portal [ ipv6 ] pre-auth ip-pool
Default
No preauthentication IP address pool is specified for portal users.
Views
Interface view
Predefined user roles
network-admin
Parameters
ipv6: Specifies IPv6 portal users. Do not specify this keyword for IPv4 portal users.
pool-name: Specifies an IP address pool by its name, a case-insensitive string of 1 to 63 characters.
Usage guidelines
You must use this command to specify a preauthentication IP address pool on a portal-enabled
interface in the following situation:
•
Portal users access the network through a subinterface of the portal-enabled interface.
•
The subinterface does not have an IP address.
•
Portal users need to obtain IP addresses through DHCP.
DHCP assigns an IP address from the specified IP address pool to a user. Then, the user can use
this IP address to perform portal authentication.
The specified IP address pool takes effect when the following requirements are met:
•
The direct portal authentication mode is used on the interface.
•
The specified IP address pool must have existed and been correctly configured.
Examples
# Create IPv4 address pool abc for VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname–Vlan-interface100] portal pre-auth ip-pool abc
Related commands
dhcp server ip-pool (Layer 3—IP Services Command Reference)
display portal
ipv6 dhcp pool (Layer 3—IP Services Command Reference)
portal refresh enable
Use portal refresh { arp | nd } enable to enable ARP or ND entry conversion for portal clients.
Use undo portal refresh { arp | nd } enable to disable ARP or ND entry conversion for portal clients.
Syntax
portal refresh { arp | nd } enable
undo portal refresh { arp | nd } enable
58