CMD netsh and arp
<p dir="auto">arp -a 显示系统中所有的arp缓存<br />
今天发现一个比这个更强大的命令
<pre><code>echo interface ip >s
echo show ipnet >>s
netsh -f s
del s
<p dir="auto">如下:
<p dir="auto">arp -a
<p dir="auto"><center><img src="https://images.hive.blog/768x0/https://cdn.steemitimages.com/DQmZQEyB88HAxRSyPfPbcQsb3xNijxyVrkk2a7BYXSmpZGH/image.png" srcset="https://images.hive.blog/768x0/https://cdn.steemitimages.com/DQmZQEyB88HAxRSyPfPbcQsb3xNijxyVrkk2a7BYXSmpZGH/image.png 1x, https://images.hive.blog/1536x0/https://cdn.steemitimages.com/DQmZQEyB88HAxRSyPfPbcQsb3xNijxyVrkk2a7BYXSmpZGH/image.png 2x" />
<p dir="auto">netsh 结果如下
<p dir="auto"><center><img src="https://images.hive.blog/768x0/https://cdn.steemitimages.com/DQmfXN1zegpTYu9LbMq9TmMCkjYEP3RfFNudDdAXPxRdXsK/image.png" srcset="https://images.hive.blog/768x0/https://cdn.steemitimages.com/DQmfXN1zegpTYu9LbMq9TmMCkjYEP3RfFNudDdAXPxRdXsK/image.png 1x, https://images.hive.blog/1536x0/https://cdn.steemitimages.com/DQmfXN1zegpTYu9LbMq9TmMCkjYEP3RfFNudDdAXPxRdXsK/image.png 2x" />
arp简单好记一些
是的呀
哈哈 都不咋用到
呃 看需求吧