During network debugging, we may accidentally change the Internet protocol. How can I reset the Internet protocol? Today, we will give an example of using netsh for resetting. Okay, let's not go into details. Run the above command.
Command example: The following example shows how to use the netsh command to reset the Internet protocol stack.
Example 1:
Click Start, and then click Run.
In the displayed dialog box, type cmd and click OK.
ENTER the following command at the command prompt and press ENTER:
Netsh int ip reset resetlog.txt
Note: In the preceding command, "int" is the abbreviated form of the interface command.
Type exit and press ENTER.
Example 2 of resetting the Internet Protocol:
Click Start, and then click Run.
In the displayed dialog box, type cmd and click OK.
ENTER the following command at the command prompt and press ENTER:
Netsh int ip reset c: \ resetlog.txt
Type exit and press ENTER.
To view help information about commands, enter a space and then enter ?. Other help information about available commands in the subcontext of the netsh command is displayed. For example, to view the netsh commands described in the previous section, enter the following command at the command prompt:
Type netsh ?, Then press ENTER.
Type netsh int ?, Then press ENTER.
Type netsh int ip address ?, Then press ENTER.
Type netsh int ip reset ?, Then press ENTER.
Netsh int ip reset Log File example. The following is a log file generated by netsh after the ip reset command is run. The actual log files vary depending on the configuration on the computer on which the command is issued. Generally, if the original configuration of the TCP/IP registry is not replaced, no operations are recorded in the file.