Wouldn't that take VLAN 1000, swap it to VLAN 42 and push VLAN 1234 on to it ? so SVLAN 1234 and CVLAN 42 ?
That's not the goal.
Original Message:
Sent: 05-13-2025 04:17
From: Dmitriy
Subject: Push a SVLAN onto ingress CVLANs for a CCC l2circuit... whilst picking off a mgmt VLAN to go to another CCC l2circuit
Hi Steven,
Try to check with this config:
QFX
ge-0/0/6 {
flexible-vlan-tagging;
native-vlan-id 1234; # S-VLAN added at the top
input-native-vlan-push enable; # (Optional) try without this statement at first
mtu 1800;
encapsulation flexible-ethernet-services;
unit 2 {
description "Test NNI - CCC for customer VLANs";
encapsulation vlan-ccc;
vlan-id-list 2-513; # C-VLANS numbers
input-vlan-map push;
output-vlan-map pop;
unit 1000 {
description "Test NNI - CCC for management";
encapsulation vlan-ccc;
vlan-id 1000;
input-vlan-map {
swap;
vlan-id 42;
}
output-vlan-map swap;
Afaik that config doesn't add vlan 1234 as a S-Tag at the top:
input-vlan-map {
push;
vlan-id 1234;
}
# set unit 2 input-vlan-map push ?
Possible completions:
<[Enter]> Execute this command
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
inner-vlan-id VLAN ID to rewrite for inner tag (0..4094)
vlan-id VLAN ID to rewrite (0..4094)
| Pipe through a command
------------------------------
WBW,
Dmitriy
Original Message:
Sent: 05-12-2025 08:28
From: STEVEN MADDOX
Subject: Push a SVLAN onto ingress CVLANs for a CCC l2circuit... whilst picking off a mgmt VLAN to go to another CCC l2circuit
@MFB I think I'm having trouble understanding what exactly your question is, if there is one? All the information needed about the scenario should be above already.
In the end, the only way we could make this work... was to use 'encapsulation vlan-bridge' on BOTH the units along with using another two physical ports and a DAC that connected them together.
When we tried only doing 'encapsulation vlan-bridge' on unit 2 alone... then we'd find management wouldn't pass data on unit 1000. So we had to do it to both!
We'd still like to know of a better way than this! If anyone reads this,... even years from now!
**REVISED** QFX side... (using vlan-bridge)
[...]
interfaces {
[...]
ge-0/0/6 {
flexible-vlan-tagging;
mtu 1800;
encapsulation flexible-ethernet-services;
unit 2 {
description "Test NNI - CCC for customer VLANs";
encapsulation vlan-bridge;
vlan-id-list 2-513;
input-vlan-map {
push;
vlan-id 1234;
}
output-vlan-map pop;
}
unit 1000 {
description "Test NNI - CCC for management";
encapsulation vlan-bridge;
vlan-id 1000;
input-vlan-map {
swap;
vlan-id 42;
}
output-vlan-map swap;
}
}
[...]
et-0/0/48 {
flexible-vlan-tagging;
mtu 1800;
encapsulation flexible-ethernet-services;
unit 42 {
encapsulation vlan-bridge;
vlan-id 42;
}
unit 2 {
encapsulation vlan-bridge;
vlan-id 1234;
}
}
[...]
et-0/0/49 {
flexible-vlan-tagging;
mtu 1800;
encapsulation flexible-ethernet-services;
unit 42 {
encapsulation vlan-ccc;
vlan-id 42;
}
unit 2 {
encapsulation vlan-ccc;
vlan-id 1234;
}
}
[...]
}
[...]
protocols {
l2circuit {
neighbor 192.168.0.1 {
[...]
interface et-0/0/48.2 {
virtual-circuit-id 5;
description "Test NNI - CCC for customer VLANs";
mtu 1800;
}
interface et-0/0/48.42 {
virtual-circuit-id 9;
description "Test NNI - CCC for management";
mtu 1800;
}
[...]
}
[...]
}
[...]
}
vlans {
mgmt42 {
interface ge-0/0/6.1000;
interface et-0/0/48.42;
}
qinq2 {
interface ge-0/0/6.2;
interface et-0/0/48.2;
}
[...]