Link Aggregation – VLAN (Access-Trunk) (Etherchannel) Huawei


  1. Link-Aggregation’ı kuralım.
    Cihazlara isim vererek , Switch1 ve Switch2 için arasında link aggregation kuralım.
    system-view
    Enter system view, return user view with Ctrl+Z.
    [Huawei]sysname Switch1
    [Switch1]interface Eth-Trunk 1
    [Switch1-Eth-Trunk1]mode lacp-static
    [Switch1-Eth-Trunk1]quit
    [Switch1]interface GigabitEthernet 0/0/9
    [Switch1-GigabitEthernet0/0/9]eth-trunk 1
    [Switch1-GigabitEthernet0/0/9]interface GigabitEthernet 0/0/10
    [Switch1-GigabitEthernet0/0/10]eth-trunk 1
    Switch2 içinde Link Aggregation konfigurasyonu yapalım.
    system-view
    Enter system view, return user view with Ctrl+Z.
    [Huawei]sysname Switch2
    [Switch2]interface Eth-Trunk 1
    [Switch2-Eth-Trunk1]mode lacp-static
    [Switch2-Eth-Trunk1]trunkport GigabitEthernet 0/0/9
    [Switch2-Eth-Trunk1]trunkport GigabitEthernet 0/0/10
  2. Kullanılmayan interfaceleri kapatalım ve vlan’ları oluştıralım.
    Kullanılmyan interfaceleri kapatalım , Switch3 için E0/0/1 ve E0/0/21 intefacelerini ,Switch4 için ise E0/0/14 interfacesini kapatalım ve kontrol edelim.
    system-view
    Enter system view, return user view with Ctrl+Z.
    [Huawei]sysname Switch3
    [Switch3]interface Ethernet 0/0/1
    [Switch3-Ethernet0/0/1]shutdown
    [Switch3-Ethernet0/0/1]quit
    [Switch3]interface Ethernet 0/0/21
    [Switch3-Ethernet0/0/21]shutdown

system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname Switch4
[Switch4]interface Ethernet0/0/14
[Switch4-Ethernet0/0/14]shutdown
Switch1 ve Switch2 için Link-Aggregation oluşturalım ve interfaceleri trunk’a çekelim, bunları Switch2 içinde yapalım.
[Switch1]interface Eth-Trunk 1
[Switch1-Eth-Trunk1]port link-type trunk
[Switch1-Eth-Trunk1]port trunk allow-pass vlan all

[Switch2]interface Eth-Trunk 1
[Switch2-Eth-Trunk1]port link-type trunk
[Switch2-Eth-Trunk1]port trunk allow-pass vlan all

  1. Vlan konfigurasyonu.
    Switch3, CLIGURU-R1, CLIGURU-R3 ve Switch4 için vlanlar oluşturalım ve interfacelere vlanları atayalım. Bunun iki yöntemi vardır; her iki yöntemlede konfigurasyonu yapalım. Bu cihazların bütün interfacelerini Access yapalım.
    Switch1’in interface G0/0/13 ‘u için Vlan3 ve interface G0/0/1 için Vlan4 oluşturalım ve vlan atamalarını yapalım. (Yöntem 1)
    [Switch1]interface GigabitEthernet 0/0/13
    [Switch1-GigabitEthernet0/0/13]port link-type access
    [Switch1-GigabitEthernet0/0/13]quit
    [Switch1]interface GigabitEthernet 0/0/1
    [Switch1-GigabitEthernet0/0/1]port link-type access
    [Switch1-GigabitEthernet0/0/1]quit
    [Switch1]vlan 2
    [Switch1-vlan2]vlan 3
    [Switch1-vlan3]port GigabitEthernet 0/0/13
    [Switch1-vlan3]vlan 4
    [Switch1-vlan4]port GigabitEthernet 0/0/1

Switch2 içinde interface G0/0/2 için Vlan4 ve interface G0/0/24 için Vlan2 oluşturalım ve vlanlara atayalım. (Yöntem 2)
[Switch2]vlan batch 2 to 4
[Switch2]interface GigabitEthernet 0/0/3
GigabitEthernet0/0/3]type access
[Switch2-GigabitEthernet0/0/3]port default vlan 4
[Switch2-GigabitEthernet0/0/3]quit
[Switch2]interface GigabitEthernet 0/0/22
[Switch2-GigabitEthernet0/0/22]port link-type access
[Switch2-GigabitEthernet0/0/22]port default vlan 2
Switch1 ve Switch2 için yaptıgımız Vlan konfigürasyonunu kontrol edelim.
display vlan
The total number of vlans is : 4
—————————————————————————
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;

: ProtocolTransparent-vlan; *: Management-vlan;

—————————————————————————
VID Type Ports
—————————————————————————
1 common UT:GE0/0/2(D) GE0/0/3(D) GE0/0/4(D) GE0/0/5(D)
GE0/0/6(D) GE0/0/7(D) GE0/0/8(D) GE0/0/11(D)
GE0/0/12(D) GE0/0/14(D) GE0/0/15(D) GE0/0/16(D)
GE0/0/17(D) GE0/0/18(D) GE0/0/19(D) GE0/0/20(D)
GE0/0/21(D) GE0/0/22(D) GE0/0/23(D) GE0/0/24(D)
Eth-Trunk1(U)
2 common TG:Eth-Trunk1(U)
3 common UT:GE0/0/13(U)
TG:Eth-Trunk1(U)
4 common UT:GE0/0/1(U)
TG:Eth-Trunk1(U)

display vlan
The total number of vlans is : 4
——————————————————————————–
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;

: ProtocolTransparent-vlan; *: Management-vlan;

——————————————————————————–
VID Type Ports
——————————————————————————–
1 common UT:GE0/0/1(D) GE0/0/2(D) GE0/0/4(D) GE0/0/5(D)
GE0/0/6(D) GE0/0/7(D) GE0/0/8(D) GE0/0/11(D)
GE0/0/12(D) GE0/0/13(D) GE0/0/14(D) GE0/0/15(D)
GE0/0/16(D) GE0/0/17(D) GE0/0/18(D) GE0/0/19(D)
GE0/0/20(D) GE0/0/21(D) GE0/0/23(D) GE0/0/24(U)
Eth-Trunk1(U)
2 common UT:GE0/0/24(U)
TG:Eth-Trunk1(U)
3 common TG:Eth-Trunk1(U)
4 common UT:GE0/0/3(U)
TG:Eth-Trunk1(U)

About cemerbas

Check Also

Next Generation Firewall (NGFW) Huawei

Next Generation Firewall (NGFW) üzerinden geçen trafiği, Application identification, User identification ve Content identification temellerine …

Bir yanıt yazın