Windows Network Commands Flashcards

1
Q

ARP?

A

Address Resolution protocol.

Displays and modifies the internet to ethernet address(MAC) translation tables used by arp.

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

what does “arp -s inet_addr eth_addr” does?

A

is used to add an entry to the ARP table

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

what does “arp -d inet_addr” does?

A

it deletes entries from the arp table.

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

what does “arp -a”

A

it displays current cache.

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

What is ipconfig?

A

command used to display IP address configuration parameters on a Windows PC.

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

what does “ipconfig /all” does?

A

give verbose information about the IP configurations.

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

what does “ipconfig /renew” does?

A

renew the DHCP lease for IP 4

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

what does “ipconfig /release” does?

A

release the lease of an IP address for IP 4

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

what does “ipconfig /renew6” does?

A

renew the DHCP lease for IP 6

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

what does “ipconfig /relese6” does?

A

release the lease of an IP address for IP 6

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

what does “ipconfig /flushdns” does?

A

purges the DNS resolver cache

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

what does “ipconfig /displaydns” does?

A

display the cache for DNS

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

what does “ipconfig /registerdns” does?

A

refresh all DHCP leases and re-registers DNS names

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

what does “ipconfig /setclassid” does?

A

modifies the dhcp clss id

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

What is nbtstat?

A

displays NetBIOS information for IP-based networks

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

what does “nbtstat -a” does?

A

allows you to see netbios based of a name

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

what does “nbtstat -A” does?

A

allows you to see netbios based of IP address

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

what does “nbtstat -c” does?

A

display the content of the netbios ache along with the IP address

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

what does “nbtstat -n” does?

A

displays the net bios names that have been registered by an application.

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

what does “nbtstat -r” does?

A

shows the statistical netbios information such as the number of netbios names resolved by boradcasting and the nubmer of netbios names resolved by the WINS server.

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

what does “nbtstat -R” does?

A

this commands purges all cache and reloads entries from PC LMHOST file.

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

what does “nbtstat -S” does?

A

this option provides a listing of the netbios session table, along with the IP addresses of the listed netbios names

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

what is netstat?

A

used to display various information about IP-based connections on a PC.

24
Q

What does “netstat -a” does?

A

Displays all TCP & UDP connections and ports

25
Q

What does “netstat -b” does?

A

displays the names of the programs that opened the connections.

26
Q

What does “netstat -e” does?

A

This option shows statistical information for an interfaces IP traffic such as the number of bytes sent and received.

27
Q

What does “netstat -f” does?

A

This option displays fully qualified domain names of destination addresses appearing in ta listing of active sessions.

28
Q

What does “netstat -p” does?

A

displays connection based on protocol given.

29
Q

What does “netstat -r” does?

A

displays the route table.

this is the same information from route print

30
Q

What does “netstat -s” does?

A

Is statistical information.

31
Q

nslookup

A

Is used to query domain name servers. it is used to resolve domain names to IP address.

32
Q

ping

A

Used to check ip connectivity between two devices.

used ICMP which is a level 4 protocol.

33
Q

What does ping -t “ does?

A

send pings until you hit control c

34
Q

What does ping -n “ does?

A

the number of pings to send

35
Q

What does ping -f “ does?

A

sets the don’t fragment bit in a packet header. If a packet tries to cross router that attempts to fragment the packet the packet is dropped and ICMP error message is returned.

36
Q

What does ping -i “ does?

A

sets the TTL value in the packet header

37
Q

What does ping -S “ does?

A

allows you to specify which IP to use.

38
Q

route

A

Displays the current IP routing table. You could also add and delete from the table.

39
Q

what does “route -f” does?

A

clears gateway entries from the routing table

40
Q

what does “route -p” does

A

used with an app it will persist the reboot.

41
Q

what are the commands for route

A

add
change
PRINT
DELETE

42
Q

what is the formate of route command

A

route -f -p (command) [destination] [netmask] [gateway] [metric] [interface]

43
Q

tracert

A

ping every router hop for the source to the destination and reports the round-trip time for each hop.

44
Q

pathping

A

combines ping and tracers over period of time

45
Q

what does “path ping -g” do?

A

Loose source route along host-list

46
Q

what does “path ping -h” do?

A

maximum number of hops to search

47
Q

what does “path ping -i” do?

A

specify the source address

48
Q

what does “path ping -n” do?

A

do not resolve addresses to hostname

49
Q

what does “path ping -p” do?

A

wait a period of time

50
Q

what does “path ping -q” do?

A

number of queries per hop

51
Q

what does “path ping -w” do?

A

wait timeout for each reply

52
Q

what does “path ping -4” do?

A

force ipv4

53
Q

what does “path ping -6” do?

A

force ipv6

54
Q

netsh

A

allows you to add or modify the network configurations of a computer that is currently running.

55
Q

hostname

A

get the current host name

56
Q

getmac

A

get the mac address