H3C S6812 Series Command Reference Manual page 1876

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Examples
# Enable online detection of IPv4 portal users on VLAN-interface 100. Configure the detection type
as ARP, 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 vlan-interface 100
[Sysname–Vlan-interface100] portal user-detect type arp retry 5 interval 10 idle 300
Related commands
display portal
portal user-dhcp-only (interface view)
Use portal user-dhcp-only to enable portal authentication only for users with IP addresses
obtained through DHCP.
Use undo portal user-dhcp-only to disable portal authentication only for users with IP addresses
obtained through DHCP.
Syntax
portal [ ipv6 ] user-dhcp-only
undo portal [ ipv6 ] user-dhcp-only
Default
The user-dhcp-only feature is disabled. Both users with IP addresses obtained through DHCP and
users with static IP addresses can pass portal authentication to get online.
Views
Interface 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.
IPv6 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.
Examples
# Enable portal authentication only for users with IP addresses obtained through DHCP on
VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname–Vlan-interface100] portal user-dhcp-only
Related commands
display portal
62

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents