Common network COMMANDS IN WINDOWS

Source: Internet
Author: User
Tags mx record nslookup nslookup command

1. Ping Command

Ping is used to determine whether the local host is connected to another host on the network. According to the default settings, the ping command running on Windows sends four ICMP echo request messages, each containing 32 bytes of data. If the network is connected, we should be able to receive four ICMP echo reply messages. The following describes how to use common parameters:

(1) Ping-T host address: Send the echo request message to the host address consecutively, knowing that the request is interrupted by the user Ctrl + C;

(2) Ping-N count host address: Send "count" echo request messages to the host address, and then stop;

For other parameters, you can use "Ping /?" You can view it.

2. ipconfig command

(1) ipconfig: displays many network parameters of the current TCP/IP configuration;

(2) ipconfig/All: displays the detailed network parameters of the current TCP/IP configuration;

(3) ipconfig/release: assigns the allocated address to the DHCP server;

(4) ipconfig/Renew: apply for an IP address from the DHCP server;

(5) ipconfig/displaydns: used to display all content in the DNS cache;

(6) ipconifg/flushdns: delete all content in the DNS cache.

3. ARP commands

(1) ARP-A: Used to view all items in the ARP cache. (-A is sadly regarded as all, that is, the meaning of all );

(2) ARP-d ip: Use the command to delete the MAC address item corresponding to the IP address. If ARP-D is entered directly, all items in the ARP cache can be deleted.

4. netstat command

(1) netstat-S: This option displays the statistical data of each Protocol, for example, the number of packets received and sent by each protocol;

(2) netstat-E: This option is used to display statistics about the Ethernet protocol. The items listed include the number of brown bytes of the active Ethernet frames received and the number of active Ethernet frames received;

(3) netstat-R: This option displays the route table information of the local machine;

(4) netstat-A: This option displays information about all currently used TCP or UDP port numbers, including UDP or TCP port numbers in the listener status, and the established (established) TCP port number;

(5) netstat-N: displays all established TCP connections, and the host address and port number are represented in numbers without domain name resolution.

Generally, you like to check the listening port of the Local Machine and use netstat-a-n to quickly return the result.

5. tracert command

Tracert is used to list the IP addresses of each vro on a specific host path at a time. If the-D option is added, tracert will not try to resolve the path to summarize the domain name corresponding to the IP address of the router.

6. NSLookup command

NSLookup is used to resolve the IP address corresponding to a domain name. After NSlookup, enter the domain name to be queried to return the result.

Sometimes, we want to view the MX record of a domain name. After Entering NSlookup, We can enter set type = Mx, and then enter the domain name to obtain the MX record. When we want to return the query a record, we can enter set type =.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.