KEMBAR78
Boogie - Windows Command Line Networking | PDF | Port (Computer Networking) | Internet Protocols
0% found this document useful (0 votes)
21 views2 pages

Boogie - Windows Command Line Networking

Windows Network command line code

Uploaded by

Harry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Boogie - Windows Command Line Networking

Windows Network command line code

Uploaded by

Harry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Windows Command Line-Networking Cheat Sheet

by Mary F. Smith (boogie) via cheatography.com/86236/cs/20743/

ipconfig Telnet [test for establ​ished TCP session]

ipconfig /displ​aydns telnet 104.47.48.36 25


[tests connec​tivity to email or relay server via port 25]
ipconfig /regis​terdns
ipconfig /flushdns telnet google.com 80
tests connec​tivity 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.16​8.1.144[conti​nuous 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.16​81.1.144[forces the use of IPv6] -a [includes listening ports]
-l [edit the packet] -b [includes applic​ation listening 'in brackets'
-f [do not fragment packet] i.e. usage ping -f -l 130 -o [includes process id for listening applic​ation
0 8.8.8.8
a listening port may be "​loc​ked​" 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 statis​tical inform​ation
tracert [ip or hostname]
i.e. IPv4, IPv6, TCP, UDP and ICMP inform​ation
-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 [inter​active mode]
arp -d 192.16​8.1.1 [deletes this address from apr ta
nslookup www.go​ogl​e.com [returns FQDN]
ble]
opens an intera​ctive 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.16​8.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.16​8.1.1
route add 192.16​8.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

speedt​est.com throughput tester


enviro​nmental monitors cable certifier
network sniffer [protocol analyzer] cable tester
BER = bit errors​/bits transf​erred bit error rate tester [BERT] t1
wireless analyzer
looking glass sites Board gateway protoc​ol[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

You might also like