Configuring online detection of portal users

About online detection for portal users

Use the online detection feature to quickly detect abnormal logouts of portal users. Configure ARP or ICMP detection for IPv4 portal users. Configure ND or ICMPv6 detection for IPv6 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:

Restrictions and guidelines

ARP detection and ND detection apply only to direct and re-DHCP portal authentication. ICMP detection applies to all portal authentication modes.

Procedure

  1. Enter system view.

    system-view

  2. Enter Layer 3 interface view.

    interface interface-type interface-number

  3. Configure online detection of portal users.

    IPv4:

    portal user-detect type { arp | icmp } [ retry retries ] [ interval interval ] [ idle time ]

    IPv6:

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

    By default, online detection is disabled for portal users on an interface.