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
What does "netstat -b" does?
displays the names of the programs that opened the connections.
26
What does "netstat -e" does?
This option shows statistical information for an interfaces IP traffic such as the number of bytes sent and received.
27
What does "netstat -f" does?
This option displays fully qualified domain names of destination addresses appearing in ta listing of active sessions.
28
What does "netstat -p" does?
displays connection based on protocol given.
29
What does "netstat -r" does?
displays the route table. this is the same information from route print
30
What does "netstat -s" does?
Is statistical information.
31
nslookup
Is used to query domain name servers. it is used to resolve domain names to IP address.
32
ping
Used to check ip connectivity between two devices. used ICMP which is a level 4 protocol.
33
What does ping -t " does?
send pings until you hit control c
34
What does ping -n " does?
the number of pings to send
35
What does ping -f " does?
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
What does ping -i " does?
sets the TTL value in the packet header
37
What does ping -S " does?
allows you to specify which IP to use.
38
route
Displays the current IP routing table. You could also add and delete from the table.
39
what does "route -f" does?
clears gateway entries from the routing table
40
what does "route -p" does
used with an app it will persist the reboot.
41
what are the commands for route
add change PRINT DELETE
42
what is the formate of route command
route -f -p (command) [destination] [netmask] [gateway] [metric] [interface]
43
tracert
ping every router hop for the source to the destination and reports the round-trip time for each hop.
44
pathping
combines ping and tracers over period of time
45
what does "path ping -g" do?
Loose source route along host-list
46
what does "path ping -h" do?
maximum number of hops to search
47
what does "path ping -i" do?
specify the source address
48
what does "path ping -n" do?
do not resolve addresses to hostname
49
what does "path ping -p" do?
wait a period of time
50
what does "path ping -q" do?
number of queries per hop
51
what does "path ping -w" do?
wait timeout for each reply
52
what does "path ping -4" do?
force ipv4
53
what does "path ping -6" do?
force ipv6
54
netsh
allows you to add or modify the network configurations of a computer that is currently running.
55
hostname
get the current host name
56
getmac
get the mac address