Create New Article

Wiki Search

Personal tools

TCP/IP Utilities

From Proprofs

TCP/IP Utilities

You are here: Home > Schools > Comptia > Network+ Certification > Wiki Home > Network+ Wiki


[edit section] Address Resolution Protocol (ARP)

Shows ARP table (or ARP cache), shows both dynamic and static tables.

arp: Ascertain IP address and related MAC address Run alone, lists available switches.

-a (or -g): Lists entire current arp table

-s [IP Address] [MAC Address]: statically add entry into table

-d [IP Address] : delete entry from arp table

[edit section] Netstat

View TCP/IP connections, view packet statistics -without parameters, useful in determining the status of outbound connections

• -a displays all TCP/IP and UDP connections. For UDP, shows source port nicknames. broadcast is written as *:* (any address, any port) • -e Displays summary of all packets sent over NIC as of that instant. To have it occur every few seconds, add integer value after switch (second interval) • -r Display current route table for a workstation • -s Displays variety of TCP, UDP, IP, and ICMP protocol statistics. • -n Modifier for the other switches. • -p Also a modifier, typically used with -s switch to specify exactly what protocol data is wanted (netstat -s -p UDP)

[edit section] Nbtstat

Track NetBIOS over TCP/IP connections, resolve NetBIOS names, etc. -only available in Windows-based OS -switches are case-sensitive (lower = NetBIOS names, upper = TCP/IP addresses)

• -a Display a remote machine's NetBIOS name table (nbtstat -a S1)

• -A same as -a, but different syntaz to execute (nbtstat -A

• -c Display local NetBIOS name cache on the workstation it is run

• -n Display local NetBIOS name table on Windows device

• -r Displays statistics of how many NetBIOS names have been resolved to TCP/IP addresses (useful in troubleshooting WINS)

• -R Nothing to do w/ -r switch, purges NetBIOS name table cache and reloads the LMHOSTS file into memory

• -S Display NetBIOS sessions table (both workstations and server sessions)

• -s Same as -S, tries to resolve remote host IP addresses into host names

[edit section] Using the File Transfer Protocol (FTP)

CMD: ftp -OR- ftp

Enter login information, or enter anonymous and password (email address)

File Types

ASCII: contains text (type ascii in cmd prompt)

Binary: all other files (type binary in cmd prompt)

To Download: get [filename] *for multiple downloads, type mget *txt *

To Upload: put [local file] [destination file] *for multiple uploads, type mput *.txt *

      ls displays directory listing
      cd  change directory
     pwd  print current working directory
     lcd  Local Change Directory (changes where downloads are stored)
     quit Exit ftp client

[edit section] Ping

Find out if you can reach a host, or if the host is responding


ping [hostname/IP address]

To check your own workstation use:

ping or localhost


-n # pings host N number of times (replace # with desired number)

-t pings continuously until Ctrl+C is pressed

-r # Records the route taken during ping hops (# = number of hops to record)

-a resolves pinged address to host name simultaneously

[edit section] Winipcfg

• In 9x/Me: type winipcfg to launch configuration application

• Release All/Renew All Buttons

• Troubleshoot DHCP/TCP/IP address conflicts

[edit section] Ipconfig

ipconfig lists IP address, Subnet mask, default gateway /all All TCP/IP settings displayed /release Releases all info obtained from DHCP /renew renews all info obtained from DHCP server

[edit section] Ifconfig

• Linux/UNIX utility, similar to ipconfig. (interface configuration)

• Also configures protocol/network interface

• ifconfig interface [address [parameter]]

o Interface = UNIX name of the interface

o Address = statically assigned address

[edit section] Tracert

Shows every router interface a packet passes through tracert [DNS name/IP address] Telnet Acronym for terminal emulation for NETworks, evolved into a troubleshooting tool. Telnet | Open [hostname][port number]

[edit section] Nslookup

Allows you to query a name server and quickly find out which name resolves to which Ip address. Options

• type=mx Sets future queries to e-mail servers

• Domain=domain name sets default domain name for lookups

• retry=x Specifies the number of retries

   You can help and contribute to the community by expanding or improving this article (or starting new interesting articles). Click "edit this page" to get started.

Top 5 Contributors to this article

UsersArticle Contributions
Jbrown 7 contribs
cbrzana 3 contribs

Home  |  Site Map  |  Contact
Copyright © 2005-2014 - Privacy & Terms