This section describes how to set an aging time for neighbor entries in the stale state. A short aging time allows the device to delete neighbor entries in the stale state quickly.
Procedure
- Set an aging time for a neighbor entry in the stale state in the system view.
- Access the system view.
system-view
- Set the aging time for a neighbor entry in the stale state.
ipv6 nd stale-timeout timeout-value
The default aging time of neighbor entries in the stale state is 1200s in the system view.
- Set an aging time for a neighbor entry in the stale state in the interface view.
- Access the system view.
system-view
- Access the interface view.
interface interface-type interface-number
- Set the aging time for a neighbor entry in the stale state on the interface.
ipv6 nd stale-timeout timeout-value
By default, no aging time is set for neighbor entries in the stale state in the interface view, and all interfaces use the global configuration.