Huawei Switch Stack Kurulumu

SWITCH STACK YAPMA

Huawei switchlerde stack, iki veya daha fazla stack yapılabilen switchlerden oluşan bir network çözümüdür. Stack’e dahil edilen switchler ayrı ayrı yönetilmek yerine tek ip adresinden yönetilebilirler.

Stack topolojisine bağlı olarak, stack yapılan switchler arasında her hangi bir bağlantı veya switchte arıza olma durumunda stack içerisindeki diğer switchler veri aktarmaya devam edebilirler.

Huawei switchlerde stack yapmak için en az 2 adet aynı versiyona sahip switch gereklidir.

Konunun devamında 2 adet ve 3 adet switchten oluşan stack yapılarının ayarlanmasını yapacağız.

Örneğimizde ring topoloji yapısını kullanacağız, şemayı aşağıda görebilirsiniz.

Stack yapı içerisinde master/standby switch rollerini ( switchover ) değiştirmek için aşağıda ki linkte bulunan makalemizini inceleyebilirsiniz.
https://huaweiturk.com/huawei-switch-master-standby-degistirme-switchover/

Huawei Switch Ring Stach Topoloji - Huawei Türkiye - huaweiturk - VDITURK

2 Adet Huawei Switch İle Stack

İlk olarak huawei switchlere isim veriyoruz. ( SwitchA ve SwitchB )

Sonrasında Huawei switchlerin stack portlarını ayarlıyoruz.

SwitchA
[SwitchA]interface stack-port 0/1
[SwitchA-stack-port0/1]port interface XGigabitEthernet 0/0/1 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchA-stack-port0/1]quit

[SwitchA]interface stack-port 0/2
[SwitchA-stack-port0/2]port interface XGigabitEthernet 0/0/2 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchA-stack-port0/2]quit
SwitchB
[SwitchB]interface stack-port 0/1
[SwitchB-stack-port0/1]port interface XGigabitEthernet 0/0/1 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchB-stack-port0/1]quit

[SwitchB]interface stack-port 0/2
[SwitchB-stack-port0/2]port interface XGigabitEthernet 0/0/2 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchB-stack-port0/2]quit

Sonrasında Huawei switchlere priority değerlerini ve stack ID’lerini veriyoruz. Burada vereceğimiz stack ID’leri, switchleri tek switch gibi gördüğümüzde ki slot ID’leri olacaktır.

SwitchA
[SwitchA]stack slot 0 priority 200
Warning:Please do not frequently modify Priority, it will make the stack split! continue?[Y/N]:y
SwitchB
[SwitchB]stack slot 0 renumber 1
Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.
Please do not frequently modify slot ID, it will make the stack split. Continue?[Y/N]:y
Info: Stack configuration has been changed, need reboot to take effect.

Son kısım olarak switchlerin hepsini kapatıyoruz ve stack için ayarladığımız portlara sırasıyla bağlıyoruz.

Kabloları bağlama işlemi tamamlandıktan sonra ilk olarak master olacak huawei switchi ( SwitchA ) açıyoruz. Master switch açıldıktan sonra diğer switchi açıyoruz.

Tüm Huawei switchler açıldıktan sonra stack işleminin doğru olup olmadığını kontrol ediyoruz. Bunun için “display stack” komutunu kullanıyoruz.

<SwitchA>display stack
Stack topology type: Ring
Stack system MAC: 644a-522c-3456
MAC switch delay time: 10 min
Stack reserved vlan: 4093
Slot of the active management port: —
Slot Role Mac address Priority Device type
————————————————————-
0 Master 644a-522c-3456 200 S5731-S48P4X
1 Standby 5625-c455-dfb5 100 S5731-S48P4X

3 Adet Huawei Switch İle Stack

İlk olarak huawei switchlere isim veriyoruz. ( SwitchA, SwitchB ve SwichC )

Sonrasında Huawei switchlerin stack portlarını ayarlıyoruz.

SwitchA
[SwitchA]interface stack-port 0/1
[SwitchA-stack-port0/1]port interface XGigabitEthernet 0/0/1 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchA-stack-port0/1]quit

[SwitchA]interface stack-port 0/2
[SwitchA-stack-port0/2]port interface XGigabitEthernet 0/0/2 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchA-stack-port0/2]quit
SwitchB
[SwitchB]interface stack-port 0/1
[SwitchB-stack-port0/1]port interface XGigabitEthernet 0/0/1 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchB-stack-port0/1]quit

[SwitchB]interface stack-port 0/2
[SwitchB-stack-port0/2]port interface XGigabitEthernet 0/0/2 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchB-stack-port0/2]quit
SwitchC
[SwitchC]interface stack-port 0/1
[SwitchC-stack-port0/1]port interface XGigabitEthernet 0/0/1 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchC-stack-port0/1]quit

[SwitchC]interface stack-port 0/2
[SwitchC-stack-port0/2]port interface XGigabitEthernet 0/0/2 enable
Warning: Enabling stack port cause configuration loss on the interface, continue?[Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment…
[SwitchC-stack-port0/2]quit

Sonrasında Huawei switchlere priority değerlerini ve stack ID’lerini veriyoruz. Burada vereceğimiz stack ID’leri, switchleri tek switch gibi gördüğümüzde ki slot ID’leri olacaktır.

SwitchA
[SwitchA]stack slot 0 priority 200
Warning:Please do not frequently modify Priority, it will make the stack split! continue?[Y/N]:y
SwitchB
[SwitchB]stack slot 0 renumber 1
Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.
Please do not frequently modify slot ID, it will make the stack split. Continue?[Y/N]:y
Info: Stack configuration has been changed, need reboot to take effect.
SwitchC
[SwitchC]stack slot 0 renumber 2
Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.
Please do not frequently modify slot ID, it will make the stack split. Continue?[Y/N]:y
Info: Stack configuration has been changed, need reboot to take effect.

Son kısım olarak switchlerin hepsini kapatıyoruz ve stack için ayarladığımız portlara sırasıyla bağlıyoruz.

Kabloları bağlama işlemi tamamlandıktan sonra ilk olarak master olacak huawei switchi ( SwitchA ) açıyoruz. Master switch açıldıktan sonra diğer switchi açıyoruz.

Tüm Huawei switchler açıldıktan sonra stack işleminin doğru olup olmadığını kontrol ediyoruz. Bunun için “display stack” komutunu kullanıyoruz.

<SwitchA>display stack
Stack topology type: Ring
Stack system MAC: 644a-522c-3456
MAC switch delay time: 10 min
Stack reserved vlan: 4093
Slot of the active management port: —
Slot Role Mac address Priority Device type
————————————————————-
0 Master 644a-522c-3456 200 S5731-S48P4X
1 Standby 5625-c455-dfb5 100 S5731-S48P4X
2 Slave 45a3-6513-aa34 100 S5731-S48P4X