101
Ste
Command
Remarks
3. Specify an IPv4 portal
authentication domain.
portal domain domain-name
By default, no ISP domain is
specified for IPv4 portal users on
the interface.
To specify an IPv6 portal authentication domain:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Specify an IPv6
portal authentication
domain.
portal ipv6 domain domain-name
By default, no ISP domain is
specified for IPv6 portal users on the
interface.
Configuring portal detection functions
Configuring online detection of portal users
Configure online detection of portal users on an interface to find abnormal logouts in time.
If a portal user is idle for the specified period of time (idle time), the device sends detection packets to the
user at intervals (interval interval) to identify whether the user is still online.
• If the device receives no reply from the user after sending detection packets to the user for the
maximum number of times (retry retries), it considers that the portal user is offline and logs out the
user.
• If the device receives a reply, it considers that the portal user is online, and resets the idle timer for
the user. The device repeats the previous procedure to continue detecting the online status of the
user.
IPv4 detection packets can be ARP requests or ICMP requests. IPv6 detection packets can be ND requests
or ICMPv6 requests.
ARP and ND detections apply only to direct and re-DHCP portal authentication. ICMP detection applies
to all portal authentication modes.
To configure online detection of IPv4 portal users:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Configure online
detection of IPv4
portal users.
portal user-detect type { arp | icmp }
[ retry retries ] [ interval interval ] [ idle
time ]
By default, this function is disabled
on the interface.
To configure online detection of IPv6 portal users: