|
Title Here
|
| Command |
Description |
Option |
Explanation |
| tracert |
'tracert' stands for traceroute, and is used to trace the path that an IP packet takes from a source to its destination. Tracert uses ICMP Echo packets and their TTL to determine the route and hopcount. |
-d |
Do not resolve addresses to hostnames. |
| -h maximum_hops |
Maximum number of hops to search for target. |
| -j host-list |
Loose source route along host-list. |
| -w timeout |
Wait 'timeout' milliseconds for each reply. |
| arp |
'arp' stands for Address Resolution Protocol. It is used for displaying and resolving the IP-to-Physical address translations that exist between IP and MAC addresses. These entities are what tie together Layer 3 and Layer 2 of the OSI model. 'arp' has the ability to display or modify the arp cache table. |
-a |
Displays current ARP entries by interrogating the current protocol data. If inet_addr is specified, the IP and Physical addresses for only the specified computer are displayed. If more than one network interface uses ARP, entries for each ARP table are displayed. |
| -g |
Same as -a. |
| inet_addr |
Specifies an internet address. |
| -N if_addr |
Displays the ARP entries for the network interface specified by if_addr. |
| -d |
Deletes the host specified by inet_addr. inet_addr may be wildcarded with * to delete all hosts. |
| -s |
Adds the host and associates the Internet address inet_addr with the Physical address eth_addr. The Physical address is given as 6 hexadecimal bytes separated by hyphens. The entry is permanent. |
| eth_addr |
Specifies a physical address. |
| if_addr |
If present, this specifies the Internet address of the interface whose address translation table should be modified. If not present, the first applicable interface will be used. |
| netstat |
'netstat' displays protocol statistics for the TCP/IP connections that are current on the computer. 'netstat' displays for both the TCP & UDP protocols. It can also be used for Ethernet statistics and data transfers. |
-a |
Displays all connections and listening ports. |
| -b |
Displays the executable involved in creating each connection or listening port. In some cases well-known executables host multiple independent components, and in these cases the sequence of components involved in creating the connection or listening port is displayed. In this case the executable name is in [] at the bottom, on top is the component it called, and so forth until TCP/IP was reached. Note that this option can be time-consuming and will fail unless you have sufficient permissions. |
| -e |
Displays Ethernet statistics. This may be combined with the -s option. |
| -n |
Displays addresses and port numbers in numerical form. |
| -o |
Displays the owning process ID associated with each connection. |
| -p proto |
Shows connections for the protocol specified by proto; proto may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s option to display per-protocol statistics, proto may be any of: IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6. |
| -r |
Displays the routing table. |
| -s |
Displays per-protocol statistics. By default, statistics are shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6; the -p option may be used to specify a subset of the default. |
| -v |
When used in conjunction with -b, will display sequence of components involved in creating the connection or listening port for all executables. |
| interval |
Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If omitted, netstat will print the current configuration information once. |
| ping |
'ping' is a diagnostic tool that will test TCP/IP configurations and connections. Use the ping utility to determine whether a particular TCP/IP host is reachable. 'ping' can also be used with the loopback address (127.0.0.1) to test a computer's own NIC.
|
-t |
Ping the specified host until stopped. To see statistics and continue - type Control-Break; To stop type Control-C. |
| -a |
Resolve addresses to hostnames. |
| -n count |
Number of echo requests to send. |
| -l size |
Send buffer size. |
| -f |
Set Don't Fragment flag in packet. |
| -i TTL |
Time To Live. |
| -v TOS |
Type Of Service. |
| -r count |
Record route for count hops. |
| -s count |
Timestamp for count hops. |
| -j host-list |
Loose source route along host-list. |
| -k host-list |
Strict source route along host-list. |
| -w timeout |
Timeout in milliseconds to wait for each reply. |
| |
|
| ipconfig |
Displays TCP/IP configuration information and renew and release DHCP assigned address configuration. |
/all |
Display full configuration information. |
| /release |
Release the IP address for the specified adapter. |
| /renew |
Renew the IP address for the specified adapter. |
| /flushdns |
Purges the DNS Resolver cache. |
| /registerdns |
Refreshes all DHCP leases and re-registers DNS names. |
| /displaydns |
Display the contents of the DNS Resolver Cache. |
| /showclassid |
Displays all the dhcp class IDs allowed for adapter. |
| /setclassid |
Modifies the dhcp class id. |
| |
|
| winipconfig |
GUI utility similar to ipconfig native to Windows 9x. |
|
This utility is not available in Windows 2000 or XP. See the online help in Windows 9x for details. |
| nbstat |
Used for troubleshooting network NetBIOS names over TCP/IP resolution problems. It displays protocol statistics and current TCP/IP connections that are using (NBT) NetBIOS over TCP/IP as well as the NetBIOS name table and cache. |
|
See the online help for options and details. |
| nslookup |
'nslookup' is used to display information that you can use to diagnose Domain Name System (DNS) servers and to send DNS queries to DNS sesrvers. 'nslookup' can be used in interactive and non-interactive mode by providing the correct input parameters directly on the command-line. |
NAME |
Print info about the host/domain NAME using default server. |
| NAME1 NAME2 |
The same as above, but use NAME2 as server. |
| help or ? |
Print info on common commands. |
exit or Ctrl+C |
Exit the program. |
| Additional Notes: 'nslookup' will work in interactive mode, line by line, or by just entering the command then pressing 'Enter'. There are many more options for the command as needed, see the online help system. |