arp detect-times

Function

The arp detect-times command sets the aging probe times of dynamic Address Resolution Protocol (ARP) entries.

The undo arp detect-times command restores the default setting.

By default, the aging probe times of dynamic ARP entries is 3.

Format

arp detect-times detect-times

undo arp detect-times

Parameters

Parameter Description Value
detect-times

Specifies the aging probe times of dynamic ARP entries.

The value is an integer ranging from 0 to 10.

Views

Layer 2 100GE interface view, 100ge sub-interface view, 100GE interface view, Layer 2 10GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE-L2 view, 25GE sub-interface view, 25GE interface view, 400GE-L2 view, 400GE sub-interface view, 400GE interface view, Layer 2 40GE interface view, 40GE sub-interface view, 40GE interface view, Layer 2 50GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, GMPLS-UNI interface view, Global VE sub-interface view, Global VE interface view, PW-VE sub-interface view, PW-VE interface view, VBDIF interface view, VE sub-interface view, VE interface view, VLANIF interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
arp write

Usage Guidelines

Usage Scenario

To set the aging probe times of dynamic ARP entries, run the arp detect-times detect-times command. This reduces address resolution errors. Before aging a dynamic ARP entry, the system sends probe messages. If the system fails to receive any response for a specified number of times, the system deletes the ARP entry.

Precautions

If times-value is set to 0, dynamic ARP entries are aged directly without being probed. You are advised not to set times-value to 0. Otherwise, ARP entry update is affected, which causes service traffic forwarding failures.

Example

# Set the aging probe times to 5 for dynamic ARP entries on GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] arp detect-times 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >