Ethernet Switching
Highlighted
Ethernet Switching

push tag with l3 interface on client's QnQ

‎10-24-2019 10:30 AM
---------------             ---------------	    ---------	
+             +   xe-0/0/41 +             +   100G  +       +
+   3750x-48  +-------------+ qfx5110-48s +---------+ mx204 +
+             +             +             +         +       +
---------------             ---------------         ---------
      |                           |xe-0/0/1
      |                           | 
      |                           |
client qnq		    client qnq

Can QFX or MX push tag with l3 interface (for BGP) into client's QnQ? Now we could configured BGP on mx204 in native vlan only.
Client have QnQ between 10G ports on 3750x and qfx5110.

 

QFX:

### client port ###

interfaces {
xe-0/0/1 {

flexible-vlan-tagging;
mtu 9216;
encapsulation extended-vlan-bridge;
unit 0 {
vlan-id-list 1-4094;
input-vlan-map push;
output-vlan-map pop;
}

### vlans conf ###
vlans {
vl311 {
interface xe-0/0/41.311;
interface xe-0/0/1.0;

interface et-0/0/48.311;

### port to mx204 ###

interfaces {
et-0/0/48 {

flexible-vlan-tagging;
mtu 9216;
encapsulation flexible-ethernet-services;
unit 311 {
encapsulation vlan-bridge;
vlan-id 311;
}

MX204:

interfaces {
et-0/0/0 {
flexible-vlan-tagging;
mtu 9216;
encapsulation flexible-ethernet-services;
gigether-options {
no-flow-control;
}
unit 311 {
vlan-id 311;
family inet {
address 10.10.10.1/31;
}

 

1 REPLY 1
Highlighted
Ethernet Switching

Re: push tag with l3 interface on client's QnQ

[ Edited ]
‎10-24-2019 10:33 PM

Hello,

 


@Mike Aksel wrote:
Can QFX or MX push tag with l3 interface (for BGP) into client's QnQ? Now we could configured BGP on mx204 in native vlan only.

 

It can but You have to know the customer C-VLAN tag value - MX or QFX cannot "hunt" for a C-VLAN to figure out which exact C-VLAN carries BGP traffic.

Assuming C-VLAN tag for BGP is 411, please see below example MX204 config:

 

set interfaces et-0/0/0 unit 411 vlan-tags outer 311 inner 411
set interfaces et-0/0/0 unit 411 family inet address 203.0.113.1/24

 

 

What will happen on et-0/0/0.411 subinterface is:

- when a dual-tagged Ethernet frame with innner VLAN tag 411 and outer VLAN tag 311 enters et-0/0/0, both tags will be popped and underlying IP or ARP packet examined

- when there is an IP or ARP packet that needs to go out of et-0/0/0.411, two VLAN tags will be pushed (inner 411 outer 311), and resulting dual-tagged Ethernet frame forwarded out of et-0/0/0.

 

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 !
Feedback