Lab Objective:
Learn how to use some Microsoft CLI commands.
Lab Purpose:
You will revert to the command-line tools for troubleshooting, so you need to know the most common ones.
Lab Tool:
Windows 10
Lab Topology:
Use a single PC. Note that if you use a virtual machine, you may not always see the same options.

Lab Walkthrough:
Task 1:
Use the search bar and search for ‘cmd’. You should see ‘Command Prompt’ as an option that you can select. This will take you to the Microsoft Command-Line Tool.

Task 2:
Type ipconfig /? and note all your options. Here is a partial result capture.
Task 3:
Type ipconfig and press Enter, and note the information provided. Next, type ipconfig /all and make a note of the extra information provided.
Task 4:
Make a note of your IP address from the previous step. You may need to request a change of IP address from your DHCP server for troubleshooting reasons. To do this, issue the ipconfig /release and then the ipconfig /renew commands.
Note that you might be allocated the same IP address again, depending on how DHCP is configured on your network.
Task 5:
In order to check the DNS cache, issue the ipconfig /display dns command. The DNS maps IP addresses to hostnames.
Now ping the website 101labs.net. Then reissue the ipconfig /displaydns command.
Task 6:
You may need to flush your DNS cache as a troubleshooting step. Issue the ipconfig /flushdns command and then check that the cache is empty.
Notes:
Please try out some of the other switches available with the command.





