arp linux 清空_Linux怎么清理ARP缓存
生活随笔
收集整理的這篇文章主要介紹了
arp linux 清空_Linux怎么清理ARP缓存
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、系統初始arp環境
[root@esx ~]# arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.1.175 ether 00:24:1D:97:B6:7F C vswif0
192.168.1.120 ether 00:1F:C6:3A:DC:81 C vswif0
192.168.1.51 (incomplete) vswif0
2、執行清除所有arp 緩存命令
[root@esx ~]# arp -n|awk '/^[1-9]/{print "arp -d " $1}'|sh -x
+ arp -d 192.168.1.175
+ arp -d 192.168.1.120
+ arp -d 192.168.1.51
3、執行命令后,本機arp緩存信息
[root@esx ~]# arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.1.175 (incomplete) vswif0
192.168.1.120 (incomplete) vswif0
192.168.1.51 (incomplete) vswif0
取消
評論
總結
以上是生活随笔為你收集整理的arp linux 清空_Linux怎么清理ARP缓存的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python文件操作模式是什么,pyth
- 下一篇: 分段二次插值例题_分段三次插值