LaDissertation.com - Dissertations, fiches de lectures, exemples du BAC
Recherche

Résume cisco

Cours : Résume cisco. Recherche parmi 298 000+ dissertations

Par   •  10 Mai 2018  •  Cours  •  1 589 Mots (7 Pages)  •  503 Vues

Page 1 sur 7

  1. Configurez les paramètres de base

Configurer le nom et mot de passe d un routeur

S(config)# hostname S1 

S1(config)# service password-encryption

S1(config)# enable secret class 

Désactiver recherché dns

S1(config)# no ip domain-lookup.

Banière de connexion

S1(config)# banner motd #message#.

Configurer @ip switch

S1(config)# interface vlan99 

S1(config-if)# ip address 192.168.1.2 255.255.255.0

S1(config-if)#description

S1(config-if)# no shutdown

Configuration de la passerelle  d un switch

S1(config)# ip default-gateway 192.168.1.1 

Active telnet  avec password

S1(config)# line vty 0 4

S1(config-line)# password cisco

S1(config-line)# login

S1(config-line)# logging synchronous

Active telnet  avec login + password

              #usernam adam password adam

S1(config)# line vty 0 4

S1(config-line)# login  local

Activez le service DNS

 (config)# ip dns server      //activ service //  sur routeur real
(config)# ip name-server 8.8.8.8  17.10.246.1 //@ip de serveur

  1.  Configuration de SSH

0.hostname sw1   [pic 1]

  1. S1(config)# ip domain-name cisco.com
  2. S1(config)# crypto key generate rsa
  3. S1(config)# username userssh secret passssh
  4. S1(config)#line vty 0 4

S1(config-line)# transport input ssh

S1(config-line)# login local 

  1. S1(config)# ip ssh version 2   // key>=1024
  2. Pc>ssh -l userssh 192.168.1.1 (pour le client)
  1. Configuration de la Sécurité des ports d’un Switch[pic 2]
  1. S1(config)#interface f0/1
  2. S1(config-if)#switchport mode access
  3. S1(config-if)# switchport port-security
  4. S1(config-if)#switchport port-security maximum 2
  5. S1(config-if)#switchport port-security violation SHUTDOWN
  6. show port-security interface fastEhernet x/x
  7. S1(config-if)#switchport port-security mac-address 000B.BE25.5A0C ( ou sticky)

  1. Configuration des Vlans  

[pic 3]

Créer vlan :

  1. S1(config)# vlan 10
  2. S1(config-vlan)# name Student

Affecter un port à un vlan :

  1. S1(config)# interface f0/2
  2. S1(config-if)# switchport access vlan 10 //pour pc
  3. S1(config-if)# switchport voice vlan 10 //pour telephone

Configure interface  l Agrégation/ trunk

  1. S1(config)# interface range f0/1,f0/3
  2. S1(config-if)# switchport mode trunk
  3. switchport trunk allowed vlan 10,50// all
  4. switchport trunk allowed vlan remove 5-11,12

switchport trunk allowed vlan add 50

Désactiver la négociation DTP

SW(config-if)# switchport nonegotiate

un trunk dynamique. Avec DTP

W(config-if)#switchport mode dynamic ?

  Auto

  Desirable

[pic 4]

Crée sous interface pour un vlan dans le routeur

  1. R1(config)#interface g0/1.10
  2. R1(config-if)# encapsulation dot1Q 10// en 1ere lieu  
  3. R1(config-if)# ip address 192.168.10.1 255.255.255.0
  4. Configuration vtp :

Sw(conf)#vtp mode server /clien/transparent

Sw(conf)#vtp  domain ista.ma

Sw(conf)#vtp password 123

Sauvegarder la configuration dans un serveur TFTP

R# copy runnin  tftp

                ?@ip serveur

                ? le nom de fichier

  1. PVST et Etherchanel

PVST et Rapide PVST

S1(config)# spanning-tree vlan 1 root primary

S1(config)# spanning-tree vlan 1 root secondary

S1(config)# spanning-tree vlan 1 priority 24576

S1(config)# spanning-tree mode rapid-pvst

S1(config)# interface f0/6

S1(config-if)# spanning-tree portfast

S1(config-if)# spanning-tree bpduguard enable

HSRP

R1(config)# interface g0/1

R1(config-if)# standby 1 ip 192.168.1.254  //OBLIGATOIR

R1(config-if)# standby 1 priority 150

R1(config-if)# standby 1 preempt

VRRP  SUR ROUTEUR REAL

R1(config)# interface g0/1

R1(config-if)# vrrp 1 ip 192.168.1.254

R1(config-if)# vrrp 1 priority 150

R1(config-if)# vrrp 1 preempt

GLBP SUR ROUTEUR REAL

R2(config)# interface g0/1

R2(config-if)# glbp 1 ip 192.168.1.254

R2(config-if)# glbp 1 preempt

R2(config-if)# glbp 1 priority 150

R2(config-if)# glbp 1 load-balancing round-robin

GLBP propose trois modes d’équilibrage de charge :

  • Round Robin (le mode par défaut) : Pour chaque requête ARP, on renvoi l’adresse Mac virtuelle immédiatement disponible. Un Tour de role

[pic 5] Weighted : Le poids de chaque interface du groupe GLBP définit la proportion de trafic à envoyer sur chaque routeur. GLBP propose trois modes d’équilibrage de charge :. glbp 1 weighting XXX

...

Télécharger au format  txt (13.6 Kb)   pdf (303.2 Kb)   docx (314.7 Kb)  
Voir 6 pages de plus »
Uniquement disponible sur LaDissertation.com