Configuring MLAG


MLAG configuration process is in the following steps:

  1. Configure the VLAN and the VLAN interface.
  2. Configure LAG interface and add ports to the LAG.
  3. Ping peer IP to verify L3 connection is ok on peer link.
  4. Configure the MLAG domain, MLAG node and peer link.
  5. Show MLAG domain and configuration consistency to verify MLAG session status is ok.
  6. Configure link ID on the MLAG member port.
  7. Show MLAG link to verify MLAG port is ok.

Procedure

Step1         Configure the VLAN and the VLAN interface.

                   a)      Configure a VLAN ID.

   set vlans vlan-id <vlan-id>

                   b)     Configur the L3 VLAN interface.

   set vlans vlan-id <vlan-id> l3-interface <interface-name>

                   c)      Configure the L3 interface IP address for peer link port on local MLAG peer device.

                  set l3-interface vlan-interface <interface-name> address <ip-address> prefix-length <number>

Step2         Configure LAG interface and add ports to the LAG.

   set interface aggregate-ethernet <lag-interface-name>

   set interface gigabit-ethernet <port-name> ether-options 802.3ad <lag-interface-name>

Step3         Ping peer IP to verify L3 connection is ok on peer link.

Step4         Configure an MLAG domain ID.

   set protocols mlag domain <domain-id>

   NOTE: Currently, only one MLAG domain is allowed to be configured on one MLAG device.

Step5         Specify the node number for each MLAG peer device. One of the MLAG peer devices should be Node 0 and the other is Node 1.

   set protocols mlag domain <domain-id> node <0 | 1>

Step6         Configure the peer IP address and peer link port.

   set protocols mlag domain <domain-id> peer-ip <peer-ipv4-address> peer-link <peer-interface-name>

   NOTE: Peer-link port should be configured as a LAG port.

Step7         Show the MLAG domain and configuration consistency to verify MLAG session status is ok.

   run show mlag domain {<domain-id>| summary}

   run show mlag consistency-parameter { link <link-id>| summary}

Step8         Configure link ID on the MLAG member port.

                   set protocols mlag domain <domain-id> interface <lag-interface> link <link-id>

   NOTE: The paired MLAG member ports must be bound to the same MLAG link ID.

Step9         Configure MLAG peer VLAN.

   set protocols mlag domain <domain-id> peer-ip <peer-ipv4-address> peer-vlan <vlan-id>

Step10       Show the MLAG link to verify MLAG port is ok.

   run show mlag link {<link-id>| summary}



Copyright © 2024 Pica8 Inc. All Rights Reserved.