Windows Network Command Line Flashcards

1
Q

ipconfig

A
  • Most of your troubleshooting starts with your IP address
    – Ping your local router/gateway
  • Determine TCP/IP and network adapter information
    – And some additional IP details
  • View additional configuration details
    – DNS servers, DHCP server, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ping

A

ping
* Test reachability
– Determine round-trip time
– Uses Internet Control Message Protocol (ICMP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

netstat

A

Network statistics
– Many different operating systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

*netstat -a

A

Show all active connections

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

*netstat -b

A

– Show binaries (Windows)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

netstat -n

A

Do not resolve names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

nslookup

A

Lookup information from DNS servers
– Canonical names, IP addresses, cache timers, etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

net

A

Windows network commands
* View network resources
– net view \<servername>
– net view /workgroup:<workgroupname>
* Map a network share to a drive letter
– net use h: \\<servername>\<sharename>
* View user account information and reset passwords
– net user <username>
– net user <username> * /domain</username></username></sharename></servername></workgroupname></servername>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

tracert

A
  • Determine the route a packet takes to a destination
    – Map the entire path
  • Takes advantage of ICMP Time to Live Exceeded
    message
    – The time in TTL refers to hops, not
    seconds or minutes
    – TTL=1 is the first router, TTL=2 is
    the second router, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

pathping

A

Combine ping and traceroute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly