click below
click below
Normal Size Small Size show me how
Net + 10-006 CMD
Network+ 10-006 Command Line Tools
| Question | Answer |
|---|---|
| command to show the routing table on a Windows, MAC, or Linux machine. | netstat -r |
| Windows alternative to the netstat -r command | route print |
| This command is used in Windows to display the IP address information of the system. | ipconfig |
| Windows command: Displays all TCP/IP settings and MAC address. | ipconfig /all |
| This Windows command displays the DNS resolver cahce. | ipconfig /displaydns |
| This Windows command flushes the DNS resolver cache. | ipconfig /flushdns |
| This command displays or sets settings on a network card on a Mac/Linux/UNIX system | ifconfig |
| Mac/Linux/UNIX command that displays the network card and IP settings. | ifconfig |
| Mac/Linux/UNIX command to enable the first Ethernet card. | ifconfig eth0 up |
| Mac/Linux/UNIX command that would disable the first Ethernet card. | ifconfig eth0 down |
| This (All OSes) command checks the network connectivity between two nodes. | ping |
| Switch that tells ping to run indefinitely (on Windows) | ping -t |
| Switch that tells ping to use an IPv6 address (Windows) | ping -6 |
| UNIX/Linux command to ping an IPv6 address | ping6 |
| This command traces the route between two hosts. There are two versions, one for Windows and another for Linux/UNIX/Mac. | tracert (Windows) traceroute (Mac/UNIX/Linux) |
| Specify tracert with an IPv6 address in WIndows | tracert -6 |
| Specify an IPv6 address with traceroute in Mac/Linux/UNIX | traceroute6 |
| Microsoft utility that combines the functions of ping and tracert and adds some additional functions. | pathping |
| This all OS command allows administrators to examine network statistics about a system. These stats include info such as listening ports and established connections. | netstat |
| Netatat switch: Displays all connections and listening ports. | netstat -a |
| Netstat switch: Displays the executable involved in creating each connection and listening port. | netstat -b |
| Netstat switch: DIsplays Ethernet statistics | netstat -e |
| Netstat switch: Displays FQDN of foreign addresses | netstat -f |
| Netstat switch: Displays addresses and ports in numerical form | netstat -n |
| Netstat switch: Displays the owning process ID associated with each connection. | netstat -o |
| Netstat switch: Displays statistics about the protocol specified after this switch. Options include TCP, UDP, TCP6, UDP6. | netstat -p protocol |
| Netstat switch: Displays per protocol statistics, by default IP, IP6, ICMP, ICMP6, TCP, TCPv6, UDP, UDPv6. | netstat -s |
| Netstat switch that displays the routing table | netstat -r |
| Netstat switch: Displays the current connection offload state | netstat -t |
| Netstat switch: Redisplays the selected statistics at intervals set bu this switch. | netstat interval |
| This command allows a tech to check information about NetBIOS names. | nbtstat |
| Nbtstat switches: Displays the NetBIOS name table for a remote machine, given it's name. | nbtstat -a computername |
| Nbtstat switches: Displays the NetBIOS name table for a remote machine, given its IP address | nbtstat -A 192.168.1.6 |
| Nbtstat switches: Lists NBT's cache of remote machine names and their IPs | nbtstat -c |
| Nbtstat switches: Display NetBIOS names registered by the local machine. | nbtstat -n |
| Nbtstat switches: Purge and reload the remote cache name table | nbtstat -R |
| Command to show the full set of nslookup options | from the nslookup prompt, ? OR help |
| Command line utility for diagnosing DNS problems. Works on all OSes. | nslookup |
| All OSes command to diagnose problems associated with the Address Resolution Protocol. | arp |
| arp switch: Displays current ARP entries | arp -a |
| arp switch: Adds a static entry. | arp -s 157.55.85.212 00-aa-00-62-c6-09 |
| arp switch: Deletes an entry. Can also delete all entries. | arp -d inet_addr or arp -d * |
| Ping switches: Ping until stopped (Windows) | ping -t |
| Ping switches: Resolve an address to a hostname | ping -a |
| Ping switches: Sent a set number of echo requests | ping -n |
| Ping switches: Ping with the DF flag bit set. | ping -f |
| Command line tool for querying DNS servers. Useful for troubleshooting on Linux/UNIX/Mac systems | dig |