Konuyu Değerlendir
  • 0 Oy - 0 Ortalama
  • 1
  • 2
  • 3
  • 4
  • 5
MELLANOX MLAG KONFİGÜRASYONU
#1
Video 
MELLANOX MLAG KONFİGÜRASYONU
 
 

Not: MLAG konfigürasyonu yapmadan önce lütfen switch yazılımlarının son sürüm olduğundan ve eşit olduğundan emin olunuz.
 
Genel
 
LACP: LACP Protokolu enable edilmelidir.
STP: Switch üzerinde tamamen yada ilgili MLAG portlarında kapatılmalıdır. Aksi takdirde MLAG fonksiyonlari düzgün calışmayacaktır.
MLAG: MLAG protokolu enable edilmelidir.
QoS: QoS Switch üzerinde enable edilmelidir.
 
 
sx01 (config) # lacp
sx01 (config) # no spanning-tree
sx01 (config) # ip routing
sx01 (config) # protocol mlag
sx01 (config) # dcb priority-flow-control enable force
 
 
 
 
IPL ( Inter Peer Link ) Konfigürasyonu
 
Not: Yedeklilik icin 2 adet port birleştirerek yapılmalıdır.
 
SW1 Config
sx01 (config) # interface port-channel 1
sx01 (config interface port-channel 1 ) # exit
 
sx01 (config) # interface ethernet 1/35 channel-group 1 mode active
sx01 (config) # interface ethernet 1/36 channel-group 1 mode active
 
sx01 (config) # vlan 4000
sx01 (config vlan 4000) # exit
 
sx01 (config) # interface vlan 4000
sx01 (config interface vlan 4000 ) # exit
 
sx01 (config) # interface port-channel 1 ipl 1
sx01 (config) # interface port-channel 1 dcb priority-flow-control mode on force
SW2 Config
sx02 (config) # interface port-channel 1
sx02 (config interface port-channel 1 ) # exit
 
sx02 (config) # interface ethernet 1/35 channel-group 1 mode active
sx02 (config) # interface ethernet 1/36 channel-group 1 mode active
 
sx02 (config) # vlan 4000
sx02 (config vlan 4000) # exit
 
sx02 (config) # interface vlan 4000
sx02 (config interface vlan 4000 ) # exit
 
sx02 (config) # interface port-channel 1 ipl 1
sx02 (config) # interface port-channel 1 dcb priority-flow-control mode on force
 
 
IPL Link IP address konfigürasyonu
 
IPL IP adresi Management IP bloğu dışında  olmalıdır. Networkde kullanılmayan herhangi bir subnet olabilir. (İki switch arasındaki bağlantıyı kontrol eder.)
 
SW1 Config
sx01 (config) # interface vlan 4000
sx01 (config interface vlan 4000) # ip address 10.10.10.1 255.255.255.0
sx01 (config interface vlan 4000) # ipl 1 peer-address 10.10.10.2      
 
SW2 Config
sx02 (config) # interface vlan 4000
sx02 (config interface vlan 4000) # ip address 10.10.10.2 255.255.255.0
sx02 (config interface vlan 4000) # ipl 1 peer-address 10.10.10.1
 
 
 
MLAG VIP
 
MLAG VIP adresi Management (örnek mgmt0) bloğu ile aynı subnet içerisinde olmalıdır.
 
SW1 Config
sx01 (config)# mlag-vip MELLANOX-TEST-VIP-DOMAIN ip 10.209.28.200 /24 force
sx01 (config)# mlag system-mac 00:00:5E:00:01:5D
 
SW2 Config
sx02 (config)# mlag-vip MELLANOX-TEST-VIP-DOMAIN ip 10.209.28.200 /24 force
sx02 (config)# mlag system-mac 00:00:5E:00:01:5D
 
Not: MLAG system-mac konfigürasyonu 3.4.2008 altındaki versiyonlarda desteklenmemektedir.
 
Global MLAG Enable
 
sx01 config) # no mlag shutdown
sx02 config) # no mlag shutdown
 
MLAG Interface konfigürasyon
 
Not: Her iki switch üzerinde de MLAG Port Channel ID leri aynı olmalıdır.
 
SW1 Config
sx01 (config) # interface mlag-port-channel 1
sx01 (config interface port-channel 1) # exit
!
sx01 (config) # interface mlag-port-channel 2
sx01 (config interface port-channel 1) # exit
!
sx01 (config) # interface ethernet 1/1
sx01 (config interface ethernet 1/1) # mlag-channel-group 1 mode on
sx01 (config interface ethernet 1/1) # no shutdown
sx01 (config interface ethernet 1/1) # exit
!
sx01 (config) # interface ethernet 1/2
sx01 (config interface ethernet 1/2) # mlag-channel-group 2 mode on
sx01 (config interface ethernet 1/2) # no shutdown
sx01 (config interface ethernet 1/2) # exit
 
 
SW2 Config
sx02 (config) # interface mlag-port-channel 1
sx02 (config interface port-channel 1) # exit
!
sx02 (config) # interface mlag-port-channel 2
sx02 (config interface port-channel 1) # exit
!
sx02 (config) # interface ethernet 1/1
sx02 (config interface ethernet 1/1) # mlag-channel-group 1 mode on
sx02 (config interface ethernet 1/1) # no shutdown
sx02 (config interface ethernet 1/1) # exit
!
sx02 (config) # interface ethernet 1/2
sx02 (config interface ethernet 1/2) # mlag-channel-group 2 mode on
sx02 (config interface ethernet 1/2) # no shutdown
sx02 (config interface ethernet 1/2) # exit
 
Not: Eger Server tarafında Jumbo frame kullanmanız gerekiyorsa MLAG interfaceler altında Jumbo Frame konfigürasyonu yapmalısınız.
 
SW1 Config
sx01 (config) # interface mlag-port-channel 1
sx01 (config interface mlag-port-channel 1) # mtu 9216 force
!
sx01 (config) # interface mlag-port-channel 2
sx01 (config interface mlag-port-channel 2) # mtu 9216 force
 
SW2 Config
sx02 (config) # interface mlag-port-channel 1
sx02 (config interface mlag-port-channel 1) # mtu 9216 force
!
sx02 (config) # interface mlag-port-channel 2
sx02 (config interface mlag-port-channel 2) # mtu 9216 force
 
 
Show Komutları  ve Doğrulama
 
sx01 [MELLANOX-TEST-VIP-DOMAIN: master] (config) # show mlag
Admin status: Enabled
Operational status: Up
Reload-delay: 30 sec
Keepalive-interval: 1 sec
System-id: F4:52:14:11:E5:38
MLAG Ports Configuration Summary:
Configured: 2
Disabled:   0
Enabled:    2
 
MLAG Ports Status Summary:
  Inactive:       0
  Active-partial: 0
  Active-full:    2
 
MLAG IPLs Summary:
ID   Group         Vlan       Operational  Local           Peer
     Port-Channel  Interface State        IP address      IP address
--------------------------------------------------------------------------
1    Po1           4000       Up           10.10.10.1      10.10.10.2
 
 
 
 
sx01 [MELLANOX-TEST-VIP-DOMAIN: master] (config) # show mlag-vip
MLAG VIP
========
MLAG group name: my-mlag-vip-domain
MLAG VIP address: 10.209.28.200/24
Active nodes: 2
Hostname             VIP-State            IP Address
----------------------------------------------------
sx01                 master               10.209.28.50
sx02                 standby              10.209.28.51
 
 
 
 
sx01 [MELLANOX-TEST-VIP-DOMAIN: master] (config) # show interfaces mlag-port-channel summary
MLAG Port-Channel Flags: D-Down, U-Up
                         P-Partial UP, S - suspended by MLAG
Port Flags: D - Down, P - Up in port-channel (members)
            S - Suspend in port-channel (members), I - Individual
 
Group
Port-Channel      Type       Local Ports              Peer Ports
(D/U/P/S)                    (D/P/S/I)                (D/P/S/I)
--------------------------------------------------------------------------------
1 Mpo1(U)         Static     Eth1/1(P)                Eth1/1(P)
2 Mpo2(U)         Static     Eth1/2(P)                Eth1/2(P)
Bul
Alıntı


Foruma Git:


Bu konuyu görüntüleyen kullanıcı(lar): 1 Ziyaretçi