How to clear the arp cache under Win7 to prevent arp attack and arp spoofing

  

Method 1.

1. Open the Run dialog box and enter CMD to open the command prompt prompt box;

2 In the window that opens, type arp -a (a space between p and -) to display the current ARP cache table for all interfaces (which will appear after a period of time on the Internet);

3, then in the window Enter arp -d, clear ARP cache → enter arp -a to view the ARP cache list, then repeat the above steps until there is no buffer list, so that's it.

Method 2,

1. Right click on the blank space of the computer and select New Notepad Document, then name it “Clear arp cache”;

2 Then copy and paste the following code into Notepad;

@echo

title "Automatically clear arp cache"

color 2

Mode con cols=50 line=4

:cleararp

@echo arp Cache clearing ……

arp -d

cls

goto cleararp

3. Save afterwards.

4, then belong to the right click & ldquo; empty arp cache document & rdquo; select rename, change the suffix of txt to bat, then click anywhere in the blank space of the desktop, click on the pop-up interface ; is "”;

5, so clear the batch file of the arp cache is done, just double-click the cache file, it will be automatically cleared.

Copyright © Windows knowledge All Rights Reserved