The ipv6 nd stale-timeout command sets the timeout period of the STALE state of ND entries.
The undo ipv6 nd stale-timeout command restores the default setting.
By default, the timeout period of the STALE state of ND entries is 1200 seconds.
| Parameter | Description | Value |
|---|---|---|
timeout-value |
Specifies the timeout period of the STALE state of ND entries. |
The value is an integer that ranges from 60 to 172800, in seconds. The default value is 1200. You are recommended to use the default value. |
Usage Scenario
The STALE state of an ND entry indicates that whether the neighbor is reachable is unknown. Probing whether the neighbor is reachable is not performed unless there is a packet to be sent to this neighbor.
The timeout period of the STALE state of ND entries is a variable. If you want to quickly clear invalid ND entries, you can set the timeout period to a smaller value through the ipv6 nd stale-timeout command to speed up entry aging.
Prerequisites
The ipv6 command has been run in the system view to enable a routing device to forward IPv6 packets.
The ipv6 enable command has been run in the interface view to enable the IPv6 function on the interface.
Configuration Impact
After the ipv6 nd stale-timeout command is run, the status of ND entries can be updated after the timeout period of the STALE state of ND entries expires.
Precautions
The system probes the validity of ND entries again after the timeout period of the STALE state of ND entries expires. If the neighbor is reachable, the ND entry status changes to REACHABLE; otherwise, the ND entry is deleted.
An ND entry contains information about the IPv6 address of the neighbor, link-layer address of the neighbor, status of the ND entry, interface name of the ND entry, time when the ND entry is created, VLAN ID of the ND entry, and VPN name of the neighbor. For detailed explanation, see the description of the output of the display ipv6 neighbors command.