[j-nsp] Need to VLAN Translate/Swap on a Trunk Interface (EX4200)

Eugeniu Patrascu eugen at imacandi.net
Mon Dec 23 05:53:16 EST 2013

On Mon, Dec 23, 2013 at 9:49 AM, Skeeve Stevens <
skeeve+junipernsp at eintellegonetworks.com> wrote:

> Hey all,
> I need to be able to re-write/translate/swap a VLAN on one trunk port out
> another trunk port.
> This document:
> http://kb.juniper.net/InfoCenter/index?page=content&id=KB16755&cat=JUNOS_EX&actp=LIST&smlogin=true
> Gives the process, but says ""swap" configuration can only be enabled on
> dot1q-tunneling access ports"
> The scenario is that we are taking VLANs from a wholesale provider, who are
> assigning the VLANs... we are then sending them downstream to a customer,
> but need to re-number due to VLAN conflicts.
> Platform: EX4200
> Junos: 12.3 - but willing to try anything
> Thoughts anyone? Other suggestions of ways to do it welcome.


We had a similar issue a while back while moving providers.

With EX4200 we did not have any luck.
Also tried VLAN rewriting on an SRX 210: it worked, but it was painfully
slow (we got a few megabits of traffic through the box with high CPU

In the end we used two pairs of switches on each location: one switch
connected to the provider with a trunked port and for each vlan a port in
access mode, and the other switch with our vlans in a similar setup, access
on some ports and a trunk on an uplink to our core. this worked without a
hitch. What we basically did is to match access ports from one switch to
access ports on another switch and voila, vlan translation on the cheap :)


More information about the juniper-nsp mailing list