Commandes de configuration de base CISCO
Cisco Router Configuration Commands
Commande Cisco
Action
Cisco Command
Mot de passe console "cisco" Router(config)#line con 0
Set a console password to "cisco" Router(config-line)#login
Router(config-line)#password cisco
Mot de passe telnet Router(config)#line vty 0 4
Set a telnet password Router(config-line)#login
Router(config-line)#password cisco
Désactiver le timeout console Router(config)#line con 0
Stop console timing out Router(config-line)#exec-timeout 0 0
Mot de passe "enable" à "cisco" Router(config)#enable password cisco
Set the enable password to "cisco"
Chiffrer le mot de passe "enable" Router(config)#enable secret peter
Set the enable secret password to "cisco".
Activer une interface Router(config-if)#no shutdown
Enable an interface
Désactiver une interface Router(config-if)#shutdown
To disable an interface
Mettre une fréquence d'horloge pour un Router(config-if)clock rate 64000
DCE
Set the clock rate for a router with a DCE
cable
Fixer la bande passante pour une Router(config-if)bandwidth 64
interface série
Set a bandwidth assignment to the serial
interface
Configurer une adresse IP sur une Router(config-if)#ip addr «IP address» «mask»
interface
To add an IP address to a interface
Activer le protocole de routage RIP Router(config)#router rip
To enable RIP on all 172.16.x.y interfaces Router(config-router)#network 172.16.0.0
Désactiver le protocole de routage RIP Router(config)#no router rip
Disable RIP
Activer le protocole de routage IGRP Router(config)#router igrp 200
avec un AS de 200 Router(config-router)#network «IP address»
To enable IGRP with a AS of 200
Désactiver le protocole de routage IGRP Router(config)#no router igrp 200
Disable IGRP
Ajouter une route statique Router(config)#ip route «IP address» «mask»
Static route the remote network [«next hop»] [«cost»]
Désactiver CDP Router(config)#no cdp run
Disable CDP for the whole router
Activer CDP Router(config)#cdp run
Enable CDP for he whole router
Désactiver CDP sur une interface Router(config-if)#no cdp enable
Disable CDP on an interface
Commandes "show" Cisco
Cisco Router Show Commands
Commande Cisco
Action
Cisco Command
Voir les informations de version show version
View version information
Voir la configuration en cours (DRAM) show running-config
View current configuration (DRAM)
Voir la configuration de démarrage show startup-config
(NVRAM)
View startup configuration (NVRAM)
Voir le fichier iOS et l'espace flash show flash
Show IOS file and flash space
Voir les logs du périphérique show log
Shows all logs that the router has in its
memory
Voir le status de l'interface s0/0/0 show interface s0/0/0
View the interface status of interface s0/0/0
Résumé des interfaces show ip interfaces brief
Overview all interfaces on the router
Voir le type de câble de s0 show controllers 0
View type of serial cable on s0
Voir les voisins CDP show cdp neighbor
Display a summary of connected cdp
devices
Voir toutes les informations CDP show cdp entry *
Display detailed information on all devices
Voir les protocols activés show ip protocols
Display current routing protocols
Voir la table de routage show ip route
Display IP routing table
Voir le switch ISDN show isdn status
Check the router can see the ISDN switch
Tester les connections virtuelles show frame-relay pvc
Check a Frame Relay PVC connections
Voir la table ARP show frame-relay map
Display the frame inverse ARP table
Opérations de bases Cisco
Cisco Router Basic Operations
Commande Cisco
Action
Cisco Command
Activer le mode privilégié enable / en
Enter privileged mode
Quitter le mode privilégié disable / dis
Return to user mode from privileged
Quitter la configuration logout / exit / ex / quit
Exit Router
Commande précédente up arrow / <Ctrl-P>
Recall last command
Commande suivante down arrow / <Ctrl-N>
Recall next command
Annuler ou suspendre <Shift> and <Ctrl> and 6 then x
Suspend or abort
Rafraichir la sortie <Ctrl-R>
Refresh screen output
Autocomplétion TAB
Compleat Command
Commandes de copie
Cisco Router Copy Commands
Commande Cisco
Action
Cisco Command
Sauvegarder la configuration courrante de copy running-config startup-config
la DRAM à la NVRAM
Save the current configuration from DRAM
to NVRAM
Charger la configuration de boot sur la copy startup-config running-config
courrante
Merge NVRAM configuration to DRAM
Sauvegarder la configuration courrante sur copy running-config tftp
un serveur TFTP
Copy DRAM configuration to a TFTP
server
Charger la configuration TFTP sur la copy tftp running-config
courrante
Merge TFTP configuration with current
router configuration held in DRAM
Sauvegarder l'iOS sur serveur TFTP copy flash tftp
Backup the IOS onto a TFTP server
Mettre à jour l'iOS à partir d'un serveur copy tftp flash
TFTP
Upgrade the router IOS from a TFTP
server
Commandes de debugg Cisco
Cisco Router Debug Commands
Commande Cisco
Action
Cisco Command
Activer le debugg RIP debug ip rip
Enable debug for RIP
Activer le debugg IGRP résumé debug ip igrp events
Enable summary IGRP debug information
Activer le debugg IGRP détaillé debug ip igrp transactions
Enable detailed IGRP debug information
Activer le debugg IPX RIP debug ipx routing activity
Debug IPX RIP
Activer le debugg IPX SAP debug IPX SAP
Debug IPX SAP
Désactiver tous les debugg no debug all
Switch all debugging off undebug all
Liste des fichiers