LACP Switch

Configuration des interfaces gigabits pour les agrégations:

Switch1(config)#interface range fastEthernet f0/23-24

Switch1(config-if-range)#channel-group 1 mode active

Switch1(config-if-range)#channel-protocol lacp

Switch1(config-if-range)#exit

Configuration de l’interface port-channel:

Nous allons configurer notre interface port-channel 1 en mode trunk. La configuration appliquée sur le port- channel sera automatiquement ré-appliquée sur les interfaces du groupe.

Switch1(config)#interface port-channel 1

Switch1(config-if)#switchport mode trunk

Switch1(config-if)#switchport trunk allowed vlan 2,3

Switch1(config-if)#no shutdown

Switch1(config-if)#exit