Learn Cisco Packet Tracer
EtherChannel adalah teknologi pada perangkat jaringan (seperti switch Cisco) yang memungkinkan penggabungan beberapa link fisik (biasanya FastEthernet atau GigabitEthernet) menjadi satu link logis (logical interface) yang disebut Port-Channel.
Tujuan utama EtherChannel:
EtherChannel juga mengurangi kebutuhan akan protokol Spanning Tree karena semua link dianggap satu jalur logis, sehingga tidak diblokir oleh STP (Spanning Tree Protocol).
EtherChannel dapat menggunakan dua jenis protokol negosiasi:
Dua mode utama:
Dua mode utama:
Protokol | Mode | Deskripsi |
---|---|---|
LACP | on | Konfigurasi manual, tanpa negosiasi. |
LACP | active | Mengirim LACP frame dan mencoba membentuk. |
LACP | passive | Menunggu LACP frame, hanya bergabung jika lawan “active”. |
PAgP | on | Konfigurasi manual, tanpa negosiasi. |
PAgP | desirable | Aktif mengirim PAgP frame. |
PAgP | auto | Merespons hanya jika lawan menggunakan “desirable”. |
Switch A Mode | Switch B Mode | Hasil Negosiasi |
---|---|---|
active | active | Berhasil |
active | passive | Berhasil |
passive | passive | Gagal |
on | on | Berhasil |
on | passive | Gagal |
Langkah Umum:
(c)# interface range fa0/1 - 3
(c)# channel-group 1 mode active
(c)# channel-protocol lacp
(c)# interface port-channel 1
(c)# switchport mode trunk
Perintah Verifikasi:
# show etherchannel summary
# show etherchannel port-channel
# show running-config
Contoh Konfigurasi LACP
Switch A:
(c)# interface range fa0/1 - 3
(c)# channel-protocol lacp
(c)# channel-group 1 mode active
(c)# interface port-channel 1
(c)# switchport mode trunk
Switch B:
(c)# interface range fa0/1 - 3
(c)# channel-protocol lacp
(c)# channel-group 1 mode active
(c)# interface port-channel 1
(c)# switchport mode trunk
Contoh Konfigurasi PAgP
Switch A (desirable):
(c)# interface range fa0/1 - 2
(c)# channel-group 2 mode desirable
(c)# interface port-channel 2
(c)# switchport mode access
Switch B (auto):
(c)# interface range fa0/1 - 2
(c)# channel-group 2 mode auto
(c)# interface port-channel 2
(c)# switchport mode access
Perintah untuk melihat status EtherChannel:
# show etherchannel summary
# show etherchannel port-channel
# show etherchannel load-balance
# show interfaces port-channel
Contoh output show etherchannel summary
:
Group Port-channel Protocol Ports
------+--------------+-----------+-------------------------------
1 Po1(SU) LACP Fa0/1(P) Fa0/2(P) Fa0/3(P)
Flags:
D - down P - bundled in port-channel
S - Layer2 U - in use
Semua interface yang akan digabung harus:
port-channel load-balance
).