Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  Selective Q-In-Q on QFX5100

    Posted 03-27-2018 00:37

    Hi,

     

    I have QFX5100 and need selective Q-In-Q.

    For example, on port xe-0/0/0 and need map:

    - CVLAN-s 100-200 = SVLAN 25

    - CVLAN-s 302, 303, etc. = SVLAN 45

    - etc...



  • 2.  RE: Selective Q-In-Q on QFX5100

    Posted 03-28-2018 06:47

    Up. Really nobody uses?



  • 3.  RE: Selective Q-In-Q on QFX5100
    Best Answer

    Posted 03-28-2018 14:12

    Hello,

    Try this one

    interfaces {
        xe-0/0/0 {
            flexible-vlan-tagging;
            encapsulation extended-vlan-bridge;
            unit 25 {
                vlan-id-list 100-200;
                input-vlan-map {
                    push;
                    vlan-id 25;
                }
                output-vlan-map pop;
            }
            unit 45 {
                vlan-id-list 302-303;
                input-vlan-map {
                    push;
                    vlan-id 45;
                }
                output-vlan-map pop;
            }
        }
    }
    vlans {
        twentyfive {
            interface xe-0/0/0.25;
    		<skip>
        }
        Fourtyfive {
            interface xe-0/0/0.45;
    		<skip>
        }
    }

    HTH

    Thx
    Alex



  • 4.  RE: Selective Q-In-Q on QFX5100

    Posted 03-29-2018 03:15

    Hi,

    Thank for you answer.

    I tested in demo lab on QFX3500, all work.

    Example:

    root@QFX3500> show configuration interfaces ge-0/0/38 | display set 
    set interfaces ge-0/0/38 description -=EX3200=-
    set interfaces ge-0/0/38 flexible-vlan-tagging
    set interfaces ge-0/0/38 encapsulation extended-vlan-bridge
    set interfaces ge-0/0/38 unit 3205 vlan-id-list 3205
    set interfaces ge-0/0/38 unit 3205 input-vlan-map push
    set interfaces ge-0/0/38 unit 3205 input-vlan-map vlan-id 5
    set interfaces ge-0/0/38 unit 3205 output-vlan-map pop
    set interfaces ge-0/0/38 unit 3210 vlan-id-list 3210
    set interfaces ge-0/0/38 unit 3210 input-vlan-map push
    set interfaces ge-0/0/38 unit 3210 input-vlan-map vlan-id 10
    set interfaces ge-0/0/38 unit 3210 output-vlan-map pop
    
    root@QFX3500> show configuration interfaces ge-0/0/40 | display set        
    set interfaces ge-0/0/40 description -=MX=-
    set interfaces ge-0/0/40 flexible-vlan-tagging
    set interfaces ge-0/0/40 encapsulation extended-vlan-bridge
    set interfaces ge-0/0/40 unit 3205 vlan-id 5
    set interfaces ge-0/0/40 unit 3210 vlan-id 10
    
    root@QFX3500> show configuration vlans | display set 
    set vlans Customer_L2VPN interface ge-0/0/38.3210
    set vlans Customer_L2VPN interface ge-0/0/40.3210
    set vlans DHCP_Subscribers_1 interface ge-0/0/38.3205
    set vlans DHCP_Subscribers_1 interface ge-0/0/40.3205