ip route-static arp-request
Use ip route-static arp-request to enable periodic sending of ARP requests to the next hops of static routes.
Use undo ip route-static arp-request to disable periodic sending of ARP requests to the next hops of static routes.
Syntax
ip route-static arp-request [ interval interval ]
undo ip route-static arp request
Default
Periodic sending of ARP requests to the next hops of static routes is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies an ARP request sending interval in the range of 1 to 300 seconds. The default value is 5.
Usage guidelines
When the following conditions occur, a recursive static route becomes inactive:
The static route uses a host route to reach its direct next hop.
The host route is obtained either by specifying the recursive-lookup host-route keyword in the ip route-static command or by routing policy-based recursive lookup.
The host route is unavailable because the direct next hop cannot send gratuitous ARP messages and consequently no ARP entry exists for that host route on the device.
To resolve this problem, you can configure this command to enable the device to periodically send ARP requests to the direct next hop. When the device receives an ARP response from the direct next hop, it stops sending ARP requests and activates the recursive static route.
This command applies only to a recursive static route that meets the following requirements:
The static route has no output interface specified.
The static route fails the next-hop recursion.
Examples
# Enable sending of ARP requests to the next hops of static routes and set the sending interval to 10 seconds.
<Sysname> system-view [Sysname] ip route-static arp-request interval 10
Related commands
ip route-static
protocol nexthop recursive-lookup