805
Configuring IP Unicast Routing
Configuring IP Addressing
DETAILED STEPS
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
.
EXAMPLE
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
arp 10.0.0.0 aabb.cc03.8200 arpa
Switch(config)#
end
Setting ARP Encapsulation
By default, Ethernet ARP encapsulation (represented by the
arpa
keyword) is enabled on an IP interface. You can change
the encapsulation methods to SNAP if required by your network.
BEFORE YOU BEGIN
The encapsulation type specified in this procedure should match the encapsulation type specified in the
Command
Purpose
1.
configure terminal
Enter global configuration mode.
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
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.
4.
interface
interface-id
Enter interface configuration mode, and specify the
interface to configure.
5.
no shutdown
Enable the interface if necessary. By default, UNIs and
ENIs are disabled and NNIs are enabled.
6.
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.
7.
end
Return to privileged EXEC mode.
8.
show interfaces
[
interface-id
]
Verify the type of ARP and the timeout value used on all
interfaces or a specific interface.
9.
show arp
or
show ip arp
View the contents of the ARP cache.
10.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...