Sunteți pe pagina 1din 5

Commandes de configuration de base CISCO Cisco Router Configuration Commands

Action Commande Cisco Cisco Command

Mot de passe console "cisco" Set a console password to "cisco" Mot de passe telnet Set a telnet password Dsactiver le timeout console Stop console timing out Mot de passe "enable" "cisco" Set the enable password to "cisco" Chiffrer le mot de passe "enable" Set the enable secret password to "cisco". Activer une interface Enable an interface Dsactiver une interface To disable an interface Mettre une frquence d'horloge pour un DCE Set the clock rate for a router with a DCE cable Fixer la bande passante pour une interface srie Set a bandwidth assignment to the serial interface Configurer une adresse IP sur une interface To add an IP address to a interface Activer le protocole de routage RIP To enable RIP on all 172.16.x.y interfaces Dsactiver le protocole de routage RIP Disable RIP Activer le protocole de routage IGRP avec un AS de 200 To enable IGRP with a AS of 200

Router(config)#line con 0 Router(config-line)#login Router(config-line)#password cisco Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password cisco Router(config)#line con 0 Router(config-line)#exec-timeout 0 0 Router(config)#enable password cisco Router(config)#enable secret peter Router(config-if)#no shutdown Router(config-if)#shutdown Router(config-if)clock rate 64000

Router(config-if)bandwidth 64

Router(config-if)#ip addr IP address mask

Router(config)#router rip Router(config-router)#network 172.16.0.0 Router(config)#no router rip Router(config)#router igrp 200 Router(config-router)#network IP address

Dsactiver le protocole de routage IGRP Disable IGRP Ajouter une route statique Static route the remote network Dsactiver CDP Disable CDP for the whole router Activer CDP Enable CDP for he whole router Dsactiver CDP sur une interface Disable CDP on an interface

Router(config)#no router igrp 200 Router(config)#ip route IP address mask [next hop] [cost] Router(config)#no cdp run Router(config)#cdp run Router(config-if)#no cdp enable

Commandes "show" Cisco Cisco Router Show Commands


Action Commande Cisco Cisco Command

Voir les informations de version View version information Voir la configuration en cours (DRAM) View current configuration (DRAM) Voir la configuration de dmarrage (NVRAM) View startup configuration (NVRAM) Voir le fichier iOS et l'espace flash Show IOS file and flash space Voir les logs du priphrique Shows all logs that the router has in its memory Voir le status de l'interface s0/0/0 View the interface status of interface s0/0/0 Rsum des interfaces Overview all interfaces on the router Voir le type de cble de s0 View type of serial cable on s0 Voir les voisins CDP Display a summary of connected cdp devices Voir toutes les informations CDP

show version show running-config show startup-config

show flash show log

show interface s0/0/0 show ip interfaces brief show controllers 0 show cdp neighbor

show cdp entry *

Display detailed information on all devices Voir les protocols activs Display current routing protocols Voir la table de routage Display IP routing table Voir le switch ISDN Check the router can see the ISDN switch Tester les connections virtuelles Check a Frame Relay PVC connections Voir la table ARP Display the frame inverse ARP table show ip protocols show ip route show isdn status show frame-relay pvc show frame-relay map

Oprations de bases Cisco Cisco Router Basic Operations


Action Commande Cisco Cisco Command

Activer le mode privilgi Enter privileged mode Quitter le mode privilgi Return to user mode from privileged Quitter la configuration Exit Router Commande prcdente Recall last command Commande suivante Recall next command Annuler ou suspendre Suspend or abort Rafraichir la sortie Refresh screen output Autocompltion Compleat Command

enable / en disable / dis logout / exit / ex / quit up arrow / <Ctrl-P> down arrow / <Ctrl-N> <Shift> and <Ctrl> and 6 then x <Ctrl-R> TAB

Commandes de copie Cisco Router Copy Commands


Action Commande Cisco Cisco Command

Sauvegarder la configuration courrante de la DRAM la NVRAM Save the current configuration from DRAM to NVRAM Charger la configuration de boot sur la courrante Merge NVRAM configuration to DRAM Sauvegarder la configuration courrante sur un serveur TFTP Copy DRAM configuration to a TFTP server Charger la configuration TFTP sur la courrante Merge TFTP configuration with current router configuration held in DRAM Sauvegarder l'iOS sur serveur TFTP Backup the IOS onto a TFTP server Mettre jour l'iOS partir d'un serveur TFTP Upgrade the router IOS from a TFTP server

copy running-config startup-config

copy startup-config running-config

copy running-config tftp

copy tftp running-config

copy flash tftp copy tftp flash

Commandes de debugg Cisco Cisco Router Debug Commands


Action Commande Cisco Cisco Command

Activer le debugg RIP Enable debug for RIP Activer le debugg IGRP rsum Enable summary IGRP debug information Activer le debugg IGRP dtaill Enable detailed IGRP debug information Activer le debugg IPX RIP Debug IPX RIP Activer le debugg IPX SAP Debug IPX SAP Dsactiver tous les debugg Switch all debugging off Liste des fichiers

debug ip rip debug ip igrp events debug ip igrp transactions debug ipx routing activity debug IPX SAP no debug all undebug all

S-ar putea să vă placă și