February 25, 2026

konfigurasi Etherchannel Layer 3

Berikut konfigurasi EtherChannel Layer-3 (routed Port-Channel) pakai LACP (paling umum) untuk link antar L3 switch / ke router.

Catatan: Harus di perangkat yang mendukung no switchport (L3). Kalau switch L2 (mis. banyak 2960), L3 EtherChannel tidak bisa.

Contoh topologi

  • 2 link fisik: Gi0/1 dan Gi0/2
  • Port-channel: Po1
  • IP point-to-point: 10.10.10.0/30
    • Switch A = 10.10.10.1/30
    • Switch B = 10.10.10.2/30

Konfigurasi di Switch A

enable
conf t
interface range gi0/1 - 2
 no switchport
 channel-group 1 mode active
 no shutdown
exit

interface port-channel 1
 no switchport
 ip address 10.10.10.1 255.255.255.252
 no shutdown
end
wr mem

Konfigurasi di Switch B

enable
conf t
interface range gi0/1 - 2
 no switchport
 channel-group 1 mode active
 no shutdown
exit

interface port-channel 1
 no switchport
 ip address 10.10.10.2 255.255.255.252
 no shutdown
end
wr mem

Verifikasi

Jalankan di kedua sisi:

show etherchannel summary
show lacp neighbor
show ip interface brief | include Port-channel
show interfaces port-channel 1

Tes koneksi:

  • Dari Switch A:
ping 10.10.10.2

Indikator normal:

  • Po1 status (SU) dan member port bertanda (P)
  • Port-channel up/up dan ping berhasil.

(Opsional) Routing lewat Port-Channel

Static route contoh

conf t
ip route 0.0.0.0 0.0.0.0 10.10.10.2
end

OSPF contoh

conf t
router ospf 1
 network 10.10.10.0 0.0.0.3 area 0
end

Troubleshooting cepat kalau “suspended / not bundled”

  • Pastikan kedua sisi sama-sama LACP (mode active/passive, minimal 1 sisi active)
  • Semua member port harus sama speed/duplex
  • Jangan ada switchport mode trunk/access (karena ini L3, harus no switchport)
  • Cek:
show interfaces gi0/1 etherchannel
show run interface gi0/1
show log | include EC|LACP

Kalau kamu sebutkan model switch + port yang dipakai, aku bisa sesuaikan syntax-nya (Gi/Fa, dan kebutuhan routingnya).

Related Articles