Scelta del ruolo di active-standby mc-LAG in DELL Networking SONiC
Summary: In questo articolo viene illustrata la scelta del ruolo attivo o standby in MC-LAG in DELL SONiC.
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
I peer MC-LAG devono essere in modalità attiva o in modalità standby. Attivo o Standby è il concetto di piano di controllo. Tuttavia, nel data plane, ogni peer MC-LAG determina singolarmente il percorso di inoltro dei dati indipendentemente dal ruolo.
Il ruolo MC-LAG è determinato dal peer in base all'indirizzo source-ip IPV4 e peer-ip configurato.
- Se l'ip di origine è inferiore all'ip peer, l'unità diventa Attiva
- Se l'ip di origine è maggiore di peer-ip, l'unità diventa standby
NOTA: Il ruolo Attivo o Standby è indipendente dallo stato operativo Peer o dallo stato di connessione peer-link. Se il peer MC-LAG attivo è in fase di riavvio, lo standby non diventa attivo e viceversa.
Ad esempio: Si supponga che lo switch-1 utilizzi l'IP di origine 10.0.0.1 e che Switch-2 abbia l'IP di origine 10.0.0.2.
Configurazione MC-LAG dello switch-1
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
Poiché switch-1 ha un source-ip inferiore (10.0.0.1) rispetto all'ip peer (10.0.0.2), assume il ruolo attivo.
Configurazione MC-LAG dello switch-2
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
Poiché switch-2 ha un valore source-ip (10.0.0.2) più elevato rispetto all'ip peer (10.0.0.1), assume un ruolo di standby.
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-ONArticle 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.