Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual page 346

Software guide
Table of Contents

Advertisement

Configuring Permanent and Static ARP Entries
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
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
Console> (enable)
This example sets the ARP aging time:
Console> (enable) set arp agingtime 300
ARP aging time set to 300 seconds.
Console> (enable)
This example shows how to display the ARP cache:
Console> (enable) show arp
ARP Aging time = 300 sec
+ - Permanent Arp Entries
* - Static Arp Entries
* 20.1.1.1 at 00-80-1c-93-80-40 on vlan 1
172.20.52.35 at 00-80-1c-93-80-40 on vlan 1
172.20.52.35 at 00-80-1c-93-80-40 on vlan 1
Console> (enable)
To clear ARP entries, perform this task in privileged mode:
Task
Step 1
Clear a dynamic, static, or permanent ARP entry. clear arp [dynamic | permanent | static]
Step 2
Verify the ARP configuration.
This example shows how to clear all permanent ARP entries and verify the configuration:
Console> (enable) clear arp permanent
Permanent ARP entries cleared.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
26-8
Chapter 26
Command
set arp [dynamic | permanent | static] {ip_addr
hw_addr}
set arp agingtime seconds
show arp
at 00-80-1c-93-80-40 on vlan 1
at 00-80-1c-93-80-60 on vlan 1
Command
{ip_addr hw_addr}
show arp
Administering the Switch
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents