
C613-50186-01 Rev B
Command Reference for AR2050V
654
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP A
DDRESSING
AND
P
ROTOCOL
C
OMMANDS
ARP
OPPORTUNISTIC
-
ND
arp opportunistic-nd
Overview
Use this command to enable opportunistic neighbor discovery for the global ARP
cache. This command changes the behavior for unsolicited ARP packet forwarding
on the device.
When using VRF-lite, you can use this command to enable opportunistic neighbor
discovery for a named VRF instance.
Use the
no
variant of this command to disable opportunistic neighbor discovery
for the global ARP cache.
Syntax
arp opportunistic-nd
no arp opportunistic-nd
Syntax (VRF-lite)
arp opportunistic-nd [vrf <
vrf-name
>]
no arp opportunistic-nd [vrf <
vrf-name
>]
Default
Opportunistic neighbor discovery is disabled by default.
Mode
Global Configuration
Usage
When opportunistic neighbor discovery is enabled, the device will reply to any
received unsolicited ARP packets (but not gratuitous ARP packets). The source
MAC address for the unsolicited ARP packet is added to the ARP cache, so the
device forwards the ARP packet. When opportunistic neighbor discovery is
disabled, the source MAC address for the ARP packet is not added to the ARP
cache, so the ARP packet is not forwarded by the device.
Note this command enables or disables opportunistic neighbor discovery for a VRF
instance if the
vrf
parameter and an instance name are applied. If a VRF instance is
not specified, then opportunistic neighbor discovery is enabled or disabled for
device ports configured for IPv4.
Examples
To enable opportunistic neighbor discovery for the global ARP cache, enter:
awplus#
configure terminal
awplus(config)#
arp opportunistic-nd
To disable opportunistic neighbor discovery for the global ARP cache, enter:
awplus#
configure terminal
awplus(config)#
no arp opportunistic-nd
Parameter
Description
vrf
Apply this command to a VRF instance.
<
vrf-name
>
The name of the VRF instance.