Commands Flashcards

1
Q

Network Statistics (netstat)

A
  • Display information for IP-based connections
  • Current sessions
  • Source and destination IPs
  • Port numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

netstat -a

A
  • All sockets, including listing
  • TCP&UDP connections
  • Addresses and port #s expressed numerically
  • Host names
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

netstat -o

A
  • Displays active TCP connections (no listening)
  • Includes process ID (PID) for each connection. (goes back to task man)
  • You can find the application based on the PID on the Processes tab in Task Manager.
  • Can be combined with -a, -n, and -p
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

netstat -n

A
  • Displays active TCP connections, (not listening)
  • Addresses and port numbers are expressed numerically
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

netstat -s

A
  • Displays statistics by protocol.
  • TCP, UDP, ICMP, and IP protocols display by default
  • The -p parameter can be used to specify a set of protocols
  • If the IPv6 protocol is installed, statistics are shown for the TCP over IPv6, UDP over IPv6, ICMPv6, and IPv6 protocols.
    .
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

tcpdump

A

Display TCP/IP and other packets being transmitted or received

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

Network Mapper (nmap)

A

Discovers hosts and services on a computer network by sending packets and analyzing the responses

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

show interface

A

Displays statistics for the network interfaces on the network platform

can specify interface with (ethernet #/#)

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

show config

A

Displays the current network platform configuration

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

show route

A

Displays the current sat of the routing table on the network platform

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

show startup-config

A

Command to show start configuration on router

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

show running-config

A

Command to show Running configuration on router

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

copy running-config startup-config

A

Command to save Running configuration to start configuration on a router

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

ip (command)

A

Assigns an address to a network interface or configures network interface parameters in Unix, Linux, and OS X

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

Name Server Lookup (nslookup)

A

Used to query the DNS to provide the mapping between domain names and IP address or other DNS records

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

dig

A

Used to conduct queries against DNS nameservers and is only available for Linus, Unix, and OS X systems by default

17
Q

dig -t ____

A

Specify type of DNS record

18
Q

Address Resolution Protocol (arp) command

A

Used to display and modify entries in the Address Resolution Protocol (or ARP) cache on a system

19
Q

arp -a

A

View ARP cache

20
Q

arp -d ipaddress

A

delete an IP address from an ARP table

21
Q

arp -s ipaddress macaddress

A

staticly assign an ip address to an ARP table

22
Q

arp -d

A

delete entire ARP cache

23
Q

route

A

Command used to view and manipulate the IP routing table in Windows, Linux, Unix, or OS X

24
Q

route print

A

Command to display IP routing table in Windows

25
Q

route -n

A

Display routing table in Linux and Unix

26
Q

route add destnetwork mask subnetmask metric # if #

A

Add static route to routing table

27
Q

nbtstat

A

Command used to view the current connections and statistics for devices communicating using the NetBIOS over TCP/IP protocol

Windows Only

28
Q

Interface Configuration (ifconfig)

A

Command line tool used in Unix, Linux, and OS X systems to display IP address information