hit counter script

Define A Static Arp Cache - Cisco WS-C3020 Software Configuration Manual

Catalyst blade switch for hp
Table of Contents

Advertisement

Configuring IP Addressing
You can perform these tasks to configure address resolution:

Define a Static ARP Cache

ARP and other address resolution protocols provide dynamic mapping between IP addresses and MAC
addresses. Because most hosts support dynamic address resolution, you usually do not need to specify
static ARP cache entries. If you must define a static ARP cache entry, you can do so globally, which
installs a permanent entry in the ARP cache that the switch uses to translate IP addresses into MAC
addresses. Optionally, you can also specify that the switch respond to ARP requests as if it were the
owner of the specified IP address. If you do not want the ARP entry to be permanent, you can specify a
timeout period for the ARP entry.
Beginning in privileged EXEC mode, follow these steps to provide static mapping between IP addresses
and MAC addresses:
Command
Step 1
configure terminal
Step 2
arp ip-address hardware-address type
Step 3
arp ip-address hardware-address type [alias]
Step 4
interface interface-id
Step 5
arp timeout seconds
Step 6
end
Step 7
show interfaces [interface-id]
Step 8
show arp
or
show ip arp
Step 9
copy running-config startup-config
To remove an entry from the ARP cache, use the no arp ip-address hardware-address type global
configuration command. To remove all nonstatic entries from the ARP cache, use the clear arp-cache
privileged EXEC command.
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
34-8
Define a Static ARP Cache, page 34-8
Set ARP Encapsulation, page 34-9
Enable Proxy ARP, page 34-9
Purpose
Enter global configuration mode.
Globally associate an IP address with a MAC (hardware) address
in the ARP cache, and specify encapsulation type as one of
these:
arpa—ARP encapsulation for Ethernet interfaces
snap—Subnetwork Address Protocol encapsulation for
Token Ring and FDDI interfaces
sap—HP's ARP type
(Optional) Specify that the switch respond to ARP requests as if
it were the owner of the specified IP address.
Enter interface configuration mode, and specify the interface to
configure.
(Optional) Set the length of time an ARP cache entry will stay in
the cache. The default is 14400 seconds (4 hours). The range is
0 to 2147483 seconds.
Return to privileged EXEC mode.
Verify the type of ARP and the timeout value used on all
interfaces or a specific interface.
View the contents of the ARP cache.
(Optional) Save your entries in the configuration file.
Chapter 34
Configuring IP Unicast Routing
OL-8915-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3020

Table of Contents