![HP FlexNetwork MSR Series Command Reference Manual Download Page 314](http://html.mh-extra.com/html/hp/flexnetwork-msr-series/flexnetwork-msr-series_command-reference-manual_163078314.webp)
296
portal pre-auth ip-pool
Use
portal pre-auth ip-pool
to specify a preauthentication IP address pool for portal users.
Use
undo portal pre-auth ip-pool
to restore the default.
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 the IPv4 address pool
abc
for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] 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 redirect log enable
Use
portal redirect log enable
to enable logging for portal redirect.
Use
undo portal redirect log enable
to disable logging for portal redirect.
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...