< Home

ipv6 nd stale-timeout

Function

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.

Format

ipv6 nd stale-timeout timeout-value

undo ipv6 nd stale-timeout

Parameters

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.

Views

System view and Interface view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the timeout period of the STALE state of ND entries to 3600 seconds on GE0/0/0.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ipv6 enable
[sysname-GigabitEthernet0/0/0] ipv6 nd stale-timeout 3600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >