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
  • test reachability
  • determine round-trip time
  • Uses ICMP
  • one of the primary troubleshooting tools
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
  • netstat -a
  • show all active connections
  • netstat -b
  • show binaries (windows)
  • Requires elevation
  • netstat -n
  • do not resolve names (all ips)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Nslookup

A
  • name server lookup
  • lookup information from DNS servers
  • Canonical names, IP addresses, cache timers, etc
  • lookup names and IP addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

net

A

Windows network commands

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

Common net commands

A
  • view network resources
  • net view \<servername></servername>
  • net view /workgroup:<workgroupname></workgroupname>
  • map a network share to a drive letter
  • Net use drive: \<servername>\<sharename></sharename></servername>
  • view user account information and reset passwords
  • net user <username></username>
  • Net user <username> * /domain</username>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

tracert

A
  • Determine the route a packet takes to a destination
  • map the entire path
  • Takes advantage of ICMP Time to Live Exceeded error 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.
  • not all device will reply with ICMP Time Exceeded messages
  • some firewalls filter ICMP
  • ICMP is low-priority for many devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

pathping

A
  • combine ping and traceroute
  • included with Windows NT and later
  • first phase runs a traceroute
  • build a map
  • second phase
  • measure round trip time and packet loss at each hop
How well did you know this?
1
Not at all
2
3
4
5
Perfectly