Junos OS

 View Only
last person joined: 4 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  EX4200-24/48px and ex2200-24/48-4g

    Posted 05-13-2024 12:40

    hello, I am new to the community and to Junos family,

    I need help with (ex4200-24/48) & (ex2200-24-4g). I am trying to set IP address to multiple Junos switches without losing any current configuration. right now, the switches are set to the correct Vlan but the IP's need to be in range. any help with commands will be gladly appreciated. 



    ------------------------------
    Fernando Romo
    ------------------------------


  • 2.  RE: EX4200-24/48px and ex2200-24/48-4g

    Posted 05-14-2024 05:21
    Hello!
    There are multiple ways to achieve this depending on the age of your code and how you're treating the layer 3 interface.
    Here is one such example.
    #Create the virtual L3 routing interface.
    set interfaces irb unit 3000 description VLAN_3000_Management
    set interfaces irb unit 3000 family inet address 192.168.44.254/24
     
    #Create the VLAN and bind the virtual l3 interface to it.
    set vlans vlan3000 vlan-id 3000
    set vlans vlan3000 l3-interface irb.3000
     
     
    #Create the l2 switching interface.
    set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode access
    set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members 3000

    The ex4200 may require you to use "vlan.3000" as the layer 3 interface, vs "irb.3000", but try IRB first.



    ------------------------------
    ANDREY LEO
    ------------------------------