35-10
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Chapter 35 Configuring IP Unicast Routing
Configuring IP Addressing
For more information on RARP, see the
Cisco IOS Configuration Fundamentals Configuration Guide,
Release 12.2.
You can perform these tasks to configure address resolution:
•
Define a Static ARP Cache, page 35-10
•
Set ARP Encapsulation, page 35-11
•
Enable Proxy ARP, page 35-11
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
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
arp
ip-address hardware-address
type
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
Step 3
arp
ip-address hardware-address type
[
alias
]
(Optional) Specify that the switch respond to ARP requests as if
it were the owner of the specified IP address.
Step 4
interface
interface-id
Enter interface configuration mode, and specify the interface to
configure.
Step 5
arp timeout
seconds
(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.
Step 6
end
Return to privileged EXEC mode.
Step 7
show interfaces
[
interface-id
]
Verify the type of ARP and the timeout value used on all
interfaces or a specific interface.
Step 8
show arp
or
show ip arp
View the contents of the ARP cache.
Step 9
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...