Switching

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.  Q-in-Q on configuration on EX4300 (13.2X50-D17) fails

    Posted 01-29-2014 18:36

    Hi ,

    I am trying to setup Q-In-Q on a EX4300 with software 13.2X50-D17 and Enhanced Layer 2 Software license based on the following topic:

    http://www.juniper.net/techpubs/en_US/junos13.3/topics/task/configuration/qinq-tunneling-ex-series-cli-els.html

     

    but I am receiving many error messages like below:

     

    [edit vlans v22 interface]
    'ge-0/0/1.22'
    interface with vlan-id/vlan-id-list cannot be added to a vlan with a vlan-id/vlan-id-list configured
    [edit vlans v22 interface]
    'ge-0/0/1.22'
    interface with vlan-id-list/inner-list cannot be added to a vlan with a vlan-id/vlan-tags configured
    [edit vlans v22 interface]
    'ge-0/0/1.22'
    interface with input/output vlan-maps cannot be added to a routing-instance with a vlan-id/vlan-tags configured
    error: configuration check-out failed: (statements constraint check failed)

     

    I have one access port where the customer us connected (ge-0/0/1) and one uplink for the service vlan (xe-0/2/1) and the follomh configuration:

     

    Service VLAN:

    set vlans v22 vlan-id 22
    set vlans v22 interface xe-0/2/1.22
    set interfaces xe-0/2/1 flexible-vlan-tagging
    set interfaces xe-0/2/1 encapsulation extended-vlan-bridge
    set interfaces xe-0/2/1 unit 22 vlan-id 22

     

    Customer:

    set vlans v22 interface ge-0/0/1.22
    set interfaces ge-0/0/1 flexible-vlan-tagging
    set interfaces ge-0/0/1 encapsulation extended-vlan-bridge
    set interfaces ge-0/0/1 unit 22 vlan-id-list 100-500
    set interfaces ge-0/0/1 unit 22 input-vlan-map push
    set interfaces ge-0/0/1 unit 22 output-vlan-map pop

     

    Appreciate any help as I have tried different combinations and sequences to do this but no progress.

     

    Regards,

    Saeed

     



  • 2.  RE: Q-in-Q on configuration on EX4300 (13.2X50-D17) fails
    Best Answer

    Posted 02-01-2014 01:42

    according to the error you cannot have a vlan-id for the vlans. I am reading the message, the ELS is not my area of expertise.

    Try this

    delete vlans v22 vlan-id 22 

     

    http://www.juniper.net/techpubs/en_US/junos13.2/topics/task/configuration/qinq-tunneling-ex-series-cli-els.html



  • 3.  RE: Q-in-Q on configuration on EX4300 (13.2X50-D17) fails

    Posted 02-02-2014 13:53

    Thanks 🙂 this was the trick 



  • 4.  RE: Q-in-Q on configuration on EX4300 (13.2X50-D17) fails

    Posted 11-29-2016 10:19

    Hey, I'm kind of having the same issue but with 14.1 software.  EX4300 switch, ELS 14.1X53 

     

    When I'm applying the push/pop statements it gives me this...

    interface with vlan-id-list and input-vlan-map swap/pop is not supported

     

    Plus getting some of the errors you did as well.  

    If you are still on here, can I see your complete config layout on this Q-in-Q?   



  • 5.  RE: Q-in-Q on configuration on EX4300 (13.2X50-D17) fails

     
    Posted 11-29-2016 11:38

    Below is a working Q-in-Q config for an EX4600 (ELS) switch.  Config should be same for EX4300 (again ELS switch).  Hopefully this can help you.

     

    SVLAN == 4020

    CVLAN ==1-4000

    ae0.4020 == double tagged interface

    ae1.0 == single tagged interface

     

    {master:0}[edit vlans]

    mit@ServiceEdge-C2A# show LLAN

    interface ae0.4020;

    interface ae1.0;

    domain-type bridge;

     

    {master:0}[edit vlans]

    mit@ServiceEdge-C2A# top show interfaces ae0

    description Uplink-Edge;

    flexible-vlan-tagging;

    mtu 9192;

    encapsulation extended-vlan-bridge;

    aggregated-ether-options {

        lacp {

            active;

            periodic fast;

        }

    }

    unit 4020 {

        vlan-id 4020;

    }

     

    {master:0}[edit vlans]

    mit@ServiceEdge-C2A# top show interfaces ae1

    flexible-vlan-tagging;

    encapsulation extended-vlan-bridge;

    aggregated-ether-options {

        lacp {

            active;

            periodic fast;

        }

    }

    unit 0 {

        vlan-id-list 1-4000;

        input-vlan-map push;

        output-vlan-map pop;

    }

     

     



  • 6.  RE: Q-in-Q on configuration on EX4300 (13.2X50-D17) fails

    Posted 11-30-2016 21:58

    Hey!  Sorry I didnt reply sooner.  Thanks for the info!  I actually solved my issue myself.  The first issue was the same as your with the S-VLAN not need the vlan-id assigned to it.  They don't make that clear in the documents online.  Secondly, I didnt notice the slight differences in one of the commands with the push/pop.  lol  My dumb mistake.  Thanks!!!  



  • 7.  RE: Q-in-Q on configuration on EX4300 (13.2X50-D17) fails

    Posted 01-26-2017 00:59

    Understood. But: Into which Vlan the frames are mapped then, if there is no vlan-id set?