EtherChannel

Configuration

Configuration LACP

# Configuration des interfaces
Switch# configure terminal
Switch(config)# interface range @INTERFACES  # Ex: GigabitEthernet0/1-2
Switch(config-if-range)# channel-protocol lacp
Switch(config-if-range)# channel-group @GROUPE mode @MODE  # Ex: 1 active

# Configuration du port-channel
Switch(config)# interface port-channel @GROUPE  # Ex: 1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan @VLANS  # Ex: 1,10,20,30

Configuration PAgP

# Configuration des interfaces
Switch# configure terminal
Switch(config)# interface range @INTERFACES  # Ex: GigabitEthernet0/1-2
Switch(config-if-range)# channel-protocol pagp
Switch(config-if-range)# channel-group @GROUPE mode @MODE  # Ex: 1 desirable

# Configuration du port-channel
Switch(config)# interface port-channel @GROUPE  # Ex: 1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan @VLANS  # Ex: 1,10,20,30

Points importants

  • LACP est le protocole recommandé
  • Les interfaces doivent être identiques
  • Le mode doit être compatible
  • La configuration doit être identique

Débogage

Vérification de la configuration

# Vérification des EtherChannels
Switch# show etherchannel summary
Switch# show etherchannel port-channel

# Vérification des interfaces
Switch# show interfaces status
Switch# show interfaces trunk

Problèmes courants

  • Problèmes de compatibilité
  • Erreurs de configuration
  • Problèmes de performance
  • Problèmes de redondance

Bonnes Pratiques

  • Utiliser LACP
  • Configurer la redondance
  • Documenter la configuration
  • Surveiller les performances
  • Faire des sauvegardes