Junos OS

 View Only
last person joined: 16 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  VLANS on MX480

    Posted 10-18-2024 08:36
    Edited by BEN FELDMAN 10-18-2024 08:52

    I am working with 4 MX-480 Routers on in JLabs, sandbox. I am trying to do a very simple. I want to put a bridge-domains on R1 and R2 that has  vlan-id 10.  I want to make Ge-0/0/0 a trunk. I am trying to put an ip on R3 (10.10.34.3/24) and on R4 (10.10.34.4/24). 

    I can ping across if I set ge-0/0/0 to an access port, but once I set it to a trunk port it doesn't work.

     

    Below is the config I put on R3 and R1 that is the same as R2 and R4.

     

    For R3 

    Set interface ge-0/0/2.0 family inet address 10.10.34.3/24

     

    For R1 

    Set bridge-domain cust1 vlan-id 10

    Set interface ge-0/0/2.0 family bridge interface-mode access vlan-id 10

    Set interface ge-0/0/0.0 family bridge interface-mode trunk vlan-id 10



    Thanks in advance,

     

    Ben

    Here is the topology:



    ------------------------------
    BEN FELDMAN
    ------------------------------



  • 2.  RE: VLANS on MX480

    Posted 10-21-2024 04:44

    Hi,

    One way to do it.

    ge-0/0/0 {
        description " Intra R1-R2";
        flexible-vlan-tagging;
        mtu 9000;
        encapsulation flexible-ethernet-services;
        unit 10 {
            description test;
            encapsulation vlan-bridge;
            vlan-id 10;
        }
    }
    ge-0/0/2 {
        unit 0 {
            family bridge {
                interface-mode access;
                vlan-id 10;
            }
        }
    }
    root@R1# show bridge-domains 
    10-bd {
        domain-type bridge;
        vlan-id 10;
        interface ge-0/0/0.10;
    }


    ------------------------------
    Kalle Andersson
    ------------------------------