1 / 13

Bonus Commands

Bonus Commands. a rp * Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP) getmac Shows the mac address( es ) of your network adapter(s) i pconfig * Configure IP ncpa.cpl Network Connections

Télécharger la présentation

Bonus Commands

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.


Presentation Transcript

  1. Bonus Commands arp* Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP) getmac Shows the mac address(es) of your network adapter(s) ipconfig*Configure IP ncpa.cplNetwork Connections netsh Display or modify the network configuration of a computer that is currently running netstat Display networking statistics net 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 pathpingA traceroute that collects detailed packet loss stats ping* Test a network connection tracert* Trace route to a host CTEC 110

  2. Bonus Commands mmc* Microsoft management console msconfig* system configuration console net manage network resources netsh configure network interfaces, Windows firewall & remote access regedit* import or export registry settings runas execute a program under a different user account shutdown shutdown the computer Defrag Disk Defragmenter CTEC 110

  3. 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 CTEC 110

  4. Bonus Commands arp- Displays and modifies the IP-to-Physical Address translation tables ARP -s inet_addreth_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 00-aa-00-62-c6-09 .... Adds a static entry. > arp -a .... Displays the arp table. CTEC 110

  5. Bonus Commands 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 CTEC 110

  6. Bonus Commands mmc – Microsoft Management Console Microsoft Management Console (MMC) hosts administrative tools that you can use to administer networks, computers, services, and other system components. CTEC 110

  7. 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. CTEC 110

  8. Bonus Commands net use – Display network connections NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]] [/USER:[domainname\]username] [/USER:[dotted domain name\]username] [/USER:[username@dotted domain name] [/SMARTCARD] [/SAVECRED] [[/DELETE] | [/PERSISTENT:{YES | NO}]] NET USE {devicename | *} [password | *] /HOME NET USE [/PERSISTENT:{YES | NO}] CTEC 110

  9. 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' CTEC 110

  10. 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. CTEC 110

  11. Bonus Commands 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 CTEC 110

  12. Bonus Commands Defrag - Locates and consolidates fragmented files on local volumes to improve system performance. Syntax: defrag <volumes> | /C | /E <volumes> [/H] [/M | [/U] [/V]] defrag <volumes> | /C | /E <volumes> /A [/H] [/M | [/U] [/V]] defrag <volumes> | /C | /E <volumes> /X [/H] [/M | [/U] [/V]] defrag <volume> /T [/H] [/U] [/V] Parameters: Value Description /A Perform analysis on the specified volumes. /C Perform the operation on all volumes. /E Perform the operation on all volumes except those specified. /H Run the operation at normal priority (default is low). /M Run the operation on each volume in parallel in the background. /T Track an operation already in progress on the specified volume. /U Print the progress of the operation on the screen. /V Print verbose output containing the fragmentation statistics. /X Perform 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 CTEC 110

  13. 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: -d Do not resolve addresses to hostnames. -h maximum_hopsMaximum number of hops to search for target. -j host-list Loose source route along host-list (IPv4-only). -w timeout Wait timeout milliseconds for each reply. -R Trace round-trip path (IPv6-only). -S srcaddr Source address to use (IPv6-only). -4 Force using IPv4. -6 Force using IPv6. CTEC 110

More Related