Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Link Aggregation

    Posted 02-10-2021 17:54
    I'm in the middle of a lab setup and I need to setup a LAG with 2 ports (ge-0/0/10 and ge-0/0/11) on a Juniper EX2200-C POE+ switch to a Synology (SAN). The LAG has already been configured on the Synology (SAN) which is working just fine because I had a Cisco switch connected prier to this Juniper. It was working perfectly.

    This lab is basically to learn more of the networking side of vSphere 7.0. The Synology will be my SAN (iSCSI target)   

    What are the steps to creating a LAG with 2 ports on this Juniper switch? Also, do I need to add an IP address to the LAG (ae0)?

    I am new to Juniper....

    Thanks,


  • 2.  RE: Link Aggregation

    Posted 02-10-2021 18:48
    Here are some sample configs for basic LAG

    Layer 2 untagged access port:

    set interfaces ge-0/0/0 ether-options 802.3ad ae0

    set interfaces ge-0/0/1 ether-options 802.3ad ae0

    set interfaces ae0 aggregated-ether-options lacp active

    set interfaces ae0 aggregated-ether-options lacp periodic slow

    set interfaces ae0 unit 0 family ethernet-switching port-mode access

    Layer 3 with ip address on link:

    set interfaces ge-0/0/0 ether-options 802.3ad ae0

    set interfaces ge-0/0/1 ether-options 802.3ad ae0

    set interfaces ae0 aggregated-ether-options lacp active

    set interfaces ae0 aggregated-ether-options lacp periodic slow

    set interfaces ae0 unit 0 family inet address 192.168.1.1/31


    Juniper documentation reference:
    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/switches-interface-aggregated.html

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: Link Aggregation

    Posted 02-10-2021 21:36
    Thanks for the reply.

    One question though, why would I need an IP address on a LAG link? I don't believe I configured one when I had the Cisco switch connected. 

    The Juniper EX2200-C POE+ is a layer 3 switch.


  • 4.  RE: Link Aggregation

     
    Posted 02-11-2021 01:49
    Nope no need for an IP address if it needs to be normal trunk to switch traffic.


  • 5.  RE: Link Aggregation

    Posted 02-11-2021 05:33
    There is no difference between the ae or a normal link in how you choose if it will be layer 2 or layer 3 with an ip address.

    If you want a gateway on the link or a point to point routed link between two devices add the ip address.

    If this is just an access port for a device or a trunk port with multiple vlans it will be layer 2.

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------