Switching

 View Only
last person joined: 6 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.  Juniper EX4300-48P - can I use normal ethernet port (1-48) as uplink port?

    Posted 9 days ago

    Hi! I have Juniper EX4300-48P WITHOUT uplink ports module. I also do NOT have the proper cable to connect  Virtual Chassis (VC) QSFP+ to RJ45 (copper) to use it as uplink port.  My question is - can I use normal ethernet port (1-48) as uplink? I would like for example to use ethernet port number 24 (edge) as an uplink port so I can connect the switch with other switch/router. Thanks!



    ------------------------------
    bart bati
    ------------------------------


  • 2.  RE: Juniper EX4300-48P - can I use normal ethernet port (1-48) as uplink port?

    Posted 9 days ago

    Yes you can. You have to configure the port as a trunk and add the VLANs you want the uplink to use.



    ------------------------------
    MICHAEL TUMA
    ------------------------------



  • 3.  RE: Juniper EX4300-48P - can I use normal ethernet port (1-48) as uplink port?

    Posted 8 days ago

    Thank you Michael! Can you share a code I need to put in CLI? I'm a beginner and need to set this up (connect it to the router) before I start to learn how to configure proper setup.



    ------------------------------
    bart bati
    ------------------------------



  • 4.  RE: Juniper EX4300-48P - can I use normal ethernet port (1-48) as uplink port?

    Posted 7 days ago

    Hi Bart

    This is a config you could use

    Below set up port 24 as trunk

    You can replace with your own VLANs

    set interfaces ge-0/0/24 description "Uplink to router_switch"

    set interfaces ge-0/0/24 unit 0 family ethernet-switching interface-mode trunk

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN25

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN21

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN20

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN23

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN22

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN26

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN27

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN28

    your specific access ports would need mode "access" ( config not included here)

    Below you set up VLANs to be used in trunk, you can set management on some of those VLANs by using IRB interfaces if you want to do that, you can also use below 

    set vlans VLAN21 vlan-id 21

    set vlans VLAN28 vlan-id 28

    set vlans VLAN28 l3-interface irb.28

    set vlans VLAN20 vlan-id 20

    set vlans VLAN20 l3-interface irb.20

    set vlans VLAN22 vlan-id 22

    set vlans VLAN23 vlan-id 23

    set vlans VLAN23 l3-interface irb.23

    set vlans VLAN25 vlan-id 25

    set vlans VLAN25 l3-interface irb.25

    set vlans VLAN27 vlan-id 27

    set vlans VLAN27 l3-interface irb.27

    set vlans VLAN26 vlan-id 26

    set vlans VLAN26 l3-interface irb.26

    Below you set IRB interfaces for above VLANs 

    set interfaces irb unit 20 description VLAN20

    set interfaces irb unit 20 family inet address 192.168.20.2/24

    set interfaces irb unit 23 description Office_VLAN23

    set interfaces irb unit 23 family inet address 192.168.23.2/24

    set interfaces irb unit 25 description VLAN25

    set interfaces irb unit 25 family inet address 192.168.25.2/24

    set interfaces irb unit 26 description VLAN26

    set interfaces irb unit 26 family inet address 192.168.26.2/24

    set interfaces irb unit 27 description VLAN27

    set interfaces irb unit 27 family inet address 192.168.27.2/24

    set interfaces irb unit 28 description VLAN28

    set interfaces irb unit 28 family inet address 192.168.28.2/24




  • 5.  RE: Juniper EX4300-48P - can I use normal ethernet port (1-48) as uplink port?

    Posted 6 days ago

    @Rene11 Thanks!

    So just to be sure I set everything correctly when EX4300 arrive.

    First we set port 24 as a "trunk", so we add proper description and set it to trunk:

    set interfaces ge-0/0/24 description "UPLINK port to modem_router_switch"

    set interfaces ge-0/0/24 unit 0 family ethernet-switching interface-mode trunk

    Then our specific access ports would need mode "access", so it's something like:

    set interfaces ge-0/0/24 unit 0 family ethernet-switching mode access

    or something, right? Now we set names (members) of 7 VLANS (ports from 20 to 23 and from 25 to 28) to be "connect" (recognize) with our new UPLINK port number 24.

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN20

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN21

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN22

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN23

    --- (port 24 is UPLINK port)

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN25

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN26

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN27

    set interfaces ge-0/0/24 unit 0 family ethernet-switching vlan members VLAN28

    Now we setup those VLANS (give them proper ID's, and set interface as IRB - a virtual Layer 3 interface):

    set vlans VLAN20 vlan-id 20

    set vlans VLAN20 l3-interface irb.20

    set vlans VLAN21 vlan-id 21

    set vlans VLAN20 l3-interface irb.21

    set vlans VLAN22 vlan-id 22

    set vlans VLAN20 l3-interface irb.22

    set vlans VLAN23 vlan-id 23

    set vlans VLAN23 l3-interface irb.23

    set vlans VLAN25 vlan-id 25

    set vlans VLAN25 l3-interface irb.25

    set vlans VLAN26 vlan-id 26

    set vlans VLAN26 l3-interface irb.26

    set vlans VLAN27 vlan-id 27

    set vlans VLAN27 l3-interface irb.27

    set vlans VLAN28 vlan-id 28

    set vlans VLAN28 l3-interface irb.28

    Now we set IRB interfaces (logical units - proper IP addresses) for above VLANs :

    set interfaces irb unit 20 description VLAN20

    set interfaces irb unit 20 family inet address 192.168.20.2/24

    set interfaces irb unit 21 description VLAN21

    set interfaces irb unit 21 family inet address 192.168.21.2/24

    set interfaces irb unit 22 description VLAN22

    set interfaces irb unit 22 family inet address 192.168.22.2/24

    set interfaces irb unit 23 description Office_VLAN23

    set interfaces irb unit 23 family inet address 192.168.23.2/24

    set interfaces irb unit 25 description VLAN25

    set interfaces irb unit 25 family inet address 192.168.25.2/24

    set interfaces irb unit 26 description VLAN26

    set interfaces irb unit 26 family inet address 192.168.26.2/24

    set interfaces irb unit 27 description VLAN27

    set interfaces irb unit 27 family inet address 192.168.27.2/24

    set interfaces irb unit 28 description VLAN28

    set interfaces irb unit 28 family inet address 192.168.28.2/24

    So when we plug RJ45 (P8C8) to port 22 for example and we have setup IP of the plugged device as 192.168.22.X - it will be detected and work without a problem with our switch? Right?

    It is not tied to a specific port and we can use our UPLINK 24 port to connect different switch for example to access every VLAN we set up 192.168.20-28.X ?

    Thank you for clarify things I mess up here. Really appreciate your help.



    ------------------------------
    bart bati
    ------------------------------



  • 6.  RE: Juniper EX4300-48P - can I use normal ethernet port (1-48) as uplink port?

    Posted 6 days ago

    That is right, on access ports you can set one VLAN as member, try one with IRB so you can ping EX4300 from laptop on IP .3 for example.

    i.e port 22 vlan 20,  port 23 vlan 24 etc

    then your trunk port 24 device , i.e router would have .1/24 IP you can then ping between that device and the ex4300 on IP .2

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