146
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip arp
ip arp
To configure a static Address Resolution Protocol (ARP) entry, use the ip arp command. To remove a
static ARP entry, use the no form of this command.
ip arp ip-address mac-address
no ip arp ip-address
Syntax Description
Command Default None
Command Modes Interface configuration mode
Subinterface configuration mode
Command History
Usage Guidelines Use this command on Layer 3 interfaces and Layer 3 subinterfaces.
This command does not require a license but if you want to enable Layer 3 interfaces, you must install
the LAN Base Services license.
Examples This example shows how to configure a static ARP entry on interface Ethernet 1/2:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# ip arp 192.0.2.1 0150.5a03.efab
switch(config-if)#
This example shows how to configure a static ARP entry on a subinterface:
switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# no switchport
switch(config-if)# interface ethernet 1/1.1
switch(config-subif)# ip arp 192.0.2.1 0150.5a03.efab
switch(config-subif)#
ip-address IPv4 address, in A.B.C.D format.
mac-address MAC address in one of the following formats:
• E.E.E
• EE-EE-EE-EE-EE-EE
• EE:EE:EE:EE:EE:EE
• EEEE.EEEE.EEEE
Release Modification
5.0(3)A1(1) This command was introduced.