← Torna al sito
📖 Slides
🔗 Channel Visual
⚙️ LACP vs PAgP
💻 Lab
❓ Quiz
1/7
🔗 EtherChannel — Visualizzazione
Vedi come più link fisici vengono aggregati in un unico canale logico
Clicca i link per simulare un guasto — il canale resta attivo!
🔀
SW1
Gi0/1-4
🔀
SW2
Gi0/1-4
Po1 — 4 Gbps (4 × 1 Gbps)

❌ Senza EtherChannel vs ✅ Con EtherChannel

❌ Senza EtherChannel
4 link tra 2 switch → STP blocca 3 su 4 per prevenire loop. Risultato: solo 1 Gbps utilizzabile, 3 Gbps sprecati. Se il link attivo cade → 30-50s di convergenza STP.
✅ Con EtherChannel
4 link aggregati in 1 canale logico (Port-Channel). STP vede 1 solo link → nessun blocco. Risultato: 4 Gbps totali! Se 1 link cade → il canale resta attivo a 3 Gbps, 0 secondi di downtime.

📏 Regole del Bundle

Tutte le porte nel bundle devono avere le stesse caratteristiche:

Stessa velocità
Tutte 100M, tutte 1G, o tutte 10G. Non si possono mischiare.
Stesso duplex
Tutte full-duplex. Half-duplex non supportato per EtherChannel.
Stessa VLAN/Trunk
Tutte access nella stessa VLAN, oppure tutte trunk con le stesse allowed VLAN e native VLAN.
Stesso STP
STP tratta il Port-Channel come una singola porta. Cost e priority del bundle, non delle singole porte.
Max 8 porte
Fino a 8 porte fisiche per Port-Channel. Con LACP: 8 attive + 8 standby (hot-standby).
⚙️ LACP vs PAgP vs Static
3 metodi per negoziare e formare un EtherChannel
🌐
LACP
Link Aggregation Control Protocol — IEEE 802.3ad
Standard aperto — funziona tra vendor diversi (Cisco, Juniper, HP...). Il metodo consigliato. Modalità: active (inizia negoziazione) e passive (aspetta). Almeno un lato deve essere active.
🔒
PAgP
Port Aggregation Protocol — Cisco Proprietary
Solo Cisco — non funziona con altri vendor. Modalità: desirable (inizia negoziazione) e auto (aspetta). Almeno un lato deve essere desirable.
Static (On)
Nessuna negoziazione
Nessun protocollo — forza il canale senza negoziazione. Modalità: on su entrambi i lati. Rischioso: se una porta ha problemi, non viene rilevato.

📊 Matrice di Compatibilità

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 →ActivePassiveDesirableAutoOn
Active✅ LACP✅ LACP
Passive✅ LACP❌ (nessuno inizia)
Desirable✅ PAgP✅ PAgP
Auto✅ PAgP❌ (nessuno inizia)
On✅ Static
💡 Regola d'oro: LACP con LACP, PAgP con PAgP, On con On. MAI mescolare protocolli! Passive+Passive e Auto+Auto non funzionano (nessuno inizia la negoziazione).

💻 Comandi di Configurazione

LACP (consigliato)
int range Gi0/1-4
channel-group 1 mode active
exit

int port-channel 1
switchport mode trunk
PAgP (solo Cisco)
int range Gi0/1-4
channel-group 1 mode desirable
exit

int port-channel 1
switchport mode trunk
Static (on)
int range Gi0/1-4
channel-group 1 mode on
exit

int port-channel 1
switchport mode trunk

🔍 Comandi di Verifica

ComandoCosa mostra
show etherchannel summaryRiepilogo: Port-Channel, protocollo, porte membro, stato (SU/SD)
show etherchannel port-channelDettagli del canale: protocollo, porte attive
show etherchannel detailTutto: protocollo, flag, porte, stato, load-balance
show interfaces port-channel 1Stato dell'interfaccia logica Po1
show interfaces Gi0/1 etherchannelInfo EtherChannel di una porta specifica
show etherchannel load-balanceMetodo di distribuzione traffico (src-mac, dst-mac, src-dst-ip...)
port-channel load-balance src-dst-ipCambia il metodo di load balancing
💡 Load Balancing: EtherChannel NON fa round-robin! Usa un hash (src MAC, dst MAC, src-dst IP...) per assegnare ogni flusso a un link. Tutti i pacchetti dello stesso flusso passano sullo stesso link per evitare riordinamento.
💻 Lab — EtherChannel LACP
Configura LACP tra 2 switch e testa il failover
🔗

Lab — EtherChannel LACP

Medio ~20 minuti

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!

13 Obiettivi:
▸ channel-group 1 mode active su SW1 e SW2
▸ Trunk su Port-Channel 1
▸ show etherchannel summary, port-channel, load-balance
▸ port-channel load-balance src-dst-ip
▸ Ping via Port-Channel + failover test con shutdown
🔒
Lab disponibile con Pro
Lab CLI con 2 switch e 4 link Gigabit per padroneggiare EtherChannel LACP e testare il failover.
✓ 13 obiettivi
✓ LACP + trunk
✓ Failover test
❓ Quiz — EtherChannel
10 domande su EtherChannel, LACP, PAgP
🔒
Quiz disponibile con Pro
10 domande su EtherChannel, LACP, PAgP, load balancing e troubleshooting.
✓ 10 domande
✓ Spiegazioni
✓ Punteggio
🔓 PRO ATTIVO
Privacy Policy Cookie Policy