首页

win7系统下如何设置和删除静态ARP实现命令

1、

复制代码

代码如下:

netsh i i show in

记下网卡的idx
2、

复制代码

代码如下:

netsh -c "i i" add neighbour idx ip mac

例如:netsh -c "i i" add neighbour 10 10.60.4.201 aa-bb-cc-dd-ee-ff
3、

复制代码

代码如下:

netsh -c "i i" del neighbors idx

例如:netsh -c "i i" del neighbors 1