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 the Rule ARP or ND entry feature for portal clients.
Use undo portal refresh { arp | nd } enable to disable the Rule ARP or ND entry feature for portal
clients.
Syntax
portal refresh { arp | nd } enable
undo portal refresh { arp | nd } enable
Default
The Rule ARP or ND entry feature is enabled for portal clients.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
arp: Enables the Rule ARP entry feature.
nd: Enables the Rule ND entry feature.
291