4 show ip arp – CANOGA PERKINS 9175 Command Reference User Manual

Page 192

Advertising
background image

CanogaOS Command Reference

13-3

Usage

This command updates the dynamically learned IP address and MAC address mapping information in

the ARP table to ensure the validity of those entries. If the refresh operation encounters any stale entries

(dynamic ARP entries that have expired but have not yet been aged out by an internal, timer-driven

process), those entries are aged out of the ARP table immediately as opposed to at the next refresh

interval.

Use this command without any arguments or keywords to refresh all ARP cache entries for all enabled

interfaces.


Examples

The following example shows how to refresh all dynamically learned ARP cache entries for all enabled

interfaces:

Switch# clear arp-cache


Related Commands

show ip arp

13.4 show ip arp

To display the entries in the Address Resolution Protocol (ARP) table, use the show ip arp command in

privileged EXEC mode.


Command Syntax

show ip arp [[vrf vrf-name] interface interface-name]

vrf vrf-name

(Optional) Displays the entries under the Virtual Private

Network (VPN) routing and forwarding (VRF) instance

specified by the vrf-name argument.

interface interface-name

(Optional) Refreshes only the ARP table entries associated

with this interface.


Command Mode

Privileged EXEC


Usage

To display all entries in the ARP cache, use this command without any arguments or keywords.


Examples

The following is sample output from the show ip arp command:

Switch# show ip arp

Protocol Address Age (min) Hardware Addr Interface

Internet 1.1.1.1 - 7cb5.0157.0c00 eth-0-1

Internet 2.2.2.1 - 7cb5.0157.0c00 eth-0-2

Internet 3.3.3.1 - 7cb5.0157.0c00 eth-0-3

Internet 10.0.20.1 - 7cb5.0157.0c00 eth-0-10

Advertising