2-9
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear arp
clear arp
To delete a specific entry or all entries from the ARP table, use the clear arp command.
clear arp [all | dynamic | permanent | static] {ip_addr}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to remove IP address 198.133.219.209 from the ARP table :
Console> (enable) clear arp 198.133.219.209
ARP entry deleted.
Console> (enable)
This example shows how to remove all entries from the ARP table:
Console> (enable) clear arp all
ARP table cleared. (1)
Console> (enable)
(1) indicates the number of entries cleared.
This example shows how to remove all dynamically learned ARP entries:
Console> (enable) clear arp dynamic
Unknown host
Dynamic ARP entries cleared. (3)
Console> (enable)
This example shows how to clear all permanently entered ARP entries:
Console> (enable) clear arp permanent
Unknown host
Permanent ARP entries cleared.(5)
Console> (enable)
all (Optional) Clears all ARP entries.
dynamic (Optional) Clears all dynamic ARP entries.
permanent (Optional) Clears all permanent ARP entries.
static (Optional) Clears all static ARP entries.
ip_addr IP address to clear from the ARP table.