close

From Cisco Switches / Firewall (ASA) / Switches:

To see the arp table:
#show arp

To clear the arp table:
#clear arp

To clear selective entry:
#clear ip arp IPAddress
eg. clear ip arp 192.168.2.109

Windows:

c:\> arp -a (display arp table cache)
C:\> arp -d (delete arp table cache)

Linux:

Display arp table:
#arp -e (arp -a, arp -n etc)

Add Static Arp Entry
# arp -i eth0 -s 192.168.2.33 00:bb:23:11:13:fc  (ifconfig will show you the prticular mac address from the network adapter)

Selectively delete arp cache
#arp -d hostname
#arp -d 192.168.2.10

Removing arp cache from particular network adapter:
#arp -i eth1 -d 192.168.100.17

Flush arp entry for host 10.20.30.40:
# ip neigh flush 10.20.30.40

Flush arp entry for all hosts in network 192.168.0.0/24:
# ip neigh flush 192.168.0.0/24

Flush all arp entries:
# ip neigh flush all

Mac OS X:
$ sudo arp -a -d (no need sudo if you are login as root)

 

reference: https://jaychu649.blogspot.com/2015/06/arp-cache-clear-arp-entries-from.html

arrow
arrow
    文章標籤
    ARP
    全站熱搜
    創作者介紹
    創作者 M先生 的頭像
    M先生

    雨果

    M先生 發表在 痞客邦 留言(0) 人氣()