Tuesday, 18 January 2022

CCNA-ETHERCHANNEL-SWITCHING #14

 

ETHERCHANNEL

    
        Etherchannel merupakan adalah suatu proses menggabungkan sejumlah interface menjadi satu interface. Pada proses ini switch harus mematikan Spanning tree Protocol (STP) yang dimana tidak ada bloking port.

        Jenis Jenis protocol etherchanne; :

    LACP (Link Aggregation Control Protocol) Open standard IEEE 802.1AD atau support pada perangkat selain cisco, terdapat 2 jenis Mode : Active & Passive

     PAGP (Port Aggregation Protocol) PAGP merupakan jenis protocol etherchannel yang hanya dimiliki oleh pihak cisco sendiri, terdapat 2 jenis mode : Desirable & Auto

    Etherchannel L3 Etherchannel tipe ini menggunakan layer 3 (IP) serta perangkat yang dipakai jenis switch multilayer (MLS), hanya memiliki 1 mode : ON

LACP

    STEP-1 :  MEMBUAT TRUNK (switch)

    SWITCH 3
Switch(config)#int ra fa 0/1-3 
Switch(config-if-range)#switchport mode trunk 

    SWITCH4
Switch(config)#int ra fa 0/1-3
Switch(config-if-range)#switchport mode trunk


    STEP-2 :  MENGGANTI MODE  (switch)

    SWITCH 3
Switch(config-if-range)#channel-group 1 mode active 

    SWITCH 4
Switch(config-if-range)#channel-group 1 mode passive 

    NOTE : agar etherchannel berhasil mode nya harus berbeda seperti yang sudah dijelaskan diatas


    CHECK : show
Switch#sh 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: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------

1      Po1(SU)           LACP   Fa0/1(P) Fa0/2(P) Fa0/3(P) 


PAGP

    STEP-1 :  MEMBUAT TRUNK (switch)

    SWITCH 3
Switch(config)#int ra fa 0/1-3 
Switch(config-if-range)#switchport mode trunk 

    SWITCH4
Switch(config)#int ra fa 0/1-3
Switch(config-if-range)#switchport mode trunk


    STEP-2 :  MENGGANTI MODE  (switch)

    SWITCH 3
Switch(config-if-range)#channel-group 1 mode desirable

    SWITCH 4
Switch(config-if-range)#channel-group 1 mode auto


    CHECK : show
Switch#sh 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: 1
Number of aggregators:           1

Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------

1      Po1(SU)           PAgP   Fa0/1(P) Fa0/2(P) Fa0/3(P) 


L3 
   Seperti namanya kita akan menggunakan switch layer 3 atau bisa disebut Multi Layer Switch (MLS)
    STEP-1 :  MENGGANTI MODE  (switch)

    MLS 0
Switch(config-if-range)#channel-group 1 mode on

    MLS 1
Switch(config-if-range)#channel-group 1 mode on


    STEP-2 :  MEMATIKAN SWITCHPORT & MEMBUAT IP ADDRESS (switch)

    MLS 0
Switch(config)#int port-channel 1
Switch(config-if)#no switchport 
Switch(config-if)#ip add 192.168.1.1 255.255.255.0 
Switch(config-if)#ex

    MLS 1
Switch(config)#int port-channel 1
Switch(config-if)#no switchport 
Switch(config-if)#ip add 192.168.1.2 255.255.255.0 
Switch(config-if)#ex

    NOTE : jika LACP dan PAGP menggunakan di trunk karena memakai perangkan switch, eda halnya dengan L3 atau MLS karena memakai IP address


    CHECK : show
Switch#sh interfaces port-channel 1 status

Port      Name               Status       Vlan       Duplex  Speed Type
Po1                          connected    routed     auto    auto   

    NOTE : artinya sudah ada etherchannel L3

No comments:

Post a Comment

CCNA--DHCP SNOOPING-DHCP#26

     DHCP SNOOPING                 DHCP Snooping adalah fitur pada cisco untuk mencegah serangan spoofing. Spoofing adalah serangan yang dil...