vLan Translation

Trying to get vLan translation working where a customer is on ether1 with vLan10 tagged traffic and then wanting to translate this to a SVID/CVID so it would be translated to SVID=100 and CVID=2. This is send down a tunk port (master port) the the next device which then splits it up.

Example:
Customer 1 connected to ether1 (vLan=10) CVID → Translated to SVID 100 CVID 2
Customer 2 connected to ether2 (vLan=10) CVID → Translated to SVID 100 CVID 3

Trunk Port would output
SVID 100
CVID 2 - Customer 1
CVID 3 - Customer 2

Thanks

interface ethernet switch ingress-vlan-translation add customer-vid=10 new-customer-vid=2 service-vid=0 new-service-vid=100 ports=ether1,ether2 sa-learning=yes

Never used service vid’s. But I have a working config translating e.g a customer vid of 0 to any vlan. Just remember the ports must not include the master port.

Then..

interface ethernet switch egress-vlan-tag add vlan-id=2 tagged-ports=“Master port”

Wow didn’t realise the reply would have been that quick :slight_smile:

Just a question …with the first line I would need to setup a rule on each port as the CVID would be different…ie

Customer 1: interface ethernet switch ingress-vlan-translation add customer-vid=10 new-customer-vid=2 service-vid=0 new-service-vid=100 ports=ether1 sa-learning=yes
Customer 2: interface ethernet switch ingress-vlan-translation add customer-vid=10 new-customer-vid=3 service-vid=0 new-service-vid=100 ports=ether2 sa-learning=yes

And then the “master port” would need to be the svid (i.e vLan 100 in this case) ?

interface ethernet switch egress-vlan-tag add vlan-id=100 tagged-ports=“Master port”

Thanks for the reply :slight_smile: