اتصل

أوامر Cisco CLI الأساسية لشهادة CCNA (2025)

الصفحة الرئيسية / مدونة

8 دقيقة قراءة
ZILL E ALIيونيو 25, 2025شبكات سيسكو

🧑‍💻 أوامر CLI في Cisco CCNA: لماذا الأوامر مهمة

يجب على مرشحي CCNA ممارسة أوامر CLI لتجاوز مجرد حفظ الصياغة.

هل تدرس للـ CCNA؟ أنت تعلم بالفعل أنه لا يقتصر على النظرية — تحتاج إلى خبرة عملية في سطر الأوامر.

سواء كنت تقوم بتكوين VLANs، أو تشخيص OSPF، أو تأمين وصول الأجهزة، يتوقع Cisco أن تكون على دراية بـ CLI (واجهة سطر الأوامر).

يبرز هذا المدونة أعلى أوامر Cisco يجب على كل مرشح للـ CCNA الممارسة — خاصة تلك المستخدمة عادةً في المختبرات، تمارين Packet Tracer، واستكشاف الأخطاء الواقعي.

إذا لم تقرأ مقالتنا أفضل 10 تمارين مختبر CCNA، فهي خطوة جيدة بعد قراءة هذا.

أوضاع الأوامر الأساسية التي يجب معرفتها أولاً

قبل الغوص في الأوامر، إليك ملخص سريع لـ تسلسل CLI:

الوضع الموجه ما يفعله
User EXEC Router> وصول محدود للعرض
Privileged EXEC Router# خيارات أوامر إضافية
Global Config Router(config)# تكوين الإعدادات
Interface Config Router(config-if)# تكوين المنافذ/الواجهات
Line Config Router(config-line)# تكوين خطوط الطرفية (الكونسول، vty)

أكثر أوامر الشبكات CCNA استخداماً (مجمعة حسب الغرض)

تكوين الجهاز الأساسي

🟢 يُستخدم لإعداد اسم الجهاز، كلمات المرور، ومنع تأخير البحث DNS.

تكوين الواجهة وتحديد عنوان IP

🟢 أساسي عند تعيين عناوين IP للموجهات أو واجهات VLAN.

إنشاء VLAN وتعيين المنفذ

Cisco CLI commands CCNA diagram showing the router, switch and VLAN topology the example commands configure
أوامر سيسكو CLI CCNA: الموجه، السويتش المتعدد القنوات، واثنين من VLANs؛ الأوامر المثال في هذا الدليل تقوم فعليًا بتكوينها.

🟢 يُستخدم في مختبرات تكوين VLAN.

✅ تكوين التوجيه (ثابت + OSPF)

التوجيه الثابت

فتح أقصر مسار أولاً ( OSPF) منطقة واحدة

🟢 ستستخدم هذا في جميع مختبرات اتصال IP والامتحان الحقيقي.

تكوين خادم DHCP

🟢 يجب معرفته لقسم خدمات IP في الامتحان.

تكوين NAT

🟢 يساعد المستخدمين الداخليين على الوصول إلى الإنترنت عبر عنوان IP عام واحد.

قوائم التحكم في الوصول (ACLs)

قائمة تحكم قياسية

🟢 غالبًا ما يُختبر في سيناريوهات تتضمن قيود المستخدم.

تقوية الجهاز والوصول عن بُعد (SSH)

استبدل Telnet بالوصول عن بُعد الآمن — هذا أمر حاسم!

✅ أوامر التحقق واستكشاف الأخطاء

أمر الغرض
show ip interface brief نظرة عامة على حالة IP/الواجهة
show running-config عرض التكوين الحالي
show vlan brief عرض تعيينات VLAN
show mac address-table إدخالات MAC للسويتش
show ip route عرض جدول التوجيه
ping & traceroute اختبارات الاتصال
تصحيح & إلغاء التصحيح الكل استكشاف الأخطاء المتعمق

🛠️ تعلم تفسير هذه المخرجات — العديد من محاكيات الامتحان تعتمد على هذه المهارة.

🧰 نصيحة احترافية: استخدم سطر أوامر Cisco Packet Tracer كملعبك

إذا لم تكن تمارس هذه الأوامر في محاكي مثل Cisco Packet Tracer, فأنت تفوت الفرصة.

استخدم إعدادًا صغيرًا يتضمن 2 راوتر، 2 سويتش، و2 حاسوب لتجربة كل أمر. كلما كتبت أكثر، أصبح الأمر طبيعيًا أسرع.


🧭 ما يجب حفظه مقابل ما يجب فهمه

حفظ فهم
تنسيق عنوان IP منطق التقسيم الفرعي
صياغة أوامر OSPF علاقة الجيران في OSPF
إعداد VLAN والمنفذ مفاهيم التوجيه بين VLANs
صياغة قوائم التحكم بالوصول (ACL) منطق تدفق المرور (داخل/خارج)

❓ ما هي أهم الأوامر لامتحان CCNA؟

ركز على:

  • show ip interface brief
  • show running-config
  • ip route / router ospf
  • vlan, switchport, interface
  • ping, traceroute
  • access-list, ip nat

هذه تغطي 90٪ من الأسئلة العملية في الامتحان وفي الوظائف الحقيقية.

❓ كيف يمكنني ممارسة هذه الأوامر مجانًا؟

استخدم Cisco Packet Tracer, محاكي مجاني متاح بعد التسجيل في دورة NetAcad من Cisco. يمكنك أيضًا تجربة Boson NetSim (خيار مدفوع) للممارسة المتعمقة.

❓ هل سيُطلب مني كتابة الأوامر في امتحان CCNA؟

