ARP Configuration Examples

The following example:

The following example enables gratuitous ARP and ARP learning for ARP replies on VLAN 1:

System(rw)->configure
System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ip gratuitous-arp reply
System(rw-config-intf-vlan.0.1)->ip gratuitous-arp-learning reply
System(rw-config-intf-vlan.0.1)->exit
System(rw-config)->

The following example enables proxy ARP for both default and local routes:

System(rw)->configure
System(rw-config)->ip prox
System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ip proxy-arp default-route local
System(rw-config-intf-vlan.0.1)->exit
System(rw-config)->

Configuring the ARP Table describes how to configure the ARP table.

Click to expand in new window

Configuring the ARP Table

Step Task Command(s)
1 Add mapping entries to the ARP table with the option of configuring them as temporary. set arp ip-address mac-address [interface interface] [temp]
2 In configuration command mode, add permanent (static) entries to the ARP table (S-, K-Series). arp ip-address mac-address [interface interface]
3 Optionally, in configuration command mode, change the duration that temporary ARP entries will stay in the ARP table before expiring (S-, K-Series). arp timeout seconds
4 Optionally, in configuration command mode, change the duration to wait before retransmitting ARP requests when trying to resolve ARP entries (S-, K-Series). arp retransmit-time seconds
5 Optionally, in interface configuration command mode, override the default ARP update process.
  • ignore - Ignore all gratuitous ARP frames, no updates will occur. This option will also prevent any new learning from gratuitous arps, if the command ip gratuitous-arp-learning was used.
  • reply - Update from gratuitous arp reply only.
  • request - Update from gratuitous arp request only.
ip gratuitous-arp {ignore | reply | request}
6 Optionally, in interface configuration command mode, allow an interface to learn new ARP bindings using gratuitous ARP.
  • both - Allows learning from both gratuitous arp reply and request.
  • reply - Allows learning from gratuitous arp reply.
  • request - Allows learning from gratuitous arp request.
ip gratuitous-arp-learning {both | reply | request}
7 Optionally, in interface configuration command mode, enable proxy ARP on an interface.
  • default-route - Sets the router to respond to ARP requests for hosts that are only reachable via the default route. Typically, proxy arp is only used to reply to requests for host that are reachable via a non-default route.
  • local - Allows the router to respond to ARP requests that are received on the interface to which this command is applied if the target IP address of the request is reachable on the interface that received the request.
ip proxy-arp [default-route] [local]
8 Optionally, in interface configuration command mode, remove the multicast restriction on ARP packets. ip multicast-arp-learning
9 Optionally, in interface configuration mode, configure the router to respond to all ARP and Neighbor Discovery requests. arp-nd-proxy-all