Contact

Commandes CLI Cisco essentielles pour le CCNA (2025)

Accueil / Blog

8 min de lecture
ZILL E ALIjuin 25, 2025Réseau Cisco

🧑‍💻 Commandes CLI Cisco CCNA : Pourquoi les commandes comptent

Les candidats CCNA aux commandes CLI Cisco doivent pratiquer bien au-delà de la mémorisation de la syntaxe.

Vous préparez le CCNA ? Vous savez déjà qu'il ne s'agit pas seulement de théorie — vous avez besoin d'expérience pratique en ligne de commande.

Que vous configuriez des VLANs, dépanniez OSPF ou sécurisiez l'accès aux appareils, Cisco attend de vous que vous maîtrisiez le CLI (Interface en Ligne de Commande).

Ce blog met en avant le meilleures commandes Cisco que chaque candidat CCNA doit pratiquer — en particulier celles couramment utilisées dans les laboratoires, les exercices Packet Tracer et le dépannage réel.

Si vous n'avez pas encore lu notre Top 10 des exercices de laboratoire CCNA, c'est une excellente étape suivante après avoir lu ceci.

Modes de commande essentiels à connaître d'abord

Avant de plonger dans les commandes, voici un bref rappel de la hiérarchie du CLI:

Mode Invite Fonction
User EXEC Router> Accès limité en lecture
Privileged EXEC Router# Plus d'options de commande
Configuration globale Router(config)# Configurer les paramètres
Configuration d'interface Router(config-if)# Configurer les ports/interfaces
Configuration de ligne Router(config-line)# Configurer les lignes terminales (console, vty)

Commandes réseau CCNA les plus utilisées (groupées par objectif)

Configuration de base de l'appareil

🟢 Utilisé pour configurer le nom de l'appareil, les mots de passe et éviter les retards de recherche DNS.

Configuration d'interface et adressage IP

🟢 Essentiel lors de l'attribution d'adresses IP aux routeurs ou aux interfaces VLAN.

Création de VLAN & Attribution de ports

Cisco CLI commands CCNA diagram showing the router, switch and VLAN topology the example commands configure
Cisco CLI commands CCNA : le routeur, le commutateur trunké et deux VLANs, les commandes d'exemple dans ce guide configurent réellement.

🟢 Utilisé dans Laboratoires de configuration VLAN.

✅ Configuration de routage (Statique + OSPF)

Routage statique

Open Short Path First ( OSPF ) Single Area

🟢 Vous l'utiliserez dans tous les laboratoires de connectivité IP et dans l'examen réel.

Configuration du serveur DHCP

🟢 À connaître absolument pour la section Services IP de l'examen.

Configuration NAT

🟢 Aide les utilisateurs internes à accéder à Internet via une seule IP publique.

Listes de contrôle d'accès (ACL)

ACL standard

🟢 Souvent testé avec des scénarios impliquant des restrictions d'utilisateur.

Renforcement du dispositif & Accès à distance (SSH)

Remplacez Telnet par un accès à distance sécurisé — c'est crucial !

✅ Commandes de vérification & dépannage

Command Objectif
show ip interface brief Aperçu de l'état IP\/interface status
show running-config Afficher la configuration actuelle
show vlan brief Afficher les affectations VLAN
show mac address-table Entrées MAC du commutateur
show ip route Vue de la table de routage
ping & traceroute Tests de connectivité
débogage & no debug all Dépannage approfondi

🛠️ Apprenez à interpréter ces résultats — de nombreuses simulations d'examen reposent sur cette compétence.

🧰 Astuce pro : utilisez l'interface en ligne de commande de Cisco Packet Tracer comme votre terrain de jeu

Si vous ne pratiquez pas ces commandes dans un simulateur comme Cisco Packet Tracer, vous passez à côté.

Utilisez une petite configuration de 2 routeurs, 2 commutateurs et 2 PC pour essayer chaque commande. Plus vous tapez, plus cela devient une seconde nature.


🧭 Ce qu'il faut mémoriser vs. comprendre

Mémoriser Comprendre
Format d'adresse IP Logique du sous‑réseautage
Syntaxe des commandes OSPF Relation de voisinage OSPF
Configuration VLAN et ports Concepts de routage inter‑VLAN
Syntaxe ACL Logique du flux de trafic (entrant/sortant)

❓ Quelles sont les commandes les plus importantes pour le CCNA ?

Concentrez‑vous sur :

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

Celles‑ci couvrent 90 % des questions pratiques à l'examen et dans les vrais emplois.

❓ Comment pratiquer ces commandes gratuitement ?

Utiliser Cisco Packet Tracer, un simulateur gratuit disponible après inscription au cours NetAcad de Cisco. Vous pouvez également essayer Boson NetSim (option premium) pour une pratique plus approfondie.

❓ Me demandera‑t‑on d’écrire des commandes à l’examen CCNA ?

Oui, attendez‑vous à des questions simulées où vous configurez ou déboguez avec l’interface en ligne de commande. Vous ne serez pas jugé sur la rapidité, mais sur la justesse et le raisonnement.

❓ Quelle est la meilleure façon de retenir les commandes ?

Créez des cartes mémoire ou des decks Anki

Écrivez les configurations à la main dans un carnet

Build small labs and repeat them from memory

Teach the commands to someone else (it works!)

Internal & External Resources

🔗 Top 10 des exercices de laboratoire 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

Questions fréquemment posées

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.

Si vous préférez que quelqu'un vous guide pas à pas, ou si vous avez besoin d'un laboratoire Packet Tracer spécifique réalisé et expliqué plutôt que de le résoudre seul, consultez le Cours CCNA & Packet Tracer page expliquant comment cela fonctionne.

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

Écrit par

ZILL E ALI

Ingénieur réseau certifié MTCNA et MTCRE, spécialiste de l'infrastructure ISP et fondateur de Developer Zon. Écrit ici sur MikroTik, Cisco, l'infrastructure ISP et occasionnellement des journaux de construction.

Laisser une réponse

Ce site utilise Akismet pour réduire le spam. Découvrez comment vos données de commentaire sont traitées.