نعم، توقع أسئلة محاكاة حيث تقوم بالتهيئة أو التصحيح باستخدام سطر الأوامر. لن يتم تقييمك على السرعة، بل على الدقة والمنطق.

❓ ما هي أفضل طريقة لتذكر الأوامر؟

أنشئ بطاقات تعليمية أو مجموعات Anki

Write configurations by hand in a notebook

Build small labs and repeat them from memory

Teach the commands to someone else (it works!)

Internal & External Resources

🔗 أفضل 10 تمارين مختبر CCNA – Practice what you learned here
🔗 How to Study for CCNA 2025 – Plan your full prep journey
🔗 Cisco Packet Tracer Download – Free simulator for labs
🔗 Cisco CLI Reference Guide – Official CLI documentation

الأسئلة المتكررة

What is the difference between User EXEC and Privileged EXEC mode?

User EXEC mode (the Router> prompt) is the default mode you land in after connecting to a Cisco device – it only lets you view limited status information and cannot change any configuration. Privileged EXEC mode (Router#), reached by typing enable, unlocks show commands that reveal the full running configuration, debugging tools, and access to Global Configuration mode where real changes are made. CCNA exams frequently test whether you know which commands are available in which mode, since trying to run a configuration command from User EXEC simply returns an error.

How do I save a running configuration permanently on a Cisco device?

Changes made in configuration mode only live in the running-config, which is stored in RAM and is wiped on reboot. To make them survive a power cycle, copy the running-config into the startup-config (stored in NVRAM) with copy running-config startup-config, or the shorter write memory (often abbreviated wr). Forgetting this step is one of the most common lab mistakes – everything looks correct until the device restarts and all configuration disappears.

What command do I use to see a device’s running configuration?

show running-config (often shortened to show run) from Privileged EXEC mode prints the entire active configuration currently loaded in RAM, including hostnames, interface settings, routing protocols, and access lists. Pair it with show startup-config to compare what is actually running against what will load on next boot – a mismatch between the two is a classic sign that changes were never saved.

How can I check interface status and IP addresses quickly?

show ip interface brief (often abbreviated sh ip int br) is the fastest way to see every interface on a device, its assigned IP address, and whether it is administratively up/down and showing a protocol status of up/down. It is usually the very first command run when troubleshooting connectivity, since a “down/down” or “administratively down” interface immediately narrows down where a problem is coming from.

What’s the fastest way to troubleshoot connectivity between two devices?

Start with ping to confirm basic reachability at Layer 3, then traceroute to see exactly which hop along the path is failing. If both devices are directly connected, check show ip interface brief for interface status and show cdp neighbors to confirm the physical/data-link connection is actually up before assuming the problem is in routing or addressing.

How do I configure a static route on a Cisco router?

From Global Configuration mode, the syntax is ip route [destination network] [subnet mask] [next-hop IP or exit interface] – for example ip route 192.168.2.0 255.255.255.0 10.0.0.2. Static routes are a core CCNA topic because they demonstrate you understand how a router decides where to forward traffic when no dynamic routing protocol is configured, and they are often the fastest way to connect two small lab networks.

What is the purpose of the “no shutdown” command?

Cisco interfaces are administratively shut down by default out of the box. The no shutdown command (run inside Interface Configuration mode) enables the interface so it can actually pass traffic. It is one of the most commonly forgotten commands in CCNA labs – an interface can be perfectly configured with the right IP address and still show “administratively down” in show ip interface brief simply because this one line was skipped.

How do I recover a forgotten enable secret password?

Password recovery on Cisco IOS devices involves rebooting into ROMMON mode, changing the configuration register so the startup-config is skipped on boot, then copying the startup-config back in manually to set a new enable secret before restoring the original configuration register value. It requires physical/console access to the device and is a good example of why production devices should always have passwords backed up securely rather than relying on recovery as a first option.

What’s the difference between “copy running-config startup-config” and “write memory”?

Functionally, they do exactly the same thing on modern IOS versions – both copy the active running-config into NVRAM as the startup-config. write memory is simply the older, shorter syntax that predates the more descriptive copy command and is still supported for convenience. Either one is correct to use; most engineers default to whichever is faster to type.

Which CLI commands are most commonly tested on the CCNA exam?

Beyond basic device configuration (hostname, passwords, interfaces), the exam leans heavily on VLAN and trunk configuration, OSPF neighbor and routing table verification (show ip ospf neighbor, show ip route), access control list syntax, and NAT configuration commands. Knowing the show commands that verify each feature is just as important as knowing the configuration commands themselves, since the exam often asks you to interpret output rather than just write configuration.

إذا كنت تفضّل أن يشرح لك أحدهم ذلك خطوة بخطوة، أو تحتاج إلى مختبر Packet Tracer محدد مكتمل ومشرح بدلاً من أن تحله بنفسك، راجع دروس CCNA و Packet Tracer الصفحة التي توضح كيفية عمل ذلك.

Ready to put these commands into practice? See 10 Essential CCNA Lab Exercises to Practice for hands-on scenarios that use most of them.

كتب بواسطة

ZILL E ALI

مهندس شبكات معتمد بشهادتي MTCNA و MTCRE ومتخصص في بنية تحتية لمزودي خدمة الإنترنت، ومؤسس Developer Zon. يكتب هنا عن MikroTik و Cisco وبنية تحتية لمزودي الخدمة، وأحيانًا عن سجلات البناء.

اترك ردًا

يستخدم هذا الموقع Akismet لتقليل البريد المزعج. تعرف على كيفية معالجة بيانات تعليقك.