Link Aggregation


Bu bölümde  cihazlar arası link aggregation(manual ve static LACP)  ayarlamaları yapacağız.                                        image1.png
1. Manuel link aggregation konfigürasyonu.
CLIGURU-S1 ve CLIGURU-S2 için Eth-Trunk 1 oluşturalım. CLIGURU-S1 ve CLIGURU-S2’nin G0/0/9 ,G0/0/10 portlarına Eth-Trunk 1’e dahil edelim.
[CLIGURU-S1]interface Eth-Trunk 1
[CLIGURU-S1-Eth-Trunk1]quit
[CLIGURU-S1]interface GigabitEthernet 0/0/9
[CLIGURU-S1-GigabitEthernet0/0/9]eth-trunk 1
[CLIGURU-S1-GigabitEthernet0/0/9]quit
[CLIGURU-S1]interface GigabitEthernet 0/0/10
[CLIGURU-S1-GigabitEthernet0/0/10]eth-trunk 1
[CLIGURU-S2]interface Eth-Trunk 1
[CLIGURU-S2-Eth-Trunk1]quit
[CLIGURU-S2]interface GigabitEthernet 0/0/9
[CLIGURU-S2-GigabitEthernet0/0/9]eth-trunk 1
[CLIGURU-S2-GigabitEthernet0/0/9]quit
[CLIGURU-S2]interface GigabitEthernet 0/0/10
[CLIGURU-S2-GigabitEthernet0/0/10]eth-trunk 1
Link aggregation  konfigürasyonunu kontrol edelim.
[CLIGURU-S1]display eth-trunk 1
Eth-Trunk1’s state information is:
WorkingMode: NORMAL         Hash arithmetic: According to SA-XOR-DA
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up         Number Of Up Port In Trunk: 2
—————————————————————————
PortName                    Status     Weight
GigabitEthernet0/0/9         Up         1
GigabitEthernet0/0/10         Up         1
[CLIGURU-S2]display eth-trunk 1
Eth-Trunk1’s state information is:
WorkingMode: NORMAL         Hash arithmetic: According to SA-XOR-DA
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up         Number Of Up Port In Trunk: 2
—————————————————————————
PortName                     Status     Weight
GigabitEthernet0/0/9          Up         1
GigabitEthernet0/0/10         Up         1
Koyu renkli  olan yerlerde Eth-Trunk komutunun  doğru şekilde çalıştıgını görüyoruz.
 
2. Link Aggregation statik LACP mode konfigürasyonu
CLIGURU-S1 ve CLIGURU-S2’de  ,G0/0/9 ve G0/0/10  interfaceleri   için yaptıgımız konfigürasyonları kaldıralım.
[CLIGURU-S1]interface GigabitEthernet 0/0/9
[CLIGURU-S1-GigabitEthernet0/0/9]undo eth-trunk
[CLIGURU-S1-GigabitEthernet0/0/9]quit
[CLIGURU-S1]interface GigabitEthernet 0/0/10
[CLIGURU-S1-GigabitEthernet0/0/10]undo eth-trunk
[CLIGURU-S2]interface GigabitEthernet 0/0/9
[CLIGURU-S2-GigabitEthernet0/0/9]undo eth-trunk
[CLIGURU-S2-GigabitEthernet0/0/9]quit
[CLIGURU-S2]interface GigabitEthernet 0/0/10
[CLIGURU-S2-GigabitEthernet0/0/10]undo eth-trunk
Eth-Trunk 1’i oluşturup, load balancing modunu static LACP olarak ayarlayalım.
[CLIGURU-S1]interface Eth-Trunk 1
[CLIGURU-S1-Eth-Trunk1]mode lacp-static
[CLIGURU-S1-Eth-Trunk1]quit
[CLIGURU-S1]interface GigabitEthernet 0/0/9
[CLIGURU-S1-GigabitEthernet0/0/9]eth-trunk 1
[CLIGURU-S1-GigabitEthernet0/0/9]quit
[CLIGURU-S1]interface GigabitEthernet 0/0/10
[CLIGURU-S1-GigabitEthernet0/0/10]eth-trunk 1
[CLIGURU-S2]interface Eth-Trunk 1
[CLIGURU-S2-Eth-Trunk1]mode lacp-static
[CLIGURU-S2-Eth-Trunk1]quit
[CLIGURU-S2]interface GigabitEthernet 0/0/9
[CLIGURU-S2-GigabitEthernet0/0/9]eth-trunk 1
[CLIGURU-S2]interface GigabitEthernet 0/0/10
[CLIGURU-S2-GigabitEthernet0/0/10]eth-trunk 1
LACP-statik modda her iki linkin de etkin olduğunu kontrol edelim.
[CLIGURU-S1]display eth-trunk
Eth-Trunk1’s state information is:
Local:
LAG ID: 1                   WorkingMode: STATIC
Preempt Delay: Disabled     Hash arithmetic: According to SA-XOR-DA
System Priority: 32768     System ID: 80fb-06e8-d3c0
Least Active-linknumber: 1 Max Active-linknumber: 8
Operate status: up      Number Of Up Port In Trunk: 2
—————————————————————————
ActorPortName         Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/9   Selected 100M     32768   9     289     10100010 1
GigabitEthernet0/0/10 Selected 100M     32768   10     289     10100010 1
Partner:
—————————————————————————
ActorPortName       SysPri   SystemID PortPri PortNo PortKey   PortState
GigabitEthernet0/0/9 32768 80fb-06e8-d3c0   32768   9     289   10100011
GigabitEthernet0/0/10 32768 80fb-06e8-d3c0   32768   10   289   10100011
CLIGURU-S1’in Actor(master) yapmak için sistem priority degerini 100 olarak ayarlayalım.
 [CLIGURU-S1]lacp priority 100
