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 | 
            
             | |
| 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 | 
            
             | |
| 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 | 
            
             | |
| Related Commands | show ipv6 neighbor ipv6 route arp clear ipv6 neighbors | |
| Notes | 
 | |
| clear ipv6 neighbors Clears the dynamic neighbors cache. | ||
| Syntax Description | N/A | |
| Default | N/A | |
| Configuration Mode | config | |
| History | 4.1.0 | |
| Example | 
            
             | |
| Related Commands | ipv6 neighbor show ipv6 neighbor arp | |
| Notes | 
 | |
| 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 | 
            
             | |
| Related Commands | ipv6 neighbor clear ipv6 neighbor show ipv6 | |
| Notes | ||