Wednesday, February 29, 2012

Setting up a LAG between 2 Juniper EX2200 Switches

I have been setting up some new Juniper EX switches and needed to create a LAG.

Juniper KB10927 has a detailed step by step guide for accomplishing this. However, when I followed the steps, the LAG was created and verified as being up but I could not ping through to the other switch. I rechecked my configuration and verified that everything was correct but I still was having problems. The LAG was up, but no packets were being passed.

I realized that this was a simple case of overlooking something. The two switches were both initially set up with basic default vlan:

default {
    l3-interface vlan.0;
}

Here is the basic configuration that I have for setting up a LAG when no vlans (except the default) are configured. It is important to note that the highlighted section was necessary because of this.

root@EX1# show interfaces ae0
aggregated-ether-options {
    minimum-links 1;
    link-speed 1g;
    lacp {
        active;
    }
}
unit 0 {
    family ethernet-switching {
        port-mode trunk;
        native-vlan-id default;
    }
}

No comments:

Post a Comment