The user detect command sets an interval and the number of times for detecting users.
The undo user detect command restores the default setting of user detection.
The user detect adjustment system-state command configures the device to delay user detection based on the system status and to send a detection packet at two detection intervals.
The undo user detect adjustment system-state command disables the device from delaying user detection based on the system status.
By default, user detection can be performed for 5 times and the detection interval is 30 seconds. If IPoE users send traffic to the device, the device sends ARP or ND probe packets to the IPoE users.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
interval time |
Specifies the interval for detecting users by sending ARP or ND probe packets.If the value is set to 0, users are not detected using ARP or ND probe packets. If no user probe failures are recorded in ND packet-based probe, the system doubles the probe interval. |
The value is 0, or ranges from 20 to 1800, in seconds. The default value is 30 seconds. When the value is 0, it indicates that no detection is performed. |
datacheck |
Indicates that ARP or ND probe packets are not sent when there is IPoE user traffic. If datacheck is not configured, ARP or ND probe packets are sent when there is IPoE user traffic. |
- |
retransmit num |
Specifies the number of times for detecting users by sending ARP or ND probe packets. |
The value ranges from 2 to 120. The default value is 5. |
Usage Scenario
To detect whether IPoE users are online normally, the device periodically sends ARP or ND probe packets to the IPoE users. If the device does not receive any response from the IPoE users after the configured interval, the device resends the ARP or ND probe packets. If the IPoE users do not respond after the device resends the ARP or ND probe packets for the configured number of times, the device determines that the IPoE users are in abnormal state and logs them out.IPv6 ND probing and IPv4 ARP probing for an IPoE dual-stack user can also be controlled using the user detect command.
Prerequisites
Before running this command, set the access type of the IPoE users using the access-type command.
Configuration Impact
Precautions
In VS mode, this command is supported only by the admin VS.
If the number of retransmissions is less than 5, users may be logged out due to detection failures. If the retransmission interval is less than 30 seconds, users may be logged out due to detection failures. If the number of retransmissions is less than 5, the retransmission interval is less than 30 seconds, users may be logged out due to detection failures.<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1.3 [*HUAWEI-GigabitEthernet0/1/1.3] commit [~HUAWEI-GigabitEthernet0/1/1.3] bas [~HUAWEI-GigabitEthernet0/1/1.3-bas] access-type layer2-subscriber [*HUAWEI-GigabitEthernet0/1/1.3-bas] commit [~HUAWEI-GigabitEthernet0/1/1.3-bas] user detect retransmit 10 interval 50