Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| networking:cisco:etherchannel [2026/02/03 22:34] – created ilyasa | networking:cisco:etherchannel [2026/02/03 23:51] (current) – [Testing] ilyasa | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| * protocol : protocol yang digunakan dalam ether channel | * protocol : protocol yang digunakan dalam ether channel | ||
| + | Tergantung dengan mode apa yang digunakan dalam kedua link yang dapat memutuskan link terbentuk ether channel atau tidak. Berikut adalah gambar yang menunjukan bagaimana perangkat cisco bernegosiasi untuk memutuskan protokol mana yang akan digunakan. | ||
| - | ==== Some acction ==== | + | {{ : |
| - | ^ Command ^ Description ^ | + | |
| - | | '' | + | Contoh |
| - | | '' | + | |
| - | Contoh: | + | |
| < | < | ||
| - | vlan 10 | + | Switch# |
| - | name VLAN-10 | + | Switch(config-ifrange)# |
| - | vlan 20 | + | Switch(config-ifrange)# |
| - | name VLAN-20 | + | </ |
| - | vlan 99 | + | ==== Troubleshoot EtherChannel |
| - | name VLAN-Management | + | < |
| + | show etherchannel summary | ||
| + | </ | ||
| + | < | ||
| + | show etherchannel port-channel <port-channel number> | ||
| </ | </ | ||
| - | |||
| ===== Topologi ===== | ===== Topologi ===== | ||
| - | Gambar topology | + | {{ : |
| - | Goals Topology | + | === Preconfigure === |
| + | * MLS1 | ||
| + | < | ||
| + | hostname MLS1 | ||
| + | ! | ||
| + | ip dhcp excluded-address 192.168.1.1 | ||
| + | ! | ||
| + | ip dhcp pool LAN1 | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | ! | ||
| + | interface Vlan1 | ||
| + | ip address 192.168.1.1 255.255.255.0 | ||
| + | no shutdown | ||
| + | ! | ||
| + | </ | ||
| + | * MLS2 | ||
| + | < | ||
| + | ! | ||
| + | ip dhcp excluded-address 192.168.2.1 | ||
| + | ! | ||
| + | ip dhcp pool LAN2 | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | ! | ||
| + | interface Vlan1 | ||
| + | ip address 192.168.2.1 255.255.255.0 | ||
| + | no shutdown | ||
| + | ! | ||
| + | </ | ||
| ===== Konfigurasi ===== | ===== Konfigurasi ===== | ||
| - | | + | === Konfigurasi Etherchannel LACP antara SW1 dan MLS1 === |
| + | | ||
| + | <code js> | ||
| + | SW1(config)# | ||
| + | SW1(config-if-range)# | ||
| + | SW1(config-if-range)# | ||
| + | SW1(config-if-range)# | ||
| + | </ | ||
| + | * **MLS1** | ||
| < | < | ||
| - | Switch(config)#vlan 10 | + | MLS1(config)#interface range ethernet 0/2 - 3 |
| - | Switch(config-vlan)#name BIRU | + | MLS1(config-if-range)# |
| - | Switch(config-vlan)#exit | + | MLS1(config-if-range)# |
| + | MLS1(config-if-range)# | ||
| + | MLS1(config-if-range)# | ||
| + | </ | ||
| + | === Konfigurasi Etherchannel PAgP antara SW2 dan MLS2 === | ||
| + | * **SW2** | ||
| + | < | ||
| + | SW2(config)# | ||
| + | SW2(config-if-range)# | ||
| + | MLS2(config)# | ||
| + | MLS2(config-if)# | ||
| + | MLS2(config-if)# | ||
| + | </ | ||
| + | * **MLS2** | ||
| + | < | ||
| + | MLS2(config)# | ||
| + | MLS2(config-if-range)# | ||
| + | MLS2(config-if-range)# | ||
| + | MLS2(config-if-range)# | ||
| + | </ | ||
| + | === Konfigurasi Etherchannel Sttatic antara MLS1 dan MLS2 === | ||
| + | * **MLS1** | ||
| + | < | ||
| + | MLS1(config)# | ||
| + | MLS1(config-if-range)# | ||
| + | MLS1(config-if-range)# | ||
| + | Creating a port-channel interface Port-channel 2 | ||
| + | MLS1(config-if-range)# | ||
| + | MLS1(config)# | ||
| + | MLS1(config-if)# | ||
| + | </ | ||
| + | * **MLS2** | ||
| + | < | ||
| + | MLS2(config)#interface range ethernet 0/0 - 1 | ||
| + | MLS2(config-if-range)#no switchport | ||
| + | MLS2(config-if-range)# | ||
| + | Creating a port-channel interface Port-channel 2 | ||
| + | MLS2(config-if-range)#exit | ||
| + | MLS2(config)# | ||
| + | MLS2(config-if)# | ||
| + | </ | ||
| - | Switch(config)# | + | === Mengatur static routing antar subnet jaringan === |
| - | Switch(config-vlan)#name MAGENTA | + | * **MLS1** |
| - | Switch(config-vlan)#exit | + | < |
| + | MLS1(config)#ip routing | ||
| + | MLS1(config)#ip route 192.168.2.0 255.255.255.0 10.0.0.2 | ||
| </ | </ | ||
| - | * **Step 2 : Assign VLANs ke Ports** | + | * **MLS2** |
| < | < | ||
| - | Switch(config)#interface f0/1 | + | MLS2(config)#ip routing |
| - | Switch(config-if)#switchport mode access | + | MLS2(config)#ip route 192.168.1.0 255.255.255.0 |
| - | Switch(config-if)# | + | </ |
| - | Switch(config-if)# | + | ===== Testing ===== |
| + | <hidden Testing Koneksifitas> | ||
| + | * **PC1** | ||
| + | < | ||
| + | PC1> ip dhcp | ||
| + | DORA IP 192.168.1.4/ | ||
| - | Switch(config)#interface f0/2 | + | PC1> ping 192.168.2.2 |
| - | Switch(config-if)#switchport mode access | + | |
| - | Switch(config-if)#switchport access vlan 10 | + | 84 bytes from 192.168.2.2 icmp_seq=1 ttl=62 time=3.365 ms |
| - | Switch(config-if)#exit | + | 84 bytes from 192.168.2.2 icmp_seq=2 ttl=62 time=1.824 ms |
| + | 84 bytes from 192.168.2.2 icmp_seq=3 ttl=62 time=2.193 ms | ||
| + | 84 bytes from 192.168.2.2 icmp_seq=4 ttl=62 time=2.082 ms | ||
| + | 84 bytes from 192.168.2.2 icmp_seq=5 ttl=62 time=2.116 ms | ||
| + | |||
| + | PC1> trace 192.168.2.2 | ||
| + | trace to 192.168.2.2, | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | * **PC2** | ||
| + | < | ||
| + | PC2> ip dhcp | ||
| + | DDORA IP 192.168.1.5/ | ||
| + | |||
| + | PC2> ping 192.168.2.2 | ||
| + | |||
| + | 84 bytes from 192.168.2.2 icmp_seq=1 ttl=62 time=2.208 ms | ||
| + | 84 bytes from 192.168.2.2 icmp_seq=2 ttl=62 time=1.843 ms | ||
| + | 84 bytes from 192.168.2.2 icmp_seq=3 ttl=62 time=2.169 ms | ||
| + | 84 bytes from 192.168.2.2 icmp_seq=4 ttl=62 time=2.413 ms | ||
| + | 84 bytes from 192.168.2.2 icmp_seq=5 ttl=62 time=2.028 ms | ||
| + | |||
| + | PC2> trace 192.168.2.2 | ||
| + | trace to 192.168.2.2, | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | * **Server** | ||
| + | < | ||
| + | Server> ip dhcp | ||
| + | DORA IP 192.168.2.2/ | ||
| + | |||
| + | Server> ping 192.168.1.5 | ||
| + | |||
| + | 84 bytes from 192.168.1.5 icmp_seq=1 ttl=62 time=2.272 ms | ||
| + | 84 bytes from 192.168.1.5 icmp_seq=2 ttl=62 time=2.111 ms | ||
| + | 84 bytes from 192.168.1.5 icmp_seq=3 ttl=62 time=1.958 ms | ||
| + | 84 bytes from 192.168.1.5 icmp_seq=4 ttl=62 time=2.112 ms | ||
| + | 84 bytes from 192.168.1.5 icmp_seq=5 ttl=62 time=2.023 ms | ||
| + | |||
| + | Server> trace 192.168.1.5 | ||
| + | trace to 192.168.1.5, | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | </ | ||
| + | * **MLS1** | ||
| + | < | ||
| + | MLS1#show etherchannel summary | ||
| + | Flags: | ||
| + | I - stand-alone s - suspended | ||
| + | H - Hot-standby (LACP only) | ||
| + | R - Layer3 | ||
| + | U - in use N - not in use, no aggregation | ||
| + | f - failed to allocate aggregator | ||
| + | |||
| + | M - not in use, minimum links not met | ||
| + | m - not in use, port not aggregated due to minimum links not met | ||
| + | u - unsuitable for bundling | ||
| + | w - waiting to be aggregated | ||
| + | d - default port | ||
| + | |||
| + | A - formed by Auto LAG | ||
| + | |||
| + | |||
| + | Number of channel-groups in use: 2 | ||
| + | Number of aggregators: | ||
| + | |||
| + | Group Port-channel | ||
| + | ------+-------------+-----------+----------------------------------------------- | ||
| + | 1 Po1(SU) | ||
| + | 2 Po2(RU) | ||
| + | </ | ||
| + | * **MLS2** | ||
| + | < | ||
| + | MLS2#show etherchannel summary | ||
| + | Flags: | ||
| + | I - stand-alone s - suspended | ||
| + | H - Hot-standby | ||
| + | R - Layer3 | ||
| + | U - in use N - not in use, no aggregation | ||
| + | f - failed to allocate aggregator | ||
| + | |||
| + | M - not in use, minimum links not met | ||
| + | m - not in use, port not aggregated due to minimum links not met | ||
| + | u - unsuitable for bundling | ||
| + | w - waiting to be aggregated | ||
| + | d - default port | ||
| + | |||
| + | A - formed by Auto LAG | ||
| + | |||
| + | |||
| + | Number of channel-groups in use: 2 | ||
| + | Number of aggregators: | ||
| + | |||
| + | Group Port-channel | ||
| + | ------+-------------+-----------+----------------------------------------------- | ||
| + | 1 Po1(SU) | ||
| + | 2 Po2(RU) | ||
| </ | </ | ||
| - | ===== Testing ===== | ||