↑ Return to Dos Commands

Print this Page

Network Commands

Network Commands

CMD>ipconfig [/all] [/renew [Adapter]] [/release [Adapter]] [/flushdns] [/displaydns] [/registerdns] [/showclassid Adapter] [/setclassid Adapter [ClassID]]

/all : Displays the full TCP/IP configuration for all adapters.
/renew [Adapter] : Renews DHCP configuration for all adapters (if an adapter is not specified) or for a specific adapter if the Adapter         parameter is included.

/release [Adapter] : Sends a DHCPRELEASE message to the DHCP server to release the current DHCP configuration and discard the IP address configuration

/flushdns : Flushes and resets the contents of the DNS client resolver cache.
/displaydns : Displays the contents of the DNS client resolver cache, which includes both entries preloaded from the local Hosts file and any recently obtained resource records for name queries resolved by the computer.

/registerdns : Initiates manual dynamic registration for the DNS names and IP addresses that are configured at a computer.
/showclassid Adapter : Displays the DHCP class ID for a specified adapter.
/setclassid Adapter [ClassID] : Configures the DHCP class ID for a specified adapter.
CMD>tracert [-d] [-h MaximumHops] [-j HostList] [-w Timeout] [TargetName]
This command determines path taken to a destination by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination with incrementally increasing Time to Live (TTL) field values.

CMD>netstat [-a] [-e] [-n] [-o] [-p Protocol] [-r] [-s] [Interval]
Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics
-a : Displays all active TCP connections and the TCP and UDP ports on which the computer is listening.
-e : Displays Ethernet statistics, such as the number of bytes and packets sent and received. This parameter can be combined with -s.
-n : Displays active TCP connections, however, addresses and port numbers are expressed numerically and no attempt is made to determine names.
CMD>nslookup
Displays information that you can use to diagnose Domain Name System (DNS) infrastructure. Before using this tool, you should be familiar with how DNS works. The Nslookup command-line tool is available only if you have installed the TCP/IP protocol.

Permanent link to this article: http://www.techxpress.in/dos-commands/network-commands/

Leave a Reply

Bookmark this page