155
If the device receives no packets from a portal user within the idle time, the device detects the user's
online status as follows:
•
ICMP or ICMPv6 detection
—Sends ICMP or ICMPv6 requests to the user at configurable
intervals to detect the user status.
{
If the device receives a reply within the maximum number of detection attempts, it considers
that the user is online and stops sending detection packets. Then the device resets the idle
timer and repeats the detection process when the timer expires.
{
If the device receives no reply after the maximum number of detection attempts, the device
logs out the user.
•
ARP or ND detection
—Sends ARP or ND requests to the user and detects the ARP or ND
entry status of the user at configurable intervals.
{
If the ARP or ND entry of the user is refreshed within the maximum number of detection
attempts, the device considers that the user is online and stops detecting the user's ARP or
ND entry. Then the device resets the idle timer and repeats the detection process when the
timer expires.
{
If the ARP or ND entry of the user is not refreshed after the maximum number of detection
attempts, the device logs out the user.
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.
Configuring portal authentication server detection
During portal authentication, if the communication between the access device and portal
authentication server is broken, both of the following occur:
•
New portal users are not able to log in.
•
The online portal users are not able to log out normally.
To address this problem, the access device needs to be able to detect the reachability changes of the
portal server quickly and take corresponding actions to deal with the changes.
With the portal authentication server detection feature, the device periodically detects portal packets
sent by a portal authentication server to determine the reachability of the server. If the device
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...