Windows Command Line-Networking Cheat Sheet
by Mary F. Smith (boogie) via cheatography.com/86236/cs/20743/
ipconfig Telnet [test for established TCP session]
ipconfig /displaydns telnet 104.47.48.36 25
[tests connectivity to email or relay server via port 25]
ipconfig /registerdns
ipconfig /flushdns telnet google.com 80
tests connectivity to a web server via port 80
ping - [cls clears the screen]
searched for ats.coop mx record = 104.47.48.36
ping [name, ip or address] default port for telnet is 23 but for smtp it is 25
-t 192.168.1.144[continuous ping until cease command
sent] netstat [assists with port & session issues]
-n 10 LT-4151[for 10 replies] netstat [reply provides protocol, local IP:port #, remote ho
-6 192.1681.1.144[forces the use of IPv6] -a [includes listening ports]
-l [edit the packet] -b [includes application listening 'in brackets'
-f [do not fragment packet] i.e. usage ping -f -l 130 -o [includes process id for listening application
0 8.8.8.8
a listening port may be "locked" open, blocking o
errors if receiver MTU is lower than sender
if a host listens on 0.0.0.0, it will respond to all
-n [places list in numerical order]
tracert [all router hops from sen to rec]
-s provides statistical information
tracert [ip or hostname]
i.e. IPv4, IPv6, TCP, UDP and ICMP information
-d [drops the dns request]
-h [changes the max hops]
nbtstat
pathping [tracert with a 25 sec ping on each hop]
nbtstat name resolution via netbios
-h [max number of hops]
-c [displays interface and local netbios cache]
-a [displays the netbios name table of this host]
arp [address resolution protocol
-s lists open sessions
arp -a [arp table cached on current host]
[static - user or system created]
nslookup
[dynamic - learned from a neighbor]
nslookup [interactive mode]
arp -d 192.168.1.1 [deletes this address from apr ta
nslookup www.google.com [returns FQDN]
ble]
opens an interactive window allowing other commands i.e
* by default the broadcast MAC is FF:FF:FF:FF:FF
:FF
set q=mx ats.coop
arp -s 192.168.1.1 00-AA-22-BB-33-CC [adds entry to arp ta
set q=cname ats.coop
ble]
By Mary F. Smith (boogie) Not published yet. Sponsored by Readable.com
cheatography.com/boogie/ Last updated 8th March, 2023. Measure your website readability!
Page 1 of 2. https://readable.com
Windows Command Line-Networking Cheat Sheet
by Mary F. Smith (boogie) via cheatography.com/86236/cs/20743/
route
route print
route delete 192.168.1.1
route add 192.168.1.1
* route table should always have the default route of 0.0.0.0 to 10.0.0.
2
Still Pending
pathping
netdiag
hostname
Other Tools
speedtest.com throughput tester
environmental monitors cable certifier
network sniffer [protocol analyzer] cable tester
BER = bit errors/bits transferred bit error rate tester [BERT] t1
wireless analyzer
looking glass sites Board gateway protocol[BGP]
Microsoft Network Monitor
By Mary F. Smith (boogie) Not published yet. Sponsored by Readable.com
cheatography.com/boogie/ Last updated 8th March, 2023. Measure your website readability!
Page 2 of 2. https://readable.com