User Tools

Site Tools


ccna:commandes_cisco

This is an old revision of the document!


Commandes Cisco

Ci-dessous une liste des commandes dans l'IOS de cisco

Commandes de visualisation

  • show version : afficher la version matériel et logiciel IOS.
  • show flash : affiche le contenu de la mémoire flash.
  • show runnning-config : affiche la configuration chargée en RAM (celle en cours d'exécution).
  • show startup-config : affiche la configuration stocké en mémoire flash (NVRAM : Non Volatile…).
  • show interfaces status : affiche le statut des interfaces.
  • show interface fastEthernet 0/X (S0/0/X, Gig 0/0/..) : affiche des informations sur l'interface spécifiée.
  • show ip(v6) interfaces (brief) : affiche les interfaces avec un contenu éventuellement bref.
  • show interfaces trunk : affiche les interfaces de type trunk et les VLAN transitant sur celles-ci.
  • show vlan (brief) : affiche les vlan configurés.
  • show arp : affiche la table ARP.
  • show cdp neighbors : affiche les périphériques réseaux voisins (Cisco Discovery Protocol).
  • show access-list : affiche les règles access list configurées.
  • show vtp : affiche les informations concernant Vlan Trunking Protocol.
  • show spanning-tree (interface fa0/x vlan x) : affiche les informations à propos du protocole spanning tree.
  • show tech-support : Affiche toutes les configurations présentes sur un matériel Cisco.

Modes de commandes

  • Switch> : Mode utilisateur (sans droits d’administration).
  • Switch> enable ou Switch> en : passage en mode privilégié.
  • Switch# : mode privilégié.
  • Switch# configure terminal ou Switch# conf t : passage en mode configuration.
  • Switch(config)# : mode configuration.

Configuration de base

  • Attribuer un nom d'hôte :
Switch(config)# hostname switch1
  • Spécifier un mot de passe pour entrer en mode privilégié (en) :

stocké en clair dans la configuration : show running-config

Switch(config)# enable password <mot-de-passe>

hash visible dans la configuration : secret5

  Switch(config)# enable secret <mot-de-passe>
ccna/commandes_cisco.1746127819.txt.gz · Last modified: 2025/05/01 21:30 by alberto

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki