Configuring MLAG
MLAG configuration process is in the following steps:
- Configure the VLAN and the VLAN interface.
- Configure LAG interface and add ports to the LAG.
- Ping peer IP to verify L3 connection is ok on peer link.
- Configure the MLAG domain, MLAG node and peer link.
- Show MLAG domain and configuration consistency to verify MLAG session status is ok.
- Configure link ID on the MLAG member port.
- 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> 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.