user detect

Function

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.

Format

user detect retransmit num interval time [ datacheck ]

user detect datacheck

user detect adjustment system-state

undo user detect

undo user detect datacheck

undo user detect adjustment system-state

Parameters

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.

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

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

  • If you specify as zero in the user detect retransmit interval command, the device does not send ARP or ND probe packets to IPoE users no matter whether the IPoE users send traffic to the device. If you specify <time-value> as non-zero in the command, the device sends ARP probe packets to IPoE users when the IPoE users send traffic to the device, and the device sends ARPor ND probe packets to IPoE users when the IPoE users do not send traffic to the device. If the IPoE users do not respond after the device resends the ARP or NDprobe packets for the configured number of times, the device determines that the IPoE users are in abnormal state and logs them out.
  • After you run the user detect retransmit interval datacheck command, the device does not send ARP probe packets to IPoE users when the IPoE users send traffic to the device, and the device sends ARP or ND probe packets to IPoE users when the IPoE users do not send traffic to the device.

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.

Example

# Set the number of times for detecting users to 10 and the detection interval to 50 seconds.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >