
arp
Configures the ARP encapsulation type.
Configures or deletes a static ARP binding.
Syntax: arp {arpa | snap}
[no] arp ipaddress mac-address
arpa
Specifies the standard ARP protocol.
snap
Specifies the IEEE 802.3 style ARP.
ip-address
The IP address to be matched with the MAC address for the ARP cache entry.
mac-address
The Ethernet hardware MAC address to be matched with the IP address for the ARP cache entry. Valid formats are:
HH:HH:HH:HH:HH:HH
HHHH.HHHH.HHHH
where H is a hex character from 0 - F.
ARP Encapsulation Types:
IPriori supports two types of ARP encapsulation:
- arpa - specifies the standard ARP protocol
- snap - Specifies the IEEE 802.3 style ARP.
Use the arp arpa command to enable the ARPA encapsulation protocol on a specified interface.
Use the arp snap command to enable the Snap encapsulation protocol on a specified interface.
Static ARP Bindings:
The IP network layer uses a four-byte address. The Ethernet link layer uses a six-byte MAC address. Binding these two address types together allows the transmission of data between the layers. Two types of IP-to-MAC address bindings or entries are supported:
- Static binding are created from the CLI using the arp command. Static bindings are deleted using the no arp command.
- Dynamic binding are IP-to-MAC bindings that are learned dynamically and are distributed by the Address Resolution Protocol (ARP). Dynamic bindings are deleted from the ARP cache if there is no transmission activity or if they are not refreshed within the timeout period.
Dynamic bindings are stored in an ARP cache. A timer is started when a new binding is entered for the first time in the ARP cache. The timer is reset whenever that binding is updated, or whenever a packet is sent to the entry's IP/MAC address. If the timer expires, the binding is removed from the ARP cache.
Use the arp ipaddress mac-address command to configure a static binding of an IP/MAC address pair into the ARP cache.
Use the no arp ipaddress mac-address command to delete the specified IP/MAC address pair from the ARP cache.
Factory Default: For encapsulation type: ARPA.
For static ARP bindings: no static bindings configured.
Command Mode: Interface configuration for GigaBit Ethernet
Example 1: In the following example:
- The interface gbe command specifies a Gigabit Ethernet interface and changes the command mode to interface configuration
- The arp snap command configures the interface for the Snap encapsulation protocol
- The show command displays the new setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#interface gbe 1/34/1
router(config-if)#arp snap
router(config-if)#show
interface gbe 1/34/1
ip address 197.1.1.17 255.255.255.240
arp snap
negotiation auto
no shutdown
Example 2: In the following example:
- The interface gbe command specifies a Gigabit Ethernet interface and changes the command mode to Interface configuration.
- The arp ipaddress mac-address command creates a static binding of an IP address to a MAC address.
- The show interface gbe command displays the setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#interface gbe 1/5/2
router(config-if)#arp 215.3.3.10 0090.b2fd.0259
router(config-if)#show
interface gbe 1/5/2
ip address 215.3.3.1.255.255.255.0
flowcontrol asymmetric
arp snap
negotiation auto
no shutdown
arp 215.3.3.10 0090.b2fd.0259
.
.
.
Related Commands: clear arp-cache
show interface gbe
show ip arp
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: Interface_Cmd.fm
HTML File Name: Interface_Cmd2.html
Last Updated: 02/25/05 at 14:28:34