Network to Media Resolution (ARP & NDP)

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

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 Description

ip-address

IPv4 address

mac-address

MAC address

Default

N/A

Configuration Mode

config

History

1.5

Example

Copy
Copied!
            

ufmapl [ mgmt-sa ] (config) # arp 172.30.0.1 00:00:5E:00:01:01

Related Commands

show ip arp

Notes

show arp [static]

Displays the ARP table.

Syntax Description

N/A

Default

N/A

Configuration Mode

Any configuration mode

History

1.5

Example

Copy
Copied!
            

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-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 Description

ipv6-address

IPv6 address

ifname

Management interface (i.e. eth0, eth1)

mac-address

MAC address

Default

N/A

Configuration Mode

config

History

4.1.0

Example

Copy
Copied!
            

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

Clears the dynamic neighbors cache.

Syntax Description

N/A

Default

N/A

Configuration Mode

config

History

4.1.0

Example

Copy
Copied!
            

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 [static]

Displays the Neighbor Discovery Protocol (NDP) table.

Syntax Description

static

Filters only the table of the static entries

Default

N/A

Configuration Mode

Any configuration mode

History

4.1.0

Example

Copy
Copied!
            

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

© Copyright 2023, NVIDIA. Last updated on Feb 8, 2024.