arparp* Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP) getmacgetmac Shows the mac address(es) of your network adapter(s) ipconfigipconfig* Configure IP ncpa.cplncpa.cpl Network Connections netshnetsh Display or modify the network configuration of a computer that is currently running netstatnetstat Display networking statistics net usenet use* Connects a computer to or disconnects a computer from a shared resource, displays information about computer connections, or mounts a local share with different privileges pathpingpathping A traceroute that collects detailed packet loss stats pingping* Test a network connection tracerttracert* Trace route to a host Bonus Commands Bonus Commands (13 slides)CTEC 110 1
Bonus Commands mmc*Microsoft management console msconfig*system configuration console netmanage network resources netshconfigure network interfaces, Windows firewall & remote access regedit*import or export registry settings runasexecute a program under a different user account shutdownshutdown the computer DefragDisk Defragmenter Bonus Commands (13 slides)CTEC 110 2
Bonus Commands (Frequently Used!) arp- Displays and modifies the IP-to-Physical Address translation tables ipconfig- Display adapter IP information mmc- Administer networks, computers, services, and other system components msconfig- System Configuration tool net use- Show network connections nslookup- Domain Name Service lookups ping- Test a device connection (ICMP) *** regedit- System Registry tool Defrag- Disk Defragmenter tool tracert- IP route tracing tool (ICMP) *** ***- Some devices have ICMP turned off Bonus Commands (13 slides)CTEC 110 3
arp- Displays and modifies the IP-to-Physical Address translation tables ARP -s inet_addr eth_addr [if_addr] ARP -d inet_addr [if_addr] ARP -a [inet_addr] [-N if_addr] [-v] -a Displays current ARP entries by interrogating the current protocol data. -v Displays current ARP entries in verbose mode. All invalid entries and entries on the loop-back interface will be shown. -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. Examples: > arp -s aa c Adds a static entry. > arp -a.... Displays the arp table. 4 Bonus Commands Bonus Commands (13 slides)CTEC 110
Ipconfig – Display adapter IP information IPCONFIG [options] Examples: Ipconfig... Show information ipconfig /all... Show detailed information ipconfig /renew... renew all adapters ipconfig /renew EL*... renew any connection that has its name starting with EL ipconfig /release *Con*... release all matching connections, eg. "Local Area Connection 1" or "Local Area Connection 2" ipconfig /allcompartments... Show information about all compartments ipconfig /allcompartments /all... Show detailed information about all compartments 5 Bonus Commands Bonus Commands (13 slides)CTEC 110
mmc – Microsoft Management Console Microsoft Management Console (MMC) hosts administrative tools that you can use to administer networks, computers, services, and other system components. Bonus Commands (13 slides)CTEC Bonus Commands
msconfig – Microsoft Configuration Tool System Configuration is a tool that can help identify problems that might prevent Windows from starting correctly. You can start Windows with common services and startup programs turned off and then turn them back on, one at a time. If a problem doesn't occur when a service is turned off, but does occur when that service is turned on, then the service could be the cause of the problem. System Configuration is intended to find and isolate problems, but it's not meant as a startup management program. Bonus Commands (13 slides)CTEC Bonus Commands
net use – Display network connections NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]] [/USER:[domainname\]username] [/USER:[dotted domain name\]username] domain name] [/SMARTCARD] [/SAVECRED] [[/DELETE] | [/PERSISTENT:{YES | NO}]] NET USE {devicename | *} [password | *] /HOME NET USE [/PERSISTENT:{YES | NO}] Bonus Commands (13 slides)CTEC Bonus Commands
nslookup - Nslookup.exe is a command-line administrative tool for testing and troubleshooting DNS servers. Usage: nslookup [-opt...] # interactive mode using default server nslookup [-opt...] - server # interactive mode using 'server' nslookup [-opt...] host # just look up 'host' using default server nslookup [-opt...] host server # just look up 'host' using 'server' Bonus Commands (13 slides)CTEC Bonus Commands
PING – test a network connections PING [options] destination_host Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name Options: -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 (IPv4-only). -i TTL Time To Live. -v TOS Type Of Service (IPv4-only. This setting has been deprecated and has no effect on the type of service field in the IP Header). -r count Record route for count hops (IPv4-only). -s count Timestamp for count hops (IPv4-only). -j host-list Loose source route along host-list (IPv4-only). -k host-list Strict source route along host-list (IPv4-only). -w timeout Timeout in milliseconds to wait for each reply. -R Use routing header to test reverse route also (IPv6-only). -S srcaddr Source address to use. -4 Force using IPv4. -6 Force using IPv6. Bonus Commands Bonus Commands (13 slides)CTEC
regedit – Registry Editor System configuration information is stored centrally in a hierarchical database called the registry. You can use Registry Editor to add and edit registry keys and values, restore the registry from a backup or to default values, and to import or export keys for reference or backup Bonus Commands (13 slides)CTEC Bonus Commands
Defrag - Locates and consolidates fragmented files on local volumes to improve system performance. Syntax: defrag | /C | /E [/H] [/M | [/U] [/V]] defrag | /C | /E /A [/H] [/M | [/U] [/V]] defrag | /C | /E /X [/H] [/M | [/U] [/V]] defrag /T [/H] [/U] [/V] Parameters: ValueDescription /APerform analysis on the specified volumes. /CPerform the operation on all volumes. /EPerform the operation on all volumes except those specified. /HRun the operation at normal priority (default is low). /MRun the operation on each volume in parallel in the background. /TTrack an operation already in progress on the specified volume. /UPrint the progress of the operation on the screen. /VPrint verbose output containing the fragmentation statistics. /XPerform free space consolidation on the specified volumes. Examples: defrag C: /U /V defrag C: D: /M defrag C:\mountpoint /A /U defrag /C /H /V Bonus Commands (13 slides)CTEC Bonus Commands
tracert – Trace IP Route Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name Options: -dDo not resolve addresses to hostnames. -h maximum_hops Maximum number of hops to search for target. -j host-listLoose source route along host-list (IPv4-only). -w timeoutWait timeout milliseconds for each reply. -RTrace round-trip path (IPv6-only). -S srcaddrSource address to use (IPv6-only). -4Force using IPv4. -6Force using IPv6. Bonus Commands (13 slides)CTEC Bonus Commands