Commands Flashcards
netstat -a
Network Statistics; -a shows all active connections; -b show binaries (windows); -n just IP addresses
iperf
tool For active measurements of the maximum achievable
bandwidth and used for network tuning
NetFlow
Cisco protocol used for network flow analysis. A
NetFlow analyzer is used to collect IP network traffic as it enters or exits an
interface and can identify such values as the source and destination of traffic,
class of service, and the causes of congestion
tracert
/traceroute
Tracks the path a packet takes as it travels across a network.
1. tracert is used on Windows systems;
2. traceroute is used on UNIX, Linux,and macOS systems.
ping
Tests connectivity between two devices on a network with IPv4
hostname
Displays the name assigned to the host.
arp
Address Resolution Protocol command; -a will show IP with MAC address
arp
ping
Uses ARP to test connectivity between systems rather than the
Internet Control Message Protocol (ICMP), as done with a regular
ping
netstat
Enables you to view the current TCP/IP connections on a system.
telnet
Allows remote access to a host. Because it is not secure, its usage is
usually discouraged in favor of newer, more secure options such as
SSH.
ipconfig /ifconfig
1.Enables you to view and renew a TCP/IP configuration on a
Windows system.
2.Enables you to view a TCP/IP configuration on a UNIX, Linux, or
macOS system
nslook
up/dig
manual DNS lookups.
1. nslookup can be used on Windows,
UNIX, macOS, and Linux systems.
2. dig can be used on UNIX,
Linux, and macOS systems.
tcpdump
Acts as a Linux-based packet analyzer.
route
Enables you to view and configure the routes in the routing table.
nmap
Acts as a popular vulnerability scanner.