The following example:
System(rw)->set arp 10.21.128.1 00:00:5e:00:01:01 temp System(rw)->configure System(rw-config)->arp timeout 2800 System(rw-config)->arp stale-entry-timeout 900 System(rw-config)->show arp FLAGS: U = Unresolved S = Static L = Local V = VRRP * = Stale B = Best Guess Interface IP Address Hardware Address Flg Age Updated Interface Port --------------- ----------------- --- ---------- ------- ----------- -------- 10.21.128.1 00:00:5e:00:01:01 B 4h55m 1m vlan.0.1 ge.1.1 10.21.130.59 00:11:88:0c:9f:78 L 5h05m - vlan.0.1 host.0.1 --------------- ----------------- --- ---------- ------- ----------- -------- ARP Entries Found: 2 System(rw-config)->
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.
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.
|
ip gratuitous-arp {ignore | reply | request} |
6 | Optionally, in interface configuration command mode, allow an interface to learn new ARP bindings using gratuitous ARP.
|
ip gratuitous-arp-learning {both | reply | request} |
7 | Optionally, in interface configuration command mode, enable proxy ARP on an interface.
|
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 |