You are on page 1of 2

=> Command Make PASSWORD: Switch(config)# vtp mode <server/client/transparent>

Switch(config)# enable password 123 Switch(config)# vtp domain <domain-name>


Switch(config)# enable secret 123
Switch(config)# vtp password <password>
=> Command encryption all PASSWORD: Switch(config)# vtp version 2
Switch(config)# service password-encryption
=> Command STP
=> Command Make PASSWORD LINE CONSOLE:
Switch(config)# spanning-tree vlan 100 priority <priority-
Router(config)# line console 0 value>
- Bach t rado l racine 3etih priority seghira 0 Ola 4096 Ola
Router(config-line)# password cisco
8192 o mate nesach Default Priority hia 32768
=> Command Make TELNET: Switch(config)# spanning-tree vlan 100 root primary
Switch(config)# line vty 0 15 Switch(config)# spanning-tree vlan 200 root secondary
Switch(config-line)# password 123
+ Command PVST+
Switch(config-line)# login Switch(config)# spanning-tree mode pvst
=> Command Make SSH: Switch(config)# spanning-tree mode rapid-pvst
Switch(config)# username jack password 123 Switch(config)# Interface Fa0/1
Switch(config)# ip domain-name tri.ma Switch(config-if)# spanning-tree portfast
Switch(config)# ip ssh version 2 Switch(config-if)#spanning-tree bpduguard enable
Switch(config)# line vty 0 15 => Command Etherchannel ON:
Switch(config-line)# transport input ssh Switch(config)# interface range F0/1-2
Switch(config-line)# login local Switch(config-if-range)# channel-group 1 mode ON
Switch(config)# crypto key generate rsa modulus 2048 Switch(config)# interface Port-channel 1
=> Command Make VLAN:
Switch(config-if)# switchport mode trunk
Switch(config)# vlan 10
=> Command Etherchannel LACP:
Switch(config-vlan)# name <vlan-name>
Switch(config)# interface range F0/1-2
=> Command Routage Inter-Vlan
Switch(config-if-range)# channel-protocol LACP
Router(config)# interface G0/0
Switch(config-if-range)# channel-group 1 mode ACTIVE
Router(config-if)# no shutdown
Switch(config)# interface Port-channel 1
Router(config-if)# interface G0/0.<vlan-id>
Switch(config-if)# switchport mode trunk
Router(config-subif)# encapsulation dot1Q <vlan-id>
=> Command Etherchannel PAGP:
Router(config-subif)# ip address <ip-address> <subnet-
mask> Switch(config)# interface range F0/1-2
=> Command make interface mode access / added VLAN Switch(config-if-range)# channel-protocol PAGP
Router(config)# interface Fa0/0 Switch(config-if-range)# channel-group 1 mode desirable
Router(config)#switchport mode access Switch(config)# interface Port-channel 1
Router(config)# switchport access vlan 10
Switch(config-if)# switchport mode trunk
=> Command Make VTP
=> Command protocol HSRP
Router(config)# interface F0/1 4- Acheminement | 5- Désactivé

Router(config-if)# standby 1 ip <virtual-ip> 5 / Définition des VLAN : les vlan sont des connexions
logiques avec d’autre périphériques similaires
Router(config-if)# standby <group-number> priority
<priority> 7/ les avantages de VLAN :

Router(config-if)# standby <group-number> preempt - Domaine de diffusion plus petits | - Sécurité optimisé

=> Command Protocol VRRP - meilleurs performance | - gestion simplifiée

Router(config)# interface F0/1 8/ Les Type de VLAN :

Router(config-if)# vrrp 1 ip <virtual-ip> - VLAN par défaut | - VLAN de donnés | - VLAN de gestion

Router(config-if)# vrrp <group-number> priority <priority> - VLAN choix

Router(config-if)# vrrp <group-number> preempt 9/ Trunk : une liaison point à point entre deux
périphérique réseaux
=> Command Protocol GLBP
10/ Le Routage Inter - Vlan : Les VLANs sont utilisés pour
Router(config)# interface F0/1 segmenter des réseaux de couche 2 commutés POUR
Router(config-if)# glbp 1 ip <virtual-ip> diverse raisons

Router(config-if)# glbp <group-number> priority <priority> 11/ Le Protocole DTP (Dynamic Trunking Protocol) : est
un protocole propriétaire de Cisco
Router(config-if)# glbp <group-number> preempt
12/ OSPF: (Open Shortest Path First)
- For Example, endna R1 o R2 beghina R1 howa li kon l
Racine hane 3etiweh priority Kebira endak mn 0 tale 255 o 13/ STP : (Protocol Spanning-tree) : est un Protocol réseau
default hia 100 so dire fo9 100 hadechi l Protocol HSRP o de niveau 2 permettent de déterminer une Topologie
VRRP o GLBP réseaux sans boucle dons les LAN avec ponts

14/ BPDU: (Bridge Protocol Data Units)

15/ DTP: (Dynamic Trunk Protocol)

16/ Les problèmes de redondance :


1/ STP : Implémenter la redondance dans les réseaux
✓ L'instabilité de la table MAC | ✓ Tempête de diffusion
Commute sons boucle.
✓ Consommation de Bande Passante
2/ Les étapes de STP
17/ Etherchannel : est une technologie d'agrégation de
1 - choisir le pont racine | 2- choisir les ports racines
liens qui permet d'assembler plusieurs liens, physiques
3- choisir les ports désignés Ethernet identiques en un seul lien logique.

4- choisir les ports alternatifs, (Bloqué) 18/ Protocole d'agrégation :

3/ Les Types de rôles de port STP ✓Augmenter la vitesse

- port racine : Etat en acheminement. ✓ permet la redondance

- port désigné : c’est un port en état d’acheminement ✓ Tolérance de panne.


- port alternatifs : c’est un port en état Blockage 19/ PAGP : permet de négocier la création d'étherchannel
dans Cisco.
4/ Les étapes par le quels peut passer le port d’un
commutateur : 20/ LACP : permet de négocier la création d la création
d'étherchannel pour non Cisco.
1- Blocage | 2 – Ecoute | 3- - apprentissage

You might also like