CLIGURU-S1’in interface priority değerlerini ayarlayalım ve aktif linkleri belirleyelim.
[CLIGURU-S1]interface GigabitEthernet 0/0/9
[CLIGURU-S1-GigabitEthernet0/0/9]lacp priority 100
[CLIGURU-S1-GigabitEthernet0/0/9]quit
[CLIGURU-S1]interface GigabitEthernet 0/0/10
[CLIGURU-S1-GigabitEthernet0/0/10]lacp priority 100
Link aggregation  konfigurasyonu kontrol edelim.
[CLIGURU-S1]display eth-trunk 1
Eth-Trunk1’s state information is:
Local:
LAG ID: 1                   WorkingMode: STATIC
Preempt Delay: Disabled     Hash arithmetic: According to SA-XOR-DA
System Priority: 100       System ID: 80fb-06e8-d3c0
Least Active-linknumber: 1 Max Active-linknumber: 8
Operate status: up      Number Of Up Port In Trunk: 2
—————————————————————————
ActorPortName         Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/9   Selected 100M     100     9     289     10100010 1
GigabitEthernet0/0/10 Selected 100M     100     10     289     10100010 1
Partner:
—————————————————————————
ActorPortName     SysPriSystemID PortPri  PortNo   PortKey   PortState
GigabitEthernet0/0/9   32768     80fb-06e8-d3c0 0   9     289     10100011
GigabitEthernet0/0/10 32768     80fb-06e8-d3c0 0   10   289     10100011
[CLIGURU-S2]display eth-trunk 1
Eth-Trunk1’s state information is:
Local:
LAG ID: 1                  WorkingMode: STATIC
Preempt Delay: Disabled     Hash arithmetic: According to SA-XOR-DA
System Priority: 32768     System ID: 80fb-06ae-2c2e
Least Active-linknumber: 1 Max Active-linknumber: 8
Operate status: up      Number Of Up Port In Trunk: 2
—————————————————————————
ActorPortName         Status   PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/9   Selected 100M     32768   9     289     10100010 1
GigabitEthernet0/0/10 Selected 100M     32768   10     289     10100010 1
Partner:
—————————————————————————
ActorPortName       SysPri   SystemID PortPri PortNo PortKey   PortState
GigabitEthernet0/0/9   100 80fb-06ae-2c2e 100     9 289   10100011
GigabitEthernet0/0/10 100   80fb-06ae-2c2e 100     10 289   10100011
 Final …
[CLIGURU-S1]display current-configuration
#
!Software Version V100R005C01SPC100
sysname CLIGURU-S1

#

lacp priority 100
interface Eth-Trunk1
mode lacp-static
#
interface GigabitEthernet0/0/9
eth-trunk 1
lacp priority 100
undo negotiation auto
speed 100
#
interface GigabitEthernet0/0/10
eth-trunk 1
lacp priority 100
undo negotiation auto
speed 100
#
Return
[CLIGURU-S2]display current-configuration
#
!Software Version V100R005C01SPC100
sysname CLIGURU-S2
#
interface Eth-Trunk1
mode lacp-static
interface GigabitEthernet0/0/9
eth-trunk 1
undo negotiation auto
speed 100
#
interface GigabitEthernet0/0/10
eth-trunk 1
undo negotiation auto
speed 100
#
return