Berikut adalah command pada switch Cisco untuk membuat port-channel untuk port trunk
A. Switch 0
Skenario :
port channel di set pada fa0/1, fa0/2 dan fa0/3
mode port-channel adalah trunk
vlan yang boleh lewat adalah 1-1000
Command :
interface Port-channel1
description PORT_Channel
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
!
interface FastEthernet0/1
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/2
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/3
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
channel-group 1 mode active
!
B. Switch 1
Skenario :
port channel di set pada fa0/1, fa0/2 dan fa0/3
mode port-channel adalah trunk
vlan yang boleh lewat adalah 1-1000
Command :
interface Port-channel1
description PORT_Channel
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
!
interface FastEthernet0/1
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/2
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
channel-group 1 mode active
!
interface FastEthernet0/3
switchport trunk native vlan 100
switchport trunk allowed vlan 1-1000,1002-1005
switchport mode trunk
channel-group 1 mode active
!
Hasil :
Pada lab yang menggunakan cisco paket tracert tanda berhasilnya konfigurasi adalah semua indikator/lampu port berwarna hijau.
0 Comments