Configuring Permanent And Static Arp Entries - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Configuring Permanent and Static ARP Entries

The primary gateway: 172.20.52.121
Destination
---------------
172.16.16.0
default
172.20.52.120
default
Console> (enable)
Configuring Permanent and Static ARP Entries
To enable your Catalyst LAN switch to communicate with devices that do not respond to Address
Resolution Protocol (ARP) requests, you can configure a static or permanent ARP entry that maps the
IP addresses of those devices to their MAC addresses. You can configure an ARP entry so that it does
not age out by configuring it as either static or permanent. When you configure a static ARP entry using
the set arp static command, the entry is removed from the ARP cache after a system reset. When you
configure a permanent ARP by using the set arp permanent command, the ARP entry is retained even
after a system reset.
Because most hosts support dynamic resolution, you usually do not need to specify static or permanent
ARP cache entries. When a device does not respond to ARP requests, you can configure an ARP entry
to be statically or permanently entered into the ARP cache so that those devices can still be reached.
To configure a static or permanent ARP entry, perform this task in privileged mode:
Task
Step 1
Configure a static or permanent ARP entry.
Step 2
(Optional) Specify the ARP aging time.
Step 3
Verify the ARP configuration.
This example shows how to define a static ARP entry:
Console> (enable) set arp static 20.1.1.1 00-80-1c-93-80-40
Static ARP entry added as
20.1.1.1 at 00-80-1c-93-80-40 on vlan 1
Console> (enable)
This example shows how to define a permanent ARP entry:
Console> (enable) set arp permanent 10.1.1.1 00-80-1c-93-80-60
Permanent ARP entry added as
10.1.1.1 at 00-80-1c-93-80-60 on vlan 1
Console> (enable)
This example shows how to set the ARP aging time:
Console> (enable) set arp agingtime 300
ARP aging time set to 300 seconds.
Console> (enable)
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
20-8
Gateway
RouteMask
---------------
----------
172.20.52.127
0xfffff000
172.20.52.121
0x0
172.20.52.124
0xfffffff8
default
0xff000000
Chapter 20
Flags
Use
Interface
-----
--------
---------
UG
0
sc0
UG
0
sc0
U
1
sc0
UH
0
sl0
Command
set arp [dynamic | permanent | static] {ip_addr
hw_addr}
set arp agingtime seconds
show arp
Administering the Switch
78-13315-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents