π― Obiettivi
πΊοΈ Topologia
π Guida
Lab β EtherChannel LACP
Configura un Port-Channel LACP tra SW1 e SW2 usando 4 link Gigabit, configura come trunk, verifica e testa il failover.
0%
SW1 ββ SW2: 4 link Gigabit (Gi0/1-4) β Port-Channel 1
π₯οΈ PC1
.10.10 (Fa0/1)
.10.10 (Fa0/1)
π₯οΈ PC2
.10.20 (Fa0/2)
.10.20 (Fa0/2)
β Fa0/1 β Fa0/2
π SW1
Gi0/1-4 β Po1 β SW2
Gi0/1-4 β Po1 β SW2
β Gi0/1 β Gi0/2 β Gi0/3 β Gi0/4 β
Po1 β EtherChannel LACP
Po1 β EtherChannel LACP
π SW2
Gi0/1-4 β Po1 β SW1
Gi0/1-4 β Po1 β SW1
β Fa0/1 β Fa0/2
π₯οΈ PC3
.10.30 (Fa0/1)
.10.30 (Fa0/1)
π₯οΈ PC4
.10.40 (Fa0/2)
.10.40 (Fa0/2)
1Configura LACP su SW1
enable β conf t
interface range Gi0/1-4
channel-group 1 mode active
exit
interface range Gi0/1-4
channel-group 1 mode active
exit
2Configura trunk su Po1 di SW1
interface port-channel 1
switchport mode trunk
exit
switchport mode trunk
exit
3Configura LACP su SW2
Passa a SW2. Stessa configurazione:
int range Gi0/1-4
channel-group 1 mode active
exit
int port-channel 1
switchport mode trunk
int range Gi0/1-4
channel-group 1 mode active
exit
int port-channel 1
switchport mode trunk
4Verifica EtherChannel
show etherchannel summary β vedi Po1 (SU) con 4 porte (P)
show etherchannel port-channel β dettagli protocollo
show interfaces trunk β Po1 come trunk
show etherchannel port-channel β dettagli protocollo
show interfaces trunk β Po1 come trunk
5Configura Load Balancing
port-channel load-balance src-dst-ip
Verifica: show etherchannel load-balance
Verifica: show etherchannel load-balance
6Test connettivitΓ
Passa a PC1:
ping 192.168.10.30 β PC3 su SW2 via Port-Channel
ping 192.168.10.30 β PC3 su SW2 via Port-Channel
7Test failover
Su SW1:
interface Gi0/1 β shutdown
show etherchannel summary β 3 porte attive!
Da PC1: ping 192.168.10.30 β ancora funziona!
interface Gi0/1 β shutdown
show etherchannel summary β 3 porte attive!
Da PC1: ping 192.168.10.30 β ancora funziona!
π‘ LACP active su entrambi i lati Γ¨ la configurazione piΓΉ affidabile. Il canale si forma solo se le porte hanno stessa speed/duplex. Il trunk su Po1 si applica automaticamente a tutte le porte membro.
SW1 β Console
SW1
SW2
PC1
PC3
SW1>