beautypg.com

Clear arp-cache, Show arp – Microsens MS453490M Management Guide User Manual

Page 924

background image

C

HAPTER

41

| IP Interface Commands

IPv4 Interface

– 924 –

clear arp-cache

This command deletes all dynamic entries from the Address Resolution

Protocol (ARP) cache.

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLE

This example clears all dynamic entries in the ARP cache.

Console#clear arp-cache

This operation will delete all the dynamic entries in ARP Cache.

Are you sure to continue this operation (y/n)?y

Console#

show arp

This command displays entries in the Address Resolution Protocol (ARP)

cache.

C

OMMAND

M

ODE

Normal Exec, Privileged Exec

C

OMMAND

U

SAGE

This command displays information about the ARP cache. The first line

shows the cache timeout. It also shows each cache entry, including the IP

address, MAC address, type (static, dynamic, other), and VLAN interface.

Note that entry type “other” indicates local addresses for this router.

E

XAMPLE

This example displays all entries in the ARP cache.

Console#show arp

ARP Cache Timeout: 1200 (seconds)

IP Address MAC Address Type Interface

--------------- ----------------- --------- -----------

10.1.0.0 FF-FF-FF-FF-FF-FF other VLAN1

10.1.0.254 00-00-AB-CD-00-00 other VLAN1

10.1.0.255 FF-FF-FF-FF-FF-FF other VLAN1

123.20.10.123 02-10-20-30-40-50 static VLAN2

145.30.20.23 09-50-40-30-20-10 dynamic VLAN3

Total entry : 5

Console#