The arp status-detect command enables association between ARP and interface status.
The undo arp status-detect command disables association between ARP and interface status.
By default, association between ARP and interface status is disabled, an interface sends ARP probe messages in strict mode, ARP probe messages are sent at an interval of 1000 milliseconds, an interface sends ARP probe messages for three consecutive times.
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the destination IP address of ARP probe messages sent by an interface. The destination IP address of ARP probe messages must be on the same network segment as the IP address of the local interface. The probed device does not need to be configured. |
The value is in dotted decimal notation. |
interval detect-interval |
Specifies the interval at which ARP probe messages are sent. |
The value is an integer ranging from 200 to 10000, in milliseconds. |
times detect-times |
Specifies the maximum number of times an interface can consecutively send ARP probe messages. If no ARP reply messages are received within the specified period, the protocol status of the interface is set to Down. |
The value is an integer ranging from 1 to 10. |
mode loose |
Indicates that an interface sends ARP probe messages in loose mode.
|
- |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, FlexE sub-interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view
Usage Scenario
To minimize the impact of device faults on services and improve network availability, a network device must be able to quickly detect communication faults of devices that are not directly connected. Then, measures can be taken to quickly rectify the faults to ensure the normal running of services.
Association between ARP and interface status allows the local interface to send ARP probe packets to the peer interface and checks whether the peer interface can properly forward packets based on whether a reply packet is received. This triggers fast route convergence.Precautions
Before enabling association between ARP and interface status, run the ip address ip-address { mask | mask-length } [ sub ] command to configure the IP address of the local interface.
In the sub-interface view, this command applies only to Layer 3 sub-interfaces. Set the interval at which ARP probe messages are sent to a large value to prevent interface flapping upon operations such as primary/secondary switching.<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] ip address 10.1.1.1 24 [*HUAWEI-GigabitEthernet0/1/1] arp status-detect 10.1.1.2 [*HUAWEI-GigabitEthernet0/1/1] arp status-detect mode loose