Switching

 View Only
last person joined: 16 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX3400 xe-1/2/1 Question:

    Posted 09-23-2025 15:56

    Hello all,

    Ok, so I want to do a building-to-building iperf bandwidth test. Our pipe between the buildings are 10G. I set up a Win11 box with a 10G fiber card and a 10G SFP+. I connected the other 10G SFP+ to an EX3400 xe-1/2/1 port, which I configured as trunk mode and assigned it a vlan who's subnet is 10.100.128.0/22. I gave the Windows box a static IP, also within the same subnet but I cannot ping back and forth. I also disabled the firewall on the Windows box just to make sure ICMP wasn't being blocked. I used an existing VLAN that we use for the access ports. Do the 10G(xe) ports need to be set up with encapsulation? Or maybe what I'm trying to accomplish isn't possible. Any advice on this is appreciated.

    Edit: I'm thinking the xe-1/2/1 needs to set up as an access port, not a trunk. Correct me if I'm wrong. Thanks

    Config should look something like this:

    **********************************************************************************

    configure

    # Configure the interface as access port
    set interfaces xe-1/2/1 unit 0 family ethernet-switching interface-mode access

    # Assign to a VLAN (replace 'default' with your desired VLAN name)
    set interfaces xe-1/2/1 unit 0 family ethernet-switching vlan members default

    # Optional: Set port description
    set interfaces xe-1/2/1 description "Computer Connection"

    # Optional: Configure speed/duplex if needed (usually auto-negotiation works)
    set interfaces xe-1/2/1 speed 1g
    set interfaces xe-1/2/1 link-mode full-duplex

    # Optional: Enable PoE if your switch supports it and device needs power
    set interfaces xe-1/2/1 unit 0 family ethernet-switching port-mode access

    commit



    -------------------------------------------



  • 2.  RE: EX3400 xe-1/2/1 Question:

    Posted 09-24-2025 02:59

    Hi,

    If your computer doesn't have subinterfaces,  I should configure the switch port in access mode. You should configure ports between switches in trunk mode if you need to transfer traffic from different VLANs between two buildings.

    Also, SFP+ doesn't support PoE. You can delete this part of the configuration.   Why do you want to configure port speed 1G if you have a 10G  SFP?



    ------------------------------
    IHOR SHTANKO
    ------------------------------



  • 3.  RE: EX3400 xe-1/2/1 Question:

    Posted 09-24-2025 03:04

    Hi,

    If your only using 1 vlan then yes you are probably best with setting it as an access port.

    Also this is incorrect:

    # Optional: Enable PoE if your switch supports it and device needs power
    set interfaces xe-1/2/1 unit 0 family ethernet-switching port-mode access # this is the old way of determining weather a port was access or trunk on the old JUNOS 15.1 and earlier.

    for enabling poe you need, obviously not possible of sfp ports but is:

    set  poe interface ge-0/0/0



    ------------------------------
    HARRY
    ------------------------------