[j-nsp] (no subject)
Chen Jiang
ilovebgp4 at gmail.com
Mon Nov 15 00:14:17 EST 2021
HI! Mark
Thanks for your help. Attached is my configuration file. FYI.
BR!
Chen Jiang
On Mon, Nov 15, 2021 at 7:44 AM Mark Tees <marktees at gmail.com> wrote:
> Hey,
>
> I have done some similar testing for L2.
>
> Are you able to send your example/test config in a text file or
> something allowing for easy reading and I can test it in the lab for
> you also?
>
> Your message came through in a hard to read format/possibly your mail
> client remove the spaces and newlines from the Junos config.
>
> On Sun, 14 Nov 2021 at 16:52, Chen Jiang via juniper-nsp
> <juniper-nsp at puck.nether.net> wrote:
> >
> > Hi! Experts
> >
> > End user asked us to implement QinQ (translate inner tag and push outer
> > tag) in QFX5100, but from POC it did not work as expected, Could QFX
> work
> > as in the configuration below? Someone said QFX could only handle outer
> > tag. Thanks for your advice. *Requirement:*
> > QFX et-0/0/0/48 receive customer traffic with vlan 96, QFX5100 need push
> > SVLAN tag 10 when sending out from interface et-0/0/49;
> > QFX et-0/0/0/48 receive customer traffic with vlan 914, QFX5100 need
> > translate CVLAN from 914 to 200 and push SVLAN tag 10 when sending out
> from
> > interface et-0/0/49; *POC configuration:* lab at GM2# show interfaces
> > et-0/0/48 flexible-vlan-tagging; mtu 9000; encapsulation
> > flexible-ethernet-services; unit 10 { encapsulation vlan-bridge; vlan-id
> > 96; input-vlan-map { swap-push; vlan-id 10; inner-vlan-id 96; }
> > output-vlan-map pop-swap; } unit 20 { encapsulation vlan-bridge; vlan-id
> > 914; input-vlan-map { swap-push; vlan-id 10; inner-vlan-id 200; }
> > output-vlan-map pop-swap; } lab at GM2# show interfaces et-0/0/49
> > flexible-vlan-tagging; encapsulation flexible-ethernet-services; unit 10
> {
> > encapsulation vlan-bridge; vlan-tags outer 10 inner 96; } unit 20 {
> > encapsulation vlan-bridge; vlan-tags outer 10 inner 200; } lab at GM2# show
> > vlans qinq10-200 { interface et-0/0/48.20; interface et-0/0/49.20; }
> > qinq10-96 { interface et-0/0/48.10; interface et-0/0/49.10; }
> > _______________________________________________
> > juniper-nsp mailing list juniper-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/juniper-nsp
>
>
>
> --
>
> M Tees
>
--
BR!
James Chen
-------------- next part --------------
## Last changed: 2021-07-23 15:57:11 UTC
version 19.4R3-S6.1;
system {
host-name qfx5k;
root-authentication {
encrypted-password "$6$8Tu5QjfN$VOI8QDv6LU6HplSNIAKSl2wavlleak0TGqbronfXg2lgj3w.7f11D801FKv6kmoTeAvJ/fuNpNvRBNlSqz7Yz0"; ## SECRET-DATA
}
login {
user lab {
uid 2001;
class super-user;
authentication {
encrypted-password "$6$gfaTZcdb$RB2ZbsAejhJiK0NxC.NjuP0UkQ7eanjS3ZMm0MKmH4CwES51wZBwCI8MELTMo67.jWF9WBaD6g5BNZaSGncd20"; ## SECRET-DATA
}
}
}
services {
ssh {
sftp-server;
}
netconf {
ssh;
}
}
}
chassis {
fpc 0 {
pic 0 {
port 52 {
channel-speed 10g;
}
port 53 {
channel-speed 10g;
}
}
}
}
interfaces {
et-0/0/48 {
flexible-vlan-tagging;
mtu 9000;
encapsulation flexible-ethernet-services;
unit 10 {
encapsulation vlan-bridge;
vlan-id 96;
input-vlan-map {
swap-push;
vlan-id 10;
inner-vlan-id 96;
}
output-vlan-map pop-swap;
}
unit 20 {
encapsulation vlan-bridge;
vlan-id 914;
input-vlan-map {
swap-push;
vlan-id 10;
inner-vlan-id 200;
}
output-vlan-map pop-swap;
}
}
et-0/0/49 {
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 10 {
encapsulation vlan-bridge;
vlan-tags outer 10 inner 96;
}
unit 20 {
encapsulation vlan-bridge;
vlan-tags outer 10 inner 200;
}
}
vme {
unit 0 {
family inet {
address 192.168.5.202/24;
}
}
}
}
routing-instances {
mgmt_junos {
routing-options {
static {
route 0.0.0.0/0 next-hop 192.168.5.1;
}
}
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop 192.168.5.1;
}
}
protocols {
lldp {
port-id-subtype interface-name;
interface all;
}
}
vlans {
qinq10-200 {
interface et-0/0/48.20;
interface et-0/0/49.20;
}
qinq10-96 {
interface et-0/0/48.10;
interface et-0/0/49.10;
}
}
More information about the juniper-nsp
mailing list