image image image image image

On This Page

IPv4 network use Address Resolution Protocol (ARP) to resolve IP address to MAC address.

arp


arp <ip-address> <mac-address>
no arp <ip-address> <mac-address>

Sets a static ARP entry.
The no form of the command deletes the static ARP.

Syntax Descriptionip-addressIPv4 address
mac-addressMAC address
DefaultN/A
Configuration Modeconfig
History1.5
Example
ufmapl [ mgmt-sa ] (config) # arp 172.30.0.1 00:00:5E:00:01:01
Related Commands

show ip arp

Notes

show arp


show arp [static]

Displays the ARP table.

Syntax DescriptionN/A
DefaultN/A
Configuration ModeAny configuration mode
History1.5
Example
ufmapl [ mgmt-sa ] (config) # show arp
ARP cache contents 
IP 172.30.0.1 maps to MAC 00:00:5E:00:01:01 (interface eth0)

ufmapl [ mgmt-sa ] (config) # show arp static
Static ARP entries 
IP 1.1.1.1 maps to MAC 00:01:02:03:04:05
Related Commands

arp

Notes

ipv6 neighbor


ipv6 neighbor <ipv6-address> <ifname> <mac-address>
no ipv6 neighbor <ipv6-address> <ifname> <mac-address>

Adds a static neighbor entry.
The no form of the command deletes the static entry.

Syntax Descriptionipv6-addressIPv6 address
ifnameManagement interface (i.e. eth0, eth1)
mac-addressMAC address
DefaultN/A
Configuration Modeconfig
History4.1.0
Example
ufmapl [ mgmt-sa ] (config) # ipv6 neighbor 2001:db8:701f::8f9 eth0
00:11:22:33:44:55 
Related Commands

show ipv6 neighbor
ipv6 route
arp
clear ipv6 neighbors

Notes
  • ARP is used only with IPv4. In IPv6 networks, Neighbor Discovery Protocol (NDP) is used similarly.
  • Use The no form of the command to remove static entries. Dynamic entries can be cleared via the “clear ipv6 neighbors” command.

clear ipv6 neighbors


clear ipv6 neighbors

Clears the dynamic neighbors cache.

Syntax DescriptionN/A
DefaultN/A
Configuration Modeconfig
History4.1.0
Example
ufmapl [ mgmt-sa ] (config) # clear ipv6 neighbors
Related Commands

ipv6 neighbor
show ipv6 neighbor
arp

Notes
  • Clearing Neighbor Discovery Protocol (NDP) cache removes only the dynamic entries learned and not the static entries configured
  • Use the no form of the command to remove static entries

show ipv6 neighbors


show ipv6 neighbors [static]

Displays the Neighbor Discovery Protocol (NDP) table.

Syntax DescriptionstaticFilters only the table of the static entries
DefaultN/A
Configuration ModeAny configuration mode
History4.1.0
Example
ufmapl [ mgmt-sa ] (config) # show ipv6 neighbors
IPv6 Address                             Age      MAC Address          State         Interf
-------------------------------------    -----    -----------------    ----------    ------
2001::2                                  9428     AA:AA:AA:AA:AA:AA    permanent     eth0
Related Commands

ipv6 neighbor
clear ipv6 neighbor
show ipv6

Notes