+ All Categories
Home > Documents > Bonus Commands

Bonus Commands

Date post: 14-Jan-2016
Category:
Upload: teryl
View: 33 times
Download: 0 times
Share this document with a friend
Description:
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 - PowerPoint PPT Presentation
Popular Tags:
13
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 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 pathping A traceroute that collects detailed packet loss stats ping* Test a network connection tracert* Trace route to a host Bonus Commands Bonus Commands (13 slides) CTEC 110 1
Transcript
Page 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 IPncpa.cpl Network Connectionsnetsh Display or modify the network configuration of a

computer that is currently runningnetstat Display networking statisticsnet 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

pathping A traceroute that collects detailed packet loss statsping* Test a network connectiontracert* Trace route to a host

Bonus Commands

Bonus Commands (13 slides) CTEC 110 1

Page 2: Bonus Commands

Bonus Commandsmmc* Microsoft management consolemsconfig* system configuration consolenet manage network resourcesnetsh configure network interfaces,

Windows firewall & remote accessregedit* import or export registry settingsrunas execute a program under a different user

accountshutdown shutdown the computerDefrag Disk Defragmenter

Bonus Commands (13 slides) CTEC 110 2

Page 3: Bonus Commands

Bonus Commands (Frequently Used!)

arp - Displays and modifies the IP-to-Physical Address translation tables

ipconfig - Display adapter IP informationmmc - Administer networks, computers, services, and

other system componentsmsconfig - System Configuration toolnet use - Show network connectionsnslookup - Domain Name Service lookupsping - Test a device connection (ICMP) ***regedit - System Registry toolDefrag - Disk Defragmenter tooltracert - IP route tracing tool (ICMP) ****** - Some devices have ICMP turned off

Bonus Commands (13 slides) CTEC 110 3

Page 4: Bonus Commands

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 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry. > arp -a .... Displays the arp table.

4

Bonus Commands

Bonus Commands (13 slides) CTEC 110

Page 5: Bonus Commands

Ipconfig – Display adapter IP information

IPCONFIG [options]

Examples:Ipconfig ... Show informationipconfig /all ... Show detailed informationipconfig /renew ... renew all adaptersipconfig /renew EL* ... renew any connection that has its name starting with ELipconfig /release *Con* ... release all matching connections,

eg. "Local Area Connection 1" or "Local Area Connection 2"ipconfig /allcompartments ... Show information about all compartmentsipconfig /allcompartments /all ... Show detailed information about all compartments

5

Bonus Commands

Bonus Commands (13 slides) CTEC 110

Page 6: Bonus Commands

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

Bonus Commands (13 slides) CTEC 110 6

Bonus Commands

Page 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.

Bonus Commands (13 slides) CTEC 110 7

Bonus Commands

Page 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}]

Bonus Commands (13 slides) CTEC 110 8

Bonus Commands

Page 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'

Bonus Commands (13 slides) CTEC 110 9

Bonus Commands

Page 10: Bonus Commands

PING – test a network connectionsPING [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 110 10

Page 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

Bonus Commands (13 slides) CTEC 110 11

Bonus Commands

Page 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

Bonus Commands (13 slides) CTEC 110 12

Bonus Commands

Page 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_hops Maximum 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.

Bonus Commands (13 slides) CTEC 110 13

Bonus Commands


Recommended