Yazar

2017-12-24 17:48:15

Huawei Switchlerde Stack Yapma


Elimizdeki 4 adet Huawei S5700 model switch mevcut. Bize kolaylık olması açısından 4 tane Switch’i tek switch gibi göstereceğiz.

Öncelikle switchlerimize sıra ile isim veriyoruz. Sw1, Sw2, Sw3, Sw4, Sw5 gibi. Cihazlarımıza isim verdikten sonra sıra ile tüm switchlerimizde aşağıdaki komutları giriyoruz:

 

1. Adım : Cihazlarimizda stack portlarını ayarlıyoruz.

Sw1 :

[sw1]interface stack-port 0/1
[sw1-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…
[sw1-stack-port0/1]quit

[sw1]interface stack-port 0/2
[sw1-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…
[sw1-stack-port0/2]quit

sw2

[sw2]interface stack-port 0/1
[sw2-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…
[sw1-stack-port0/1]quit

[sw2]interface stack-port 0/2
[sw2-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…
[sw2-stack-port0/2]quit

sw3

[sw3]interface stack-port 0/1
[sw3-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…
[sw3-stack-port0/1]quit

[sw3]interface stack-port 0/2
[sw3-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…
[sw3-stack-port0/2]quit

sw4

[sw4]interface stack-port 0/1
[sw4-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…
[sw4-stack-port0/1]quit

[sw4]interface stack-port 0/2
[sw4-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…
[sw4-stack-port0/2]quit

2.Adım: Priority değerleri ve stack id’leri belirliyoruz. Burada stack ID ler ile cihazları tek switch gibi gördüğümüz de tanımla yaparken kullanacağımız slotları belirliyoruz.

Sw1

[sw1]stack slot 0 priority 200

Warning:Please do not frequently modify Priority, it will make the stack split! continue?[Y/N]:y

Sw2

[sw2]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.

Sw3

[sw3]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.

Sw4

[sw4]stack slot 0 renumber 3

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.

3.Adım : Şimdi tüm cihazları kapatıyoruz. Ve stack kabloları sıra ile bağlıyoruz. Ve ardından sıra ile cihazlarımızı açıyoruz.

4.Adım: Bu adımda ise yaptığımız stack işleminin olup olmadığını kontrol ediyoruz.

display stack
Stack topology type: Ring
Stack system MAC: 845b-123a-1132
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 845b-123a-1132 200 S5700-28X-PWR-LI-AC
1 Standby 845b-123a-1102 100 S5700-28X-PWR-LI-AC
2 Slave 845b-123a-1103 100 S5700-28X-PWR-LI-AC
3 Slave 845b-123a-10fe 100 S5700-28X-PWR-LI-AC


Etiketler : Huawei