Bu bölümde cihazlar arası link aggregation(manual ve static LACP) ayarlamaları yapacağız.
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 1Eth-Trunk1’s state information is:WorkingMode: NORMAL Hash arithmetic: According to SA-XOR-DALeast Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8Operate status: up Number Of Up Port In Trunk: 2—————————————————————————PortName Status WeightGigabitEthernet0/0/9 Up 1GigabitEthernet0/0/10 Up 1 |
[CLIGURU-S2]display eth-trunk 1Eth-Trunk1’s state information is:WorkingMode: NORMAL Hash arithmetic: According to SA-XOR-DALeast Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8Operate status: up Number Of Up Port In Trunk: 2—————————————————————————PortName Status WeightGigabitEthernet0/0/9 Up 1GigabitEthernet0/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-trunkEth-Trunk1’s state information is:Local:LAG ID: 1 WorkingMode: STATICPreempt Delay: Disabled Hash arithmetic: According to SA-XOR-DASystem Priority: 32768 System ID: 80fb-06e8-d3c0Least Active-linknumber: 1 Max Active-linknumber: 8Operate status: up Number Of Up Port In Trunk: 2—————————————————————————ActorPortName Status PortType PortPri PortNo PortKey PortState WeightGigabitEthernet0/0/9 Selected 100M 32768 9 289 10100010 1GigabitEthernet0/0/10 Selected 100M 32768 10 289 10100010 1Partner:—————————————————————————ActorPortName SysPri SystemID PortPri PortNo PortKey PortStateGigabitEthernet0/0/9 32768 80fb-06e8-d3c0 32768 9 289 10100011GigabitEthernet0/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 1Eth-Trunk1’s state information is:Local:LAG ID: 1 WorkingMode: STATICPreempt Delay: Disabled Hash arithmetic: According to SA-XOR-DASystem Priority: 100 System ID: 80fb-06e8-d3c0Least Active-linknumber: 1 Max Active-linknumber: 8Operate status: up Number Of Up Port In Trunk: 2—————————————————————————ActorPortName Status PortType PortPri PortNo PortKey PortState WeightGigabitEthernet0/0/9 Selected 100M 100 9 289 10100010 1GigabitEthernet0/0/10 Selected 100M 100 10 289 10100010 1Partner:—————————————————————————ActorPortName SysPriSystemID PortPri PortNo PortKey PortStateGigabitEthernet0/0/9 32768 80fb-06e8-d3c0 0 9 289 10100011GigabitEthernet0/0/10 32768 80fb-06e8-d3c0 0 10 289 10100011 |
[CLIGURU-S2]display eth-trunk 1Eth-Trunk1’s state information is:Local:LAG ID: 1 WorkingMode: STATICPreempt Delay: Disabled Hash arithmetic: According to SA-XOR-DASystem Priority: 32768 System ID: 80fb-06ae-2c2eLeast Active-linknumber: 1 Max Active-linknumber: 8Operate status: up Number Of Up Port In Trunk: 2—————————————————————————ActorPortName Status PortType PortPri PortNo PortKey PortState WeightGigabitEthernet0/0/9 Selected 100M 32768 9 289 10100010 1GigabitEthernet0/0/10 Selected 100M 32768 10 289 10100010 1Partner:—————————————————————————ActorPortName SysPri SystemID PortPri PortNo PortKey PortStateGigabitEthernet0/0/9 100 80fb-06ae-2c2e 100 9 289 10100011GigabitEthernet0/0/10 100 80fb-06ae-2c2e 100 10 289 10100011 |
Final …
[CLIGURU-S1]display current-configuration#!Software Version V100R005C01SPC100sysname CLIGURU-S1# lacp priority 100interface Eth-Trunk1mode lacp-static#interface GigabitEthernet0/0/9eth-trunk 1lacp priority 100undo negotiation autospeed 100#interface GigabitEthernet0/0/10eth-trunk 1lacp priority 100undo negotiation autospeed 100#Return |
[CLIGURU-S2]display current-configuration#!Software Version V100R005C01SPC100sysname CLIGURU-S2#interface Eth-Trunk1mode lacp-staticinterface GigabitEthernet0/0/9eth-trunk 1undo negotiation autospeed 100#interface GigabitEthernet0/0/10eth-trunk 1undo negotiation autospeed 100#return |