6.2.
4 Packet Tracer - Configure EtherChannel
Untuk mengkonfigurasi EtherChannel di Packet Tracer :
- LACP
Berikut adalah contoh konfigurasi EtherChannel dengan LACP pada Switch(S1) :
S1(config)# interface range FastEthernet 0/1 - 2
S1(config-if-range)# channel-group 1 mode active
Creating a port-channel interface Port-channel 1
S1(config-if-range)# exit
S1(config)# interface port-channel 1
S1(config-if)# switchport mode trunk
S1(config-if)# switchport trunk allowed vlan 1,2,20
Konfigurasi Etherchannel
Masuk interface range mode untuk FastEthernet0/1 and FastEthernet0/2. Gunakan fa 0/1 - 2 sebagai
interface designation.
S1(config)#interface range fa 0/1 - 2
Gunakan context sensitive help (?) untuk menampilkan opsi channel-group command.
S1(config-if-range)#channel-group ?
<1-6> Channel group number
Pilih channel-group 1 and tampilkan opsi selanjutnya.
S1(config-if-range)#channel-group 1 ?
mode Etherchannel Mode of the interface
Enter the mode keyword dan tampilkan opsi selanjutnya.
S1(config-if-range)#channel-group 1 mode ?
Active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected
Konfigurasi the channel-group to untuk menggunkana LACP unconditionally.
S1(config-if-range)#channel-group 1 mode active
*Mar 21 [Link].184: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state
to down
*Mar 21 [Link].193: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed
state
to down
*Mar 21 [Link].179: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state
to up
*Mar 21 [Link].674: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed
state
to up
*Mar 21 [Link].170: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state
to down
*Mar 21 [Link].186: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed
state
to down
*Mar 21 [Link].116: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state
to up
*Mar 21 [Link].114: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
*Mar 21 [Link].037: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed
state
to up
*Mar 21 [Link].121: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed
state to
Up
Konfigurasi switchport settings untuk port-channel yang dibuat:
Enter interface configuration mode untuk port-channel 1
konfigurasi port-channel 1 sebagai trunk
Allow VLANS 1,2,20 to cross the trunk link. Enter the VLANs as shown with no spaces.
S1(config-if-range)#interface port-channel 1
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk allowed vlan 1,2,20
You have successfully configured EtherChannel.
6.3.4 Packet Tracer - Troubleshoot EtherChannel
Pastiikan ports dalam mode trunk
S2#show running-config
interface FastEthernet0/21
switchport mode access
channel-group 6 mode active
interface FastEthernet0/22
switchport mode access
channel-group 6 mode active
interface FastEthernet0/23
switchport mode access
channel-group 3 mode active
interface FastEthernet0/24
switchport mode access
channel-group 3 mode active
interface GigabitEthernet0/1
switchport mode access
channel-group 2 mode active
interface GigabitEthernet0/2
switchport mode access
channel-group 2 mode active
!
End
a. Pastikan semua physical ports di topology terkonfigurasi sebagai trunks. koreksi ports apapun
yang memiliki access mode.
S2(config)#interface range f0/21-24, g0/1-2
S2(config-if-range)#switchport mode trunk
b. Koreksi EtherChannel ports apapun yang tidak di kkonfigurasi sebagai trunks.
S1(config)#interface port-channel 1
S1(config-if)#switchport mode trunk
S2(config)#interface port-channel 2
S2(config-if)#switchport mode trunk
S2(config-if)#interface port-channel 3
S2(config-if)#switchport mode trunk
S2(config-if)#interface port-channel 6
S2(config-if)#switchport mode trunk
Koreksi port channel assignments.
Correct switch ports apapun yang tidak di assigned ke EtherChannel port yang benar.
S4(config)#interface range f0/21-22
S4(config-if-range)#channel-group 5 mode active
Identify protocol issues.
Pastikan Port channel tidak SD (Layer 2, Down)
S3#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: 3
Number of aggregators: 3
Group Port-channel Protocol Port
------+-------------+-----------+----------------------------------------------
1 Po1(SD) PAgP Gig0/1(I) Gig0/2(I)
4 Po4(SD) PAgP Fa0/23(I) Fa0/24(I)
6 Po6(SD) PAgP Fa0/21(I) Fa0/22(I)
Untuk troubleshoot mengubah SD(Down) menjadi SU(In Use)
S3(config)# interface range g0/1-2
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 1 mode active
S3(config-if-range)# interface range f0/21-22
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 6 mode active
S3(config-if-range)# interface range f0/23-24
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 4 mode active
Pastkan Kembali apakah sudah diperbaiki dan pastikan port channel menjadi SU(In Use):
S3#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: 3
Number of aggregators: 3
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SU) PAgP Gig0/1(P) Gig0/2(P)
4 Po4(SU) PAgP Fa0/23(P) Fa0/24(P)
6 Po6(SU) PAgP Fa0/21(P) Fa0/22(P)
6.4.1 Packet Tracer - Implement EtherChannel
Bangun Network
Step 1 : Pastikan device Yang diperlukan
- Klik Network Device Icon di toolbar
- Klik Switch di submenu
Step 2 : Namai Device Sesuai Soal
Step 3 : Connect to devices
a. Klik ikon petir berwarna oranye Sambungan di bilah alat bagian bawah.
b. Cari ikon kabel Ethernet straight-through. Ikon ini terlihat seperti garis diagonal hitam pekat.
c. Untuk menyambungkan perangkat, klik ikon kabel Ethernet straight-through, lalu klik perangkat
pertama yang ingin disambungkan. Pilih port yang benar, lalu klik perangkat kedua. Pilih port yang benar
dan perangkat akan tersambung.
d. Sambungkan perangkat dengan menyesuaikan yang ada di soal.
Konfigurasi Etherchannel :
Step 1 : Konfigurasi PAgP EtherChannel. Konfigurasi 2 switch yang memiliki channel yang sama (contoh
Switch S1 dan S2 di channel 2)
Konfigurasi S1 & S2 :
interface GigabitEthernet0/1
switchport mode trunk
channel-group 1 mode desirable
interface GigabitEthernet0/2
switchport mode trunk
channel-group 1 mode desirable
Step 2 : Konfigurasi LACP Etherchannel
Konfigurasi S1 & S2 :
interface FastEthernet0/21
switchport mode trunk
channel-group 2 mode active
interface FastEthernet0/22
switchport mode trunk
channel-group 2 mode active
Step 3: Konfigurasi Backup LACP EtherChannel
Konfigurasi S1 & S2 :
interface FastEthernet0/23
switchport mode trunk
channel-group 3 mode passive
interface FastEthernet0/24
switchport mode trunk
channel-group 3 mode passive
Answer Scripts
Switch SWA
ena
conf t
hostname SW1
interface GigabitEthernet0/1
switchport mode trunk
channel-group 1 mode desirable
interface GigabitEthernet0/2
switchport mode trunk
channel-group 1 mode desirable
interface FastEthernet0/21
switchport mode trunk
channel-group 2 mode active
interface FastEthernet0/22
switchport mode trunk
channel-group 2 mode active
interface FastEthernet0/23
interface FastEthernet0/24
end
Switch SWB
ena
conf t
hostname SWB
interface GigabitEthernet0/1
switchport mode trunk
channel-group 1 mode desirable
interface GigabitEthernet0/2
switchport mode trunk
channel-group 1 mode desirable
interface FastEthernet0/23
switchport mode trunk
channel-group 3 mode passive
interface FastEthernet0/24
switchport mode trunk
channel-group 3 mode passive
end
Switch SWC
ena
conf t
hostname SWC
interface FastEthernet0/21
switchport mode trunk
channel-group 2 mode active
interface FastEthernet0/22
switchport mode trunk
channel-group 2 mode active
interface FastEthernet0/23
switchport mode trunk
channel-group 3 mode active
interface FastEthernet0/24
switchport mode trunk
channel-group 3 mode active
end