بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
شكرا للاخ
على هذه الموضوع المميز
وهذه دعوه
لمشرفيين واعضاء منتديات الجياش للمشاركة
لعمل موسوعة أوامر CMD الخاصة بالشبكات
بحيث كل شخص يقوم باضافة وشرح لاحد الأوامر يعرفها جيدا . :
ملاحظة يا ريت يكون عنوان الموضوع هو اسم الأمر
.................................................. .....
(ping )
هو اختصار ل(Packet InterNet Groper)و فائدته هو للتحقق من سلامة الشبكة وقياس سرعة الاتصال والتاكد من صول المعلومات دون اخطاء .
(ping xxx.xxx.xxx.xxx)
يستعمل هذا الأمر للتاكد من الاتصال بين كمبيوترك وبين الكمبيوتر الأخر حيث (x) تمثل رقم (IP ) للكمبيوتر الثاني
اذا كان الأتصال ممتاز تظهر لك هذه الرسالة :-
C:\********s and Settings\aljayyash.net>ping xxx.xxx.xxx.xxx
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Ping statistics for xxx.xxx.xxx.xxx:
Packets:Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .........
واذا كان هناك مشكلة في الاتصال تظهر رسالة كالاتي :-
C:\********s and Settings\aljayyash.net>ping xxx.xxx.xxx.xxx
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Destination host unreachable.
Destination host unreachable.
Destination host unreachable.
Destination host unreachable.
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
ويكون السبب الرئيسي لعدم وجود اتصال خلل في :-( الكيبل او بطاقة الشبكة او الراوتر)
.................................................. .................................................. .................................................. ........................................
(ping localhost)
يستعمل هذا الأمر للتاكد من عمل السيرفر المحلي(127.0.0.1)حيث يسمح لك هذا الأمر لمعرفة ما اذا كان الحاسوب قادرا على ارسال واستقبال المعلومات . علما ان ذلك لا يرسل المعلومات عبر الشبكه وانما يسمح من خلال بطاقة الكمبيوتر الخاصة بالشبكة فقط.
وتظهر المعلومات كما يلى:-
C:\********s and Settings\aljayyash.net>ping localhost
Pinging PC*********** [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .................................................. .................................................. ........................................
(ping -t )
Pings the specified host until stopped.
ping -t xxx.xxx.xxx.xxx
C:\********s and Settings\aljayyash.net>ping -t xxx.xxx.xxx.xxx
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
لرؤية النتائج مع المواصلة اضغط على :-
(Control-Break)
وسوف تظهر لك الرساله:-
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 99, Received = 99, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
بعد ذلك يواصل الأمر
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply fromxxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 112, Received = 112, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
لانهاء العملية اضغط على
(Control-C)
.................................................. .................................................. .................................................. ........................................
( ping -a )
Resolve addresses to hostnames
ping -a xxx.xxx.xxx.xxx
C:\********s and Settings\aljayyash.net>ping -a xxx.xxx.xxx.xxx
Pinging PC***********.lan [xxx.xxx.xxx.xxx] with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .................................................. .................................................. ........................................
( ping -n count )
Number of echo requests to send
ping -n count xxx.xxx.xxx.xxx.
C:\********s and Settings\aljayyash.net> ping -n count xxx.xxx.xxx.xxx
Bad value for option -n, valid range is from 1 to 4294967295.
.................................................. .................................................. .................................................. ........................................
(ping -l size)
Send buffer size.
ping -l size xxx.xxx.xxx.xxx
C:\********s and Settings\aljayyash.net>ping -l size xxx.xxx.xxx.xxx
Pinging xxx.xxx.xxx.xxx with 0 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=0 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=0 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=0 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=0 time<1ms TTL=128
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .................................................. .................................................. ........................................
ping -f
Set Don't Fragment flag in packet
ping -f xxx.xxx.xxx.xxx
C:\********s and Settings\aljayyash.net>ping -f xxx.xxx.xxx.xxx
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .................................................. .................................................. ........................................
ping -i TTL
Time To Live.
.................................................. .................................................. .................................................. ........................................
ping -v TOS
Type Of Service
C:\********s and Settings\aljayyash.net>ping -v TOS xxx.xxx.xxx.xxx
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .................................................. .................................................. ........................................
ping -r count
Record route for count hops.
C:\********s and Settings\aljayyash.net>ping -r 9 xxx.xxx.xxx.xxx
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Route: xxx.xxx.xxx.xxx
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Route: xxx.xxx.xxx.xxx
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Route: xxx.xxx.xxx.xxx
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Route: xxx.xxx.xxx.xxx
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .................................................. .................................................. ........................................
ping -s count
Timestamp for count hops
C:\********s and Settings\aljayyash.net>ping -s 4 xxx.xxx.xxx.xxx
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx bytes=32 time<1ms TTL=128
Timestamp: xxx.xxx.xxx.xxx : 71519953
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Timestamp: xxx.xxx.xxx.xxx : 71520953
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Timestamp: xxx.xxx.xxx.xxx : 71521968
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Timestamp: xxx.xxx.xxx.xxx : 71522968
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.
.................................................. .................................................. .................................................. ........................................
ping -j host-list
Loose source route along host-list
.................................................. .................................................. .................................................. ........................................
ping -k host-list
Strict source route along host-list.
.................................................. .................................................. .................................................. ........................................
ping -w timeout
Timeout in milliseconds to wait for each reply.
ping -w timeout xxx.xxx.xxx.xxx
C:\********s and Settings\aljayyash.net>ping -w timeout xxx.xxx.xxx.xxx:
Pinging xxx.xxx.xxx.xxx with 32 bytes of data:
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=128
Ping statistics for xxx.xxx.xxx.xxx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
.................................................. .................................................. .................................................. ........................................
.................................................. .................................................. .................................................. ........................................
.................................................. ...........
وننتظر تفاعل ومشاركة الاعضاء معنا