Dell Networking SONiCでのMC-LAGアクティブ/スタンバイの役割選択

Summary: この文書では、DELL SONiCのMC-LAGでのアクティブまたはスタンバイロールの選択について説明します。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

MC-LAGピアはアクティブモードまたはスタンバイモードである必要があります。アクティブまたはスタンバイは、コントロール プレーンの概念です。ただし、データ プレーンでは、各MC-LAGピアは、役割に関係なく、データ 転送パスを個別に決定します。

 

MC-LAGロールは、設定されたIPV4ソースIPとピアIPに基づいてピアによって決定されます。

  • ソースIPがピアIPより小さい場合、ユニットはアクティブになります。
  • ソースIPがピアIPより大きい場合、ユニットはスタンバイになります。

 

メモ: アクティブまたはスタンバイの役割は、ピアの動作ステータスまたはピア リンク接続の状態から独立しています。アクティブなMC-LAGピアが再起動中の場合、スタンバイはアクティブではなく、その逆も行われます。

 

例:スイッチ1はソースIP 10.0.0.1を使用しており、スイッチ2にはソースIP 10.0.0.2があることを考慮してください。
MCLAGの例

 

スイッチ1のMC-LAG構成

Swicth-1# show running-configuration mclag
!
mclag domain 1
source-ip 10.0.0.1
peer-ip 10.0.0.2
peer-link PortChannel1
mclag-system-mac xx:xx:xx:xx:xx:xx
keepalive-interval 1

Swicth-1# show running-configuration mclag
 
Domain ID            : 1
Role                 : active
Session Status       : up
Peer Link Status     : up
Source Address       : 10.0.0.1
Peer Address         : 10.0.0.2
Peer Link            : PortChannel1
Keepalive Interval   : 1 secs
Session Timeout      : 30 secs
Delay Restore        : 300 secs
System Mac           : xx:xx:xx:xx:xx:xx
Mclag System Mac     : xx:xx:xx:xx:xx:xx

 

Switch-1はピアIP(10.0.0.2)よりも低いsource-ip(10.0.0.1)であるため、アクティブな役割を果たします。

 

スイッチ2のMC-LAG構成

Swicth-2# show running-configuration mclag
!
mclag domain 1
source-ip 10.0.0.2
peer-ip 10.0.0.1
peer-link PortChannel1
mclag-system-mac xx:xx:xx:xx:xx:xx
keepalive-interval 1

Swicth-2# show running-configuration mclag
 
Domain ID            : 1
Role                 : standby
Session Status       : up
Peer Link Status     : up
Source Address       : 10.0.0.2
Peer Address         : 10.0.0.1
Peer Link            : PortChannel1
Keepalive Interval   : 1 secs
Session Timeout      : 30 secs
Delay Restore        : 300 secs
System Mac           : xx:xx:xx:xx:xx:xx
Mclag System Mac     : xx:xx:xx:xx:xx:xx

 

Switch-2はピアIP(10.0.0.1)よりも高いsource-ip(10.0.0.2)を持っているので、スタンバイの役割を果たします。

 

Affected Products

Enterprise SONiC Distribution, PowerSwitch E3200-ON Series, Dell EMC Networking N3200-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9432F-ON
Article Properties
Article Number: 000206830
Article Type: How To
Last Modified: 12 Jan 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.