Karena adanya fitur STP, maka akan ada port yang blocking untuk mencegah loop. Etherchannel digunakan untuk membundle link seolah-olah menjadi satu kabel, sehingga STP harus dimatikan. Dengan etherchannel maka transfer data lebih cepat dan tidak tergantung hanya pada 1 link.
#Konfigurasi L2 LaCP
SW1 dan SW2
int range fa0/1-3
channel-group 1 mode active
int port-channel 1
switchport mode trunk
cek:
show etherchannel summary
show interface port-channel 1
#Konfigurasi L2 PaCP
SW1 dan SW2
int range fa0/1-3
channel-group 1 mode desirable
int port-channel 1
switchport mode trunk
#Konfigurasi L 3
SW1 dan SW2
int range fa0/1-3
channel-group 1 mode on
no switch port
SW1
int port-channel 1
no switch port
ip add 10.10.10.1 255.255.255.0
SW2
int port-channel 1
no switch port
ip add 10.10.10.2 255.255.255.0
Switch#show etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SU) LACP Fa0/1(P) Fa0/2(P) Fa0/3(P)
Switch#
#Konfigurasi L2 LaCP
SW1 dan SW2
int range fa0/1-3
channel-group 1 mode active
int port-channel 1
switchport mode trunk
cek:
show etherchannel summary
show interface port-channel 1
#Konfigurasi L2 PaCP
SW1 dan SW2
int range fa0/1-3
channel-group 1 mode desirable
int port-channel 1
switchport mode trunk
#Konfigurasi L 3
SW1 dan SW2
int range fa0/1-3
channel-group 1 mode on
no switch port
SW1
int port-channel 1
no switch port
ip add 10.10.10.1 255.255.255.0
SW2
int port-channel 1
no switch port
ip add 10.10.10.2 255.255.255.0
Switch#show etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SU) LACP Fa0/1(P) Fa0/2(P) Fa0/3(P)
Switch#
