You are on page 1of 4

passwords sur un router

password chiffre
Click on router . .
Click the CLI tab and press Enter.
Enter the command enable to enter privileged EXEC mode
Enter the command configure terminal to enter global configuration mode.
Enter the command enable secret class to set an encrypted password .
Password console
Enter the command line con 0 to enter line configuration mode for the console line.
Enter the command password cisco to set the console password.
Enter the command login to require the password.
Enter the command exit to return to global configuration mode.
Password telnet
Enter the command line vty 0 4 to enter line configuration mode for all five virtual terminal lines.
Enter the commandpassword cisco to set the vty password.
Enter the commandlogin to require the password.
Enter the command exit to return to global configuration mode.

passwords sur un switch


Click on switch . .
Click the CLI tab and press Enter.
Enter the command enable to enter privileged EXEC mode
Enter the command configure terminal to enter global configuration mode.
Enter the command enable secret class to set an encrypted password .

Enter the command line con 0 to enter line configuration mode for the console line.
Enter the command password cisco to set the console password.
Enter the command login to require the password.
Enter the command exit to return to global configuration mode.

Enter the command line vty 0 15 to enter line configuration mode for all five virtual terminal lines.
Enter the commandpassword cisco to set the vty password.
Enter the commandlogin to require the password.
Enter the command exit to return to global configuration mode.

Nommés les Routers et Switchs

Click on router
Click the CLI tab and press Enter.
Enter the command enable 
Enter the command configure terminal t

Enter the command hostname R1-ISP 


Press Ctrl+z to leave configuration mode.
Enter the command copy running-config startup-config to save your changes to NVRAM.
Press Enter at the prompt to confirm the destination filename.

AJOUTER UNE BANNIERE


Enter the command banner motd #This is a secure system.# .

Press Ctrl+z to leave configuration mode.


Enter the commandcopy running-config startup-config to save your changes to NVRAM.
Press Enter at the prompt to confirm the destination filename.

BACKUP / RESTORE ET RESET D'1 router

Click on router
Log in to the router using the CLIt
Enter the command show running-config to display the current configuration.
Click theCopy button in the CLI window to place the configuration on the clipboard.
>>NOTEPAD,WORD...

Restore the router configuration from a text file


Access the text file you created in Step 1 and copy it to the clipboard.
Then Enter Global configuration mode,
click thePaste button i Verify the configuration by entering the commandshow running-config.

Reset the router configuration to the default


Enter the command erase startup-config and confirm.
Enter the command reload and confirm.
When prompted enter no to bypass the configuration dialog,.
SAUVEGARDE
Enter the command copy running-config startup-config to save your changes to NVRAM.
Press Enter at the prompt to confirm the destination filename.

DESCRIPTION DES INTERFACES

Enter the command interface fa0/0 ou interfaces voulues


Enter the command description Link to Eagle Server to describe the interface.
Enter the command no shutdown to enable the interface
CONFIGURER INTERFACE ROUTEUR

Enter the command interface s0/0/0  ou autres


Enter the command ip address 10.10.10.6 255.255.255.252 
DCE end of the serial cross-over cable connects.
Enter the command clock rate 64000 
Enter the command no shutdown 
Press Ctrl+z to leave configuration mode.
Enter the command copy running-config startup-config to save your changes to NVRAM. Press Enter at
the prompt to confirm the destination filename.

Verifier la configuration
Enter the commands show running-config and show interfaces.

CONFIGURER INTERFACE SUR UN SWITCH 'VLAN'


Click on switch
Enter the command enable to enter privileged EXEC mode
Enter the command interface vlan 1 to enter interface configuration
Enter the command ip address 172.16.254.1 255.255.0.0 to set the IP address and subnet mask
Enter the command no shutdown to enable the interface.
Enter the command exit to return to global configuration mode.
Enter the command ip default-gateway 172.16.255.254 to set the address to use to reach devices that
are not in the local subnet

 UTILISER TRACEROUTE SUR UN ROUTER


Click on router
Enter the command traceroute 192.168.254.254

RESUME

Mode d’exécution utilisateur

enable - Entrer en mode d’exécution privilégié

Mode d’exécution privilégié

copy running-config startup-config - Copier la configuration active en mémoire NVRAM.


copy startup-config running-config - Copier la configuration initiale en mémoire vive.
erase startup-configuration - Effacer la configuration stockée en mémoire NVRAM.
traceroute adresse_ip - Suivre l’itinéraire parcouru jusqu’à l’adresse spécifiée.
show interfaces - Afficher des statistiques pour toutes les interfaces d’un périphérique.
show clock - Afficher l’heure en vigueur dans le routeur.
show version - Afficher la version du logiciel IOS chargée actuellement et des informations sur le
matériel et le périphérique.
show arp - Afficher le tableau ARP du périphérique.
show startup-config - Afficher la configuration sauvegardée en mémoire NVRAM.
show running-config - Afficher le contenu du fichier de configuration en cours.
show ip interface - Afficher des statistiques IP pour les interfaces d’un routeur.
configure terminal - Entrer en mode de configuration globale.

Mode de configuration globale


hostname nom_hôte - Attribuer un nom d’hôte enable password mot_de_passe - Définir un mot de
passe enable non chiffré.
enable secret mot_de_passe - Définir un mot de passe enable utilisant un chiffrement fort.
service password-encryption - Chiffrer l’affichage de tous les mots de passe sauf ceux de type
secret.
banner motd# message # - Configurer une bannière contenant un message du jour.
line console 0 - Entrer en mode de configuration de ligne de console.
line vty 0 4 - Entrer en mode de configuration de ligne de terminal virtuel (Telnet).
interface nom_interface - Entrer en mode de configuration d’interface.

Mode de configuration de ligne


login - Activer le contrôle d’accès par mot de passe à l’ouverture de session.
passwordmot_de_passe - Définir le mot de passe de ligne.

Mode de configuration d’interface


ip address adresse_ip masque_réseau - Définir l’adresse IP et le masque de sous-réseau de
l’interface.
description description - Définir la description de l’interface.
clock rate valeur - Définir la fréquence d’horloge pour un périphérique de type ETCD.
no shutdown - Activer l’interface.
shutdown - Désactiver l’interface.
show ip interface brief - Affiche l'essentiel des interfaces .

You might also like