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

点赞(128)

评论列表共有 0 条评论

立即
投稿
返回
顶部