14 configuring arp, 1 arp configuration – CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 103

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 103 of 350

14 Configuring ARP

14.1 ARP Configuration

The Address Resolution Protocol (ARP) is a protocol used to dynamically map between Internet
host addresses and Ethernet addresses.
ARP caches Internet-Ethernet address mappings. When an interface requests a mapping for an
address not in the cache, ARP queues the message, which requires the mapping, and broadcasts a
message on the associated network requesting the address mapping. If a response is provided, the
new mapping is cached and any pending message is transmitted. ARP will queue at most one
packet while waiting for a response to a mapping request; only the most recently transmitted
packet is kept. If the target host does not respond after 3 requests, the host is considered to be
down, allowing an error to be returned to transmission attempts during this interval. If a target
host does not send message for a period (normally one hour), the host is considered to be
uncertainty, and several requests (normally 6, 3 unicast and 3 broadcast) will send to the host
before delete the arp entry.
ARP entries may be added, deleted or changed manually. Manually added entries may be
temporary or permanent.

14.1.1 Configuring ARP
In this configuration example, interface eth-0-1 assigned with address 11.11.11.1/24, on subnet
11.11.11.0/24, there are two hosts, and their IP addresses are 11.11.11.2, 11.11.11.3, MAC
address are 001a-a011-eca2, 001a-a011-eca3. ARP entry of host 11.11.11.2 is added manually,
the entry of host 11.11.11.3 is added dynamically.
Time-out period of ARP entries for interface eth-0-1 configure to 20 minutes, ARP request retry
delay on interface eth-0-1 configure to 2 seconds.

ARP details

“show ip arp” command displays all arp entries,
“show ip arp summary” command displays statistical information of arp entries.

DUT#configure terminal

Enter the Configure mode

DUT(config)#arp 11.11.11.2 1a.a011.eca2

Add static arp entry

Interface details

“show interface IFNAME” command displays all configuration on specifically

interface.

Advertising