Ajout doc LACP pour 2960
This commit is contained in:
parent
84f3c12c44
commit
5e1b63743f
|
@ -1342,6 +1342,40 @@ Switch(config)# monitor session 1 source interface g0/1 , g0/5
|
||||||
Switch(config)# monitor session 1 destination interface g0/15 ingress vlan 15
|
Switch(config)# monitor session 1 destination interface g0/15 ingress vlan 15
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
### LACP : Link Aggregation Control Protocol (Port-Channel)
|
||||||
|
|
||||||
|
Le Port-Channel est une technologie qui permet d’agréger plusieurs interfaces ensemble. Le trafic est ensuite réparti sur chacune des interfaces. Cette technologie permet une meilleure redondance, ainsi qu’une augmentation de la bande passante.
|
||||||
|
|
||||||
|
Cisco propose le protocole propriétaire PaGP, mais nous utilisons le protocole standardisé [LACP](https://fr.wikipedia.org/wiki/IEEE_802.3ad).
|
||||||
|
|
||||||
|
Voici un schéma d'exemple :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
┌────────┐Gi0/1 Gi0/1┌────────┐
|
||||||
|
│ ├─────────────┤ │
|
||||||
|
│ SW01 │ │ SW02 │
|
||||||
|
│ ├─────────────┤ │
|
||||||
|
└────────┘Gi0/2 Gi0/2└────────┘
|
||||||
|
~~~
|
||||||
|
|
||||||
|
On veut agréger les interfaces Gi0/1 et Gi0/2 entre SW01 et SW02.
|
||||||
|
|
||||||
|
Sur SW01 et sur SW02, on active LACP sur les ports souhaités :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
Switch(config)# interface range GigabitEthernet0/1-2
|
||||||
|
Switch(config-if)# channel-protocol lacp
|
||||||
|
Switch(config-if)# channel-group 1 mode active
|
||||||
|
~~~
|
||||||
|
|
||||||
|
La configuration des ports devra ensuite se faire sur l'interface port-channel nouvellement créé. Les interfaces physiques membres du port-channel hériteront automatiquement de la configuration.
|
||||||
|
|
||||||
|
~~~
|
||||||
|
Switch(config)# interface Port-channel1
|
||||||
|
Switch(config-if)# switchport mode trunk
|
||||||
|
Switch(config-if)# switchport trunk allowed vlan X
|
||||||
|
Switch(config-if)# …
|
||||||
|
~~~
|
||||||
|
|
||||||
### Cron / tâches planifiées
|
### Cron / tâches planifiées
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue