Diberdayakan oleh Blogger.
Unduh Adobe Flash player

EtherChannel Part 1

Apa itu EtherChannel?
Etherchannel adalah penggabungan beberapa link pada switch sehingga menjadi satu link logic.

Apa tujuan menggunakan Etherchannel?
Agar  bisa menggabungkan bandwith dari beberapa link fisik serta menyediakan redundancy fisik.

Seperti apa gambaran Etherchannel itu?
Seperti gambar di bawah ini :
Jadi, meskipun 2 switch saling terhubung beberapa kabel, tidak akan ada issue looping, karena switch akan menganggap itu hanya sebagai satu link fisik.

Bagaimana cara mengkonfigurasikan nya?
Yuk, kita praktek pakai packet tracer seperti ini:



Konfigurasi di Switch KIRI :
KIRI#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
KIRI(config)#interface range fa0/1 - 3
KIRI(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
KIRI(config-if-range)#channel-group 1 mode active

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
KIRI(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

Konfigurasi di Switch KANAN:
KANAN#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
KANAN(config)#interface range fa0/1 - 3
KANAN(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
KANAN(config-if-range)#channel-group 1 mode pass
KANAN(config-if-range)#channel-group 1 mode passive

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
KANAN(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up


%LINK-5-CHANGED: Interface Port-channel 1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up


Setelah dua duanya dikonfigurasi, akan muncul interface Port-channel 1 dengan status up.
Jadi critanya terbentuklah satu virtual interface yang merupakan penggabungan 3 port sebelumnya dan dianggap 1 link dari switch KIR ke switch KIRI.

Bagaimana cara melakukan pengecekan ke Interface Port Channel yang baru saja kita konfigure?
> Show Eterchannel Summary
KIRI#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: 1
Number of aggregators:           1

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

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


> Show Eterchannel Port-channel
KIRI#show etherchannel port-channel
                Channel-group listing:
                ----------------------

Group: 1
----------
                Port-channels in the group:
                ---------------------------

Port-channel: Po1    (Primary Aggregator)
------------

Age of the Port-channel   = 00d:00h:23m:27s
Logical slot/port   = 2/1       Number of ports = 3
GC                  = 0x00000000      HotStandBy port = null
Port state          = Port-channel
Protocol            =   LACP
Port Security       = Disabled

Ports in the Port-channel:

Index   Load   Port     EC state        No of bits
------+------+------+------------------+-----------
  0     00     Fa0/1    Active             0
  0     00     Fa0/3    Active             0
  0     00     Fa0/2    Active             0
Time since last port bundled:    00d:00h:09m:58s    Fa0/2


> Show interfaces Etherchannel
KIRI#show interfaces etherchannel
FastEthernet0/1:
Port state    = 1
Channel group = 1           Mode = Active          Gcchange = -
Port-channel  = Po1         GC   =   -             Pseudo port-channel = Po1
Port index    = 0           Load = 0x00            Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs

        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Fa0/1     SA      down      32768         0x0       0x0     0x1         

Partner's information:
                  LACP port                        Admin  Oper   Port    Port
Port      Flags   Priority  Dev ID          Age    key    Key    Number  State
Fa0/1     SA      32768     000A.4162.10D7         0x0    0x0    0x1     

Age of the port in the current state:  00d:00h:11m:30s

FastEthernet0/2:
Port state    = 1
Channel group = 1           Mode = Active          Gcchange = -
Port-channel  = Po1         GC   =   -             Pseudo port-channel = Po1
Port index    = 0           Load = 0x00            Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs

        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Fa0/2     SA      down      32768         0x0       0x0     0x2         

Partner's information:
                  LACP port                        Admin  Oper   Port    Port
Port      Flags   Priority  Dev ID          Age    key    Key    Number  State
Fa0/2     SA      32768     000A.4162.10D7         0x0    0x0    0x2     

Age of the port in the current state:  00d:00h:11m:30s

FastEthernet0/3:
Port state    = 1
Channel group = 1           Mode = Active          Gcchange = -
Port-channel  = Po1         GC   =   -             Pseudo port-channel = Po1
Port index    = 0           Load = 0x00            Protocol =   LACP

Flags:  S - Device is sending Slow LACPDUs   F - Device is sending fast LACPDUs

        A - Device is in active mode.        P - Device is in passive mode.

Local information:
                            LACP port     Admin     Oper    Port        Port
Port      Flags   State     Priority      Key       Key     Number      State
Fa0/3     SA      down      32768         0x0       0x0     0x3         

Partner's information:
                  LACP port                        Admin  Oper   Port    Port
Port      Flags   Priority  Dev ID          Age    key    Key    Number  State
Fa0/3     SA      32768     000A.4162.10D7         0x0    0x0    0x3     

Age of the port in the current state:  00d:00h:11m:30s

----
Port-channel1:Port-channel1   (Primary aggregator)
Age of the Port-channel   = 00d:00h:24m:59s
Logical slot/port   = 2/1             Number of ports = 3
HotStandBy port = null
Port state          =
Protocol            =   1
Port Security       = Disabled

Ports in the Port-channel:

Index   Load   Port     EC state        No of bits
------+------+------+------------------+-----------
  0     00     Fa0/1    Active             0
  0     00     Fa0/3    Active             0
  0     00     Fa0/2    Active             0
Time since last port bundled:    00d:00h:11m:30s    Fa0/2



Syawal Nugrahanto

0 komentar:

Posting Komentar