MC-LAG or MLAG in OcNOS

aka:  MultiChassis-LAG, MC-LAG, MLAG, DRNI, Distributed Resilient Network Interconnect


Configuration link to documentation 

MC-LAG :  share a common LAG endpoint  ( the other endpoint is the server,CPE ) 
Intra-Domain-Link (IDL)

to synchronize the states between both routers 

via MCEC packets

No data traffic is carried over the IDP

Intra-Domain-Peer (IDP)

to synchronize the states between both routers

Layer 3 communication path to carry MCEC packets.

No data traffic is carried over the IDP



Example



DrawingLink to drawing


R5 and R6 config example
config
R5LAB
------

hardware-profile filter egress-l2 enable

interface ce1
  switchport
  description "R5-R6 peer-link or line between mlag domain"


mcec domain configuration
 domain-address 1111.2222.3333
 domain-system-number 1
 intra-domain-link ce1
 domain-hello-timeout short
 
 
bridge 1 protocol rstp vlan-bridge
vlan 2 bridge 1 state enable

interface mlag1 
  bridge-group 1 spanning-tree disable
  switchport
  switchport mode trunk
  switchport trunk allowed vlan all

interface mlag1
   mode active-active
>>> commit


interface po1
  switchport
  mlag 1

interface xe10
  channel-group 1 mode active

=========================================
R6LAB:
------

hardware-profile filter egress-l2 enable

interface ce1
  switchport
  description "R5-R6 peer-link or line between mlag domain"
  
  
mcec domain configuration
  domain-address 1111.2222.3333
  intra-domain link ce1
  domain-system-number 2
 domain-hello-timeout short

. . . 
commandslink to documentation
LAG or popo port channel or link aggregation LAG


show commands



show mcec statistics




show mlag domain summary

show mlag
R5LAB#show mlag domain summary

------------------------------------
Domain Configuration
------------------------------------

Domain System Number            : 1
Domain Address                  : 1111.2222.3333
Domain Priority                 : 32768
Intra Domain Interface          : ce1
Domain Adjacency                : UP
MCEC PDU local version          : 1
MCEC PDU peer version           : 1
Domain Sync via                : Intra-domain-interface
Peer SVI interface MAC Address : E8.C5.7A.2E.50.1B

------------------------------------
MLAG Configuration
------------------------------------

MLAG-1
  Mapped Aggregator            : po1
  Physical properties Digest   : 54 a9 3a 2a 2b 50 65 bb 3c bc 3d bd c2 43 d6 22
  Total Bandwidth              : 20g
  Mlag Sync                    : IN_SYNC
  Mode                         : Active-Active
  Current Mlag state           : Active


show etherchannel summary

show etherchannel
R5LAB#show etherchannel summary
  Aggregator po1 100001
  Aggregator Type: Layer2
  Parent Aggregator : Active mlag1
  Admin Key: 16385 - Oper Key 16385
     Link: xe10 (5011) sync: 1 (Mlag-active-link)

show port etherchannel po1

show port etherchannel
R5LAB#show port etherchannel po1
LAG ID                       : 0x8000,11-11-22-22-33-33,0x4001
Partner oper LAG ID          : 0x8000,e8-c5-7a-08-ee-1c,0x0001
Aggregator ID                : 100001
  LACP link info             : xe10 - 5011
  Periodic Transmission
  machine state              : Slow periodic
  Receive machine state      : Current
  Mux machine state          : Collecting/Distributing
  Actor Info :
  ===========
  Actor Port priority        : 0x8000 (32768)
  Admin key                  : 0x4001 (16385) Oper key: 0x4001 (16385)
  Physical admin key         : (1)
  Actor Oper state           : ACT:1 TIM:0 AGG:1 SYN:1 COL:1 DIS:1 DEF:0 EXP:0
  Actor Admin state          : ACT:1 TIM:0 AGG:1 SYN:0 COL:0 DIS:0 DEF:1 EXP:0
  Partner Info:
  ============
  Partner oper port          : 10018
  Partner link info          : admin port 0
  Partner admin LAG ID       : 0x0000-00:00:00:00:0000
  Partner system priority    : admin:0x0000 - oper:0x8000
  Partner port priority      : admin:0x0000 - oper:0x8000
  Partner oper state         : ACT:1 TIM:0 AGG:1 SYN:1 COL:1 DIS:1 DEF:0 EXP:0
  Partner admin state        : ACT:0 TIM:0 AGG:1 SYN:0 COL:0 DIS:0 DEF:1 EXP:0



show bridge rstp

show bridge
R5LAB#show bridge rstp
Ageout time is global and if something is configured for vxlan then it will be affected here also
 Bridge    CVLAN  SVLAN  BVLAN  Port        MAC Address       FWD   Time-out
 ---------+------+------+------+-----------+-----------------+-----+---------+
 1         1                    mlag1       e8c5.7afa.f22f    1     300
 1         1                    ce1         e8c5.7afa.f231    1     300
 1         1                    mlag1       e8c5.7afa.f23c    1     300


show vlan all bridge 1

show vlan
R5LAB# show vlan all bridge 1
Bridge  VLAN ID     Name         State   H/W Status      Member ports
                                                     (u)-Untagged, (t)-Tagged
======= ======= ================ ======= ========== ==========================
1       1       default          ACTIVE  Success    ce1(u) mlag1(u) po1(u)
                                                    xe10(u) xe15(u)
1       2       VLAN0002         ACTIVE  Success    ce1(t) mlag1(t) po1(t)
                                                    xe10(t)
1       240     VLAN0240         ACTIVE  Success    ce1(t) mlag1(t) po1(t)
                                                    xe10(t)