Tutte le porte nel bundle devono avere le stesse caratteristiche:
Il canale si forma solo con le combinazioni corrette. Se i due lati non sono compatibili, le porte restano individuali (con rischio loop!).
| SW1 ↓ \ SW2 → | Active | Passive | Desirable | Auto | On |
|---|---|---|---|---|---|
| Active | ✅ LACP | ✅ LACP | ❌ | ❌ | ❌ |
| Passive | ✅ LACP | ❌ (nessuno inizia) | ❌ | ❌ | ❌ |
| Desirable | ❌ | ❌ | ✅ PAgP | ✅ PAgP | ❌ |
| Auto | ❌ | ❌ | ✅ PAgP | ❌ (nessuno inizia) | ❌ |
| On | ❌ | ❌ | ❌ | ❌ | ✅ Static |
| Comando | Cosa mostra |
|---|---|
| show etherchannel summary | Riepilogo: Port-Channel, protocollo, porte membro, stato (SU/SD) |
| show etherchannel port-channel | Dettagli del canale: protocollo, porte attive |
| show etherchannel detail | Tutto: protocollo, flag, porte, stato, load-balance |
| show interfaces port-channel 1 | Stato dell'interfaccia logica Po1 |
| show interfaces Gi0/1 etherchannel | Info EtherChannel di una porta specifica |
| show etherchannel load-balance | Metodo di distribuzione traffico (src-mac, dst-mac, src-dst-ip...) |
| port-channel load-balance src-dst-ip | Cambia il metodo di load balancing |
2 switch collegati con 4 link Gigabit. Configura LACP active, trunk sul Port-Channel, load-balance src-dst-ip. Poi testa il failover: spegni un link e verifica che il canale resta attivo!