show running-config arp

Displays static ARP entries created in the running configuration, using the arp command, with an option to display ARP ACLs.

Syntax

show running-config arp
show running-config arp ip-address [ ethernet slot / port | ve ve-id ]
show running-config arp access-list
show running-config arp access-list arp-acl-name [ permit ip host [ host-ip-address [ mac host [ host-mac-address ] ] ] ]

Parameters

ip-address
Specifies the IPv4 address of a static ARP.
ethernet
Specifies a physical Ethernet interface.
slot
Specifies a valid slot number. For devices that do not support line cards, specify 0.
port
Specifies a valid port number.
ve ve-id
Specifies a virtual ethernet (VE) interface.
access-list arp-acl-name
Specifies the name of an ARP ACL defined on the device.
permit ip host host-ip-address
Specifies rules that permit ARP messages from hosts specified by both IPv4 and MAC addresses.
host-ip-address
Specifies the IPv4 address.
mac host host-mac-address
Specifies the MAC address.

Modes

Privileged EXEC mode

Examples

The following example displays a sample run of the show running-config arp command.

device# show running-config arp
device# arp 12.1.1.2 0000.0000.0001 interface Ethernet 1/72

The following example displays a sample run of the show running-config arp access-list option.

device# show running-config arp access-list
device# arp access-list acl1
 permit ip host 13.1.1.2 mac host 0000.0000.0002
!