Configuring online detection of portal users

Configure online detection to quickly detect abnormal logouts of portal users.

If the device receives no packets from a portal user within the idle time, the device detects the user's online status as follows:

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:

Step

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 feature is disabled on the interface.

To configure online detection of IPv6 portal users:

Step

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 IPv6 portal users.

portal ipv6 user-detect type { icmpv6 | nd } [ retry retries ] [ interval interval ] [ idle time ]

By default, this feature is disabled on the interface.