4.1.3. arp

Syntax

arp ip-addr mac-addr vlan vlanid

no arp ip-addr mac-addr vlan vlanid

Parameter


ip-addr IP address of ARP entry

mac-addr MAC address of ARP entry

vlanid Vlan ID of this arp entry


Defaul

The device contains ARP entries of the vlan interface.

Mode

Global Configuration mode

Usage

Use the arp command to add a static arp entry. Use the no arp command to delete a static arp entry. You can verify your setting by entering the show arp Privileged EXEC command

Example

The following example shows how to configure and view a static arp entry.

Switch(config)# arp 192.168.3.22 00:00:11:11:11:11 vlan 2
Switch# show arp
VLAN Interface IP address HW address Status
----------------- --------------- ------------------ ----------
vlan 1 192.168.0.112 00:D0:00:00:00:01 Dynamic
vlan 2 192.168.3.22 00:00:11:11:11:11 Static