< Home

nd user-bind detect

Function

The nd user-bind detect command configures the number of times and interval for sending NS packets to detect the user status.

The undo nd user-bind detect command restores the default setting.

After automatic user status detection is enabled for users mapping ND snooping dynamic binding entries, the default number of detection times is 2, and the default detection interval is 1000 milliseconds.

Format

nd user-bind detect retransmit retransmit-times interval retransmit-interval

undo nd user-bind detect retransmit interval

Parameters

Parameter

Description

Value

retransmit retransmit-times

Specifies the number of times for sending NS packets to detect the user status.

The value is an integer ranging from 1 to 10. The default value is 2.

interval retransmit-interval

Specifies the interval for sending NS packets to detect the user status.

The value is an integer ranging from 1 to 10000, in milliseconds. The default value is 1000 milliseconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After automatic user status detection for users mapping ND snooping dynamic binding entries is enabled, the device sends NS packets to users based on the configured detection times and interval. If no NA packet is returned from a user after NS packets are sent for configured times, the device considers the user to be offline and deletes the mapping ND snooping dynamic binding entry.

You can run the nd user-bind detect command to change the number of times and interval for sending NS packets to detect the user status. On a small network with good network quality, the user returns an NA packet quickly. In this scenario, you can set the interval for sending NS packets to a small value. On a large network with poor network quality, the user returns an NA packet slowly. You can set the interval to a large value to prevent the device from sending the next NS packet before receiving the NA packet. You can change the interval based on the actual network environment.

Prerequisites

Automatic user status detection for users mapping ND snooping dynamic binding entries has been enabled using the nd user-bind detect enable command.

Precautions

After you run the nd user-bind detect enable command, the device sends an NS packet after a period of time. The maximum value of this period is 20 seconds.

Example

# Set the number of times for sending NS packets to 10, and the interval for sending NS packets to 1000 milliseconds.

<HUAWEI> system-view
[HUAWEI] nd user-bind detect enable
[HUAWEI] nd user-bind detect retransmit 10 interval 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >