Ethernet Switching
Highlighted
Ethernet Switching

Selective Q-In-Q on QFX5100

‎03-27-2018 12:37 AM

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...

3 REPLIES 3
Highlighted
Ethernet Switching

Re: Selective Q-In-Q on QFX5100

‎03-28-2018 06:46 AM

Up. Really nobody uses?

Highlighted
Ethernet Switching
Solution
Accepted by topic author am@itboz.com.ua
‎03-29-2018 02:57 AM

Re: Selective Q-In-Q on QFX5100

‎03-28-2018 02:12 PM

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

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Highlighted
Ethernet Switching

Re: Selective Q-In-Q on QFX5100

‎03-29-2018 03:15 AM

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
Feedback