HowTo Configure MLAG on Mellanox switches using MLAG Wizard

Version 26
    This post shows how to use the MLAG wizard to configure basic MLAG on Mellanox switches (with no MAGP).
    Before executing the wizard, make sure that you are familiar with manual MLAG configuration on Mellanox switches.


    >>Learn how to configure MLAG for free on the Mellanox Academy




    Basic Setup Example:



    Download the package to one of the servers in your network (CentoOS/RHEL  6.x):

    # wget

    # tar -xf mlag-wizard-1.0.6-1.el6.tar.gz

    # ./mlag-wizard/

    # cd /opt/vms/src/mlag_edge_configuration_planner




    # wget /root/mlag.json

    Here is an example of the Json input file:


    "switches": {


            "hosts": [                       # list containing 2 switches:

                "sx01",                      # Master switch and slave switch hostname/IP



            "netmask": "",      # management subnet

            "vip": "",          # management virtual IP

            "switches_csv": "/root/switches.csv"   # full path to switches.csv file contains all the switches  credentials


        "ipl": {


            "min_port": "35",                # IPL minimum port

            "max_port": "36",                # IPL maximum port

            "vlan": "5",                     # IPL VLAN ID

            "network": ""     # IPL Network


        "mlag": {


            "min_port": "1",                 # MLAG minimum port

            "max_port": "2",                 # Mlag maximum port

            "mlag_group": "mlag-group-1"     # MLAG group cluster





    Here is an example of the switches.csv file (the hostname can be either IP or hostname):





    Step 3: Execute the MLAG wizard

    # ./ –i /root/mlag.json -d /root/swithces

    Step 4: Repeat steps 1 to 3 for each pair of switches.

    Step 5: Execute the CLI Player to configure all the switches.

    # cd /opt/vms/src/cli_player

    # ./ -c /root/switches.csv -d /root/swithces


    For additional documentation and advance options refer to the manual located here: