Portal User-Dhcp-Only - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Examples
# Enable online detection of IPv4 portal users on GigabitEthernet 1/0/1. Configure the detection type
as ICMP, the maximum number of detection attempts as 5, the detection interval as 10 seconds, and
the user idle timeout as 300 seconds.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname–GigabitEthernet1/0/1] portal user-detect type icmp retry 5 interval 10 idle 300
Related commands
display portal

portal user-dhcp-only

Use portal user-dhcp-only to allow only users with DHCP-assigned IP addresses to pass portal
authentication.
Use undo portal user-dhcp-only to restore the default.
Syntax
portal [ ipv6 ] user-dhcp-only
undo portal [ ipv6 ] user-dhcp-only
Default
Both users with DHCP-assigned IP addresses and users with static IP addresses can pass portal
authentication to come online.
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.
To ensure that IPv6 users can pass portal authentication when this feature is enabled, disable the
temporary IPv6 address feature on terminal devices. Otherwise, IPv6 users will use temporary IPv6
addresses to access the IPv6 network and will fail portal authentication.
Examples
# Allow only users with DHCP-assigned IP addresses on GigabitEthernet 1/0/1 to pass portal
authentication. (Wired application).
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] portal user-dhcp-only
# Allow only users with DHCP-assigned IP addresses on service template service1 to pass portal
authentication. (Wireless application.)
<Sysname> system-view
[Sysname] wlan service-template service1
376

Advertisement

Table of Contents
loading

Table of Contents