The nd snooping wait-time life-time command configures the wait time for a device to send an NS packet to detect the user status and the lifetime of an ND snooping binding entry when a device detects the user status.
The undo nd snooping wait-time life-time command restores the default settings.
By default, the wait time for a device to send an NS packet to detect the user status is 250 milliseconds and the lifetime of an ND snooping binding entry when a device detects the user status is 500 milliseconds.
Parameter |
Description |
Value |
---|---|---|
wait-time |
Specifies the wait time for a device to send an NS packet to detect the user status. |
The value is an integer that ranges from 1 to 5000, in milliseconds. The default value is 250 milliseconds. |
life-time |
Specifies the lifetime of an ND snooping binding entry when a device detects the user status. |
The value is an integer that ranges from 1 to 10000, in milliseconds. The default value is 500 milliseconds. |
Usage Scenario
A device updates the ND snooping binding table by detecting the received NA packets. If an ND snooping binding entry exists and the device receives an NA packet with the IP address the same as that in the corresponding entry and inbound port number different from that in the entry, the NA packet conflicts with the entry. The device is then triggered to send an NS packet to detect whether the user corresponding to the entry is online. You can run the nd snooping wait-time wait-time life-time life-time command to configure the wait time for a device to send an NS packet to detect the user status and the lifetime of an ND snooping binding entry when a device detects the user status.
Prerequisites
ND snooping has been enabled using the nd snooping enable command in the system view.
Precautions
After the device receives an NA packet conflicting with an ND snooping binding entry and user status detection is enabled, periodic user status detection is suspended.
# Set the wait time for a device to send an NS packet to detect the user status to 300 milliseconds and the lifetime of an ND snooping binding entry when a device detects the user status to 2000 milliseconds.
<HUAWEI> system-view [HUAWEI] nd snooping enable [HUAWEI] nd snooping wait-time 300 life-time 2000