306
Default
Both users with IP addresses obtained through DHCP or users with static IP addresses can pass
portal authentication to get online.
IPv6 wireless users use IPv6 temporary addresses to access the IPv6 network even though they
have been assigned DHCPv6 addresses. To prevent such IPv6 users from failing authentication
when the user-dhcp-only feature is enabled, make sure the IPv6 temporary address feature is
disabled on the terminal devices.
Views
Interface view
Service template view
Predefined user roles
network-admin
Parameters
ipv6
: Specifies IPv6 portal users. Do not specify this keyword for IPv4 portal users.
Usage guidelines
With this feature enabled, users with static IP addresses cannot pass portal authentication to get
online.
Examples
# Enable portal authentication only for users with IP addresses obtained through DHCP on
GigabitEthernet 1/0/1. (Wired application).
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] portal user-dhcp-only
# Enable portal authentication only for users with IP addresses obtained through DHCP on service
template
service1
. (Wireless application.)
<Sysname> system-view
[Sysname] wlan service-template service1
[Sysname-wlan-st-service1] portal user-dhcp-only
Related commands
display portal
portal user-logoff after-client-offline enable
Use
portal user-logoff after-client-offline enable
to enable automatic logout for wireless portal
users.
Use
undo portal user-logoff after-client-offline enable
to disable automatic logout for wireless
portal users.
Syntax
portal user-logoff after-client-offline enable
undo portal user-logoff after-client-offline enable
Default
Automatic logout is disabled for wireless portal users. Portal users will not be automatically logged
out after the wireless clients are disconnected from the wireless network.
Summary of Contents for FlexNetwork MSR Series
Page 1005: ...987 ...