You are on page 1of 4

21/10/2560 คําสังพืนฐานในการตรวจสอบระบบเครือข่าย « chutiyan52

chutiyan52

ั นฐานในการตรวจสอบระบบเครือข่าย
คําสงพื

ั นฐานในการตรวจสอบระบบเครือข่าย
คําสงพื

การเข้าใชง้ าน Command Line


Start > Run…> cmd [enter]


คําสงทดสอบการเช ื
อมต่อไปยังเครืองปลายทาง
ping pc1 [enter] ทดสอบ computer name
ping 192.168.0.3 [enter] ทดสอบโดยใชหมายเลขไอพี
้ เครืองทีต ้องการ
ping h p://www.yahoo.com (h p://www.yahoo.com )[enter] ทดสอบเว็บไซต์ภายนอก
ping h p://www.yahoo.com (h p://www.yahoo.com) -t [enter] ทดสอบเว็บไซต์ภายนอกแบบต่อเนือง

ตรวจสอบรายละเอียดเครืองคอมฯ ออนไลน์
net view [enter] ตรวจสอบ computer name ใน workgroup เดียวกัน
net view/domain [enter] ตรวจสอบรายชอโดเมนในระบบเครื
ื อข่าย
ืnet view/domain:account [enter] ตรวจสอบรายชอ ื computer name ในโดเมน account
net share [enter] ดูไฟล์ในเครืองทีแชร์อยู่
net session [enter] ตรวจสอบผู ้ใชที้ เข ้าใชงานเครื
้ องเรา
net help [enter] แสดงออปชนย่ั อยภายในคํา net
net help time [enter] แสดงวิธกี ารเรียกใชงานคํ้ ั อย
าสงย่

netstat -n [enter] ตรวจสอบสถิตไิ อพี/บริการ ทีเราใชงานอยู


้ ่
netstat -an [enter]

ipconfig > ตรวจสอบ ip address / subnet mask / gateway


ipconfig /all > ตรวจสอบ ip address / subnet mask / gateway / dns
ipconfig /displaydns > ตรวจสอบ DNS

nbtstat -A 192.168.0.4 [enter] ดูตารางชอเครื


ื องและรายละเอียดต่างๆ (NetBIOS Remote Machine Name
Table)

telnet 192.168.0.12 [enter] ทําการ remote ไปยังเครือง Linux Server ทีเปิ ดบริการ Telnet

route print [enter] ดูตาราง Routing table

tracert h p://www.northbkk.ac.th (h p://www.northbkk.ac.th) [enter] แกะรอยแสนทางเครื


้ อข่ายโดย
ใช ้ domain name
tracert 203.107.139.192 [enter] แกะรอยแสนทางเครื
้ อข่ายโดยใช ้ ip address

ftp ftp.redhat.com [enter] ใชบริ


้ การ file transfer protocol

https://chutiyan52.wordpress.com/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B8%A3%E0%B8%A7%E0%B8%88%E0%B9%… 1/4
21/10/2560 คําสังพืนฐานในการตรวจสอบระบบเครือข่าย « chutiyan52

nslookup h p://www.nortbkk.ac.th (h p://www.nortbkk.ac.th) [enter] สอบถามชอโฮสต์


ื และไอพี
ืnslookup [enter]
> h p://www.northbkk.ac.th (h p://www.northbkk.ac.th)
> mail.northbkk.ac.th
> proxy.northbkk.ac.th
> set type=ns ตรวจสอบ Name Server
> northbkk.ac.th
> set type=mx ตรวจสอบ Mail Exchange
> northbkk.ac.th
> exit

การตรวจสอบรายละเอียดเครืองเซริ ฟ ์ เวอร์
hostname > ตรวจสอบ host name
net config server > ตรวจสอบการคอนฟิ กเซริ ฟ ่ ชอเครื
์ เวอร์ เชน ื อง, OS ทีใช ้
net config workstation > ตรวจสอบการคอนฟิ กเซริ ฟ ่ ชอเครื
์ เวอร์ เชน ื อง, OS ทีใช ้
net statistics server > ดูสถิตเิ ซริ ฟ
์ เวอร์
net statistics workstation > ดูสถิตไิ คลเอนต์

การเปลียนรายละเอียด Computer Description ทาง Command


รูปแบบ
net config server /srvcommant: “รายละเอียดทีต ้องการ”
เชน่

net config server /srvcommant: “Arnut Ru anatirakul” การตรวจสอบ


– ไปคลิกขวาที My Computer >
Properties > คลิกแท็บ Computer name
> ดูผลการเปลียนแปลงที Computer Description

Windows Utility – คําสงในการจั ั ดการด ้านฮาร์ดแวร์


taskmgr > เรียกใชงาน ้ Task Manager
msconfig > เรียกใชงาน System Configuration Utility

sysedit > เรียกใชงาน
้ System Configuration Editor
inetmgr > เรียกใชงาน ้ Internet Information Services (กรณีมบี ริการติดอยูก
่ อ
่ นหน ้าแล ้ว)
regedit > เรียกใชงาน้ Registry Editor
services.msc > เรียกใชงานหน ้ ้าต่าง Services ของระบบ Windows
gpedit.msc > เรียกใชงาน ้ Group Policy
mmc > เรียกใชงาน้ Microsoft Management Console
perfmon > เรียกใชงาน ้ Performace

Windows Components – โปรแกรมทีติดมาพร ้อมวินโดสว์


notepad > เรียกใชงาน้ Notepad
calc > เรียกใชงาน
้ Calculator
winchat > เรียกใชงาน
้ Winchat
winmine > เรียกใชงานเกมส ์ Winmine

ั นๆ ทีควรรูจ
คําสงอื ้ ัก
path > ตรวจสอบพาท
ver > ตรวจสอบเวอร์ชนของ
ั windows
set > ตรวจสอบค่าของระบบทีใชงานอยู
้ ่

ั า
คําสงส ํ หร ับตรวจสอบพาทระบบ
สามารถเข ้าตรวจสอบได ้ผ่านทาง DOS Prompt
– Start > Run > cmd > OK
https://chutiyan52.wordpress.com/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B8%A3%E0%B8%A7%E0%B8%88%E0%B9%… 2/4
21/10/2560 คําสังพืนฐานในการตรวจสอบระบบเครือข่าย « chutiyan52

echo %OS% > ตรวจสอบชอ ื OS


echo %PATH% > ตรวจสอบพาทระบบทีใชงานอยู้ ่
echo %PATHEXT% > ตรวจสอบนามสกุลไฟล์ประเภท Exceute
echo %Temp% > ห ้องเก็บ Temp ไฟล์
echo %Number_of_Processors% > จํานวน CPU ทีใชงานอยู
้ ่
echo %WinDir% > ห ้องเก็บระบบปฏิบต
ั ก
ิ าร
echo %Processor_Architecture% > ตรวจาสอบสถาปั ตยกรรม CPU
echo %SystemRoot% > ตรวจสอบระบบปฏิบต ั ก
ิ าร

Bonus
้ ยวกันกับเครืองเซริ ฟ
การตังเวลาให ้เครืองลูกข่ายทุกเครืองใชเวลาเดี ์ เวอร์
net time \\server_name /set /yes

การเปลียนสข ี อง Command Line


รูปแบบ
color [background][foreground]
เข่น
color 2A [enter]
color /? ค่าสตี า่ งๆ

0 = Black 4 = Red
8 = Gray1 = Blue C = Light Red5 = Purple
9 = Light Blue2 = Green D = Light Purple6 = Yellow
A = Light Green3 = Aqua E = Light Yellow7 = White
B = Light Aqua F = Bright White

https://chutiyan52.wordpress.com/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B8%A3%E0%B8%A7%E0%B8%88%E0%B9%… 3/4
21/10/2560 คําสังพืนฐานในการตรวจสอบระบบเครือข่าย « chutiyan52
Advertisements

Blog at WordPress.com.

https://chutiyan52.wordpress.com/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B8%A3%E0%B8%A7%E0%B8%88%E0%B9%… 4/4

You might also like