Enterprise style translation isn't supported with VXLAN. You can use service provider style as per the below example:
set interfaces ae0 flexible-vlan-tagging
set interfaces ae0 encapsulation extended-vlan-bridge
set interfaces ae0 esi 00:11:11:11:11:11:11:11:11:22
set interfaces ae0 esi all-active
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 aggregated-ether-options lacp periodic fast
set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:11
set interfaces ae0 unit 101 vlan-id 101
set interfaces ae0 unit 102 vlan-id 102
set vlans VLAN1001 vlan-id 1001
set vlans VLAN1001 interface ae0.101
set vlans VLAN1001 vxlan vni 1001
set vlans VLAN1002 vlan-id 1002
set vlans VLAN1002 interface ae0.102
set vlans VLAN1002 vxlan vni 1002
Here we take any VLANs tagged with VLAN 101 or 102 and translate them to VNI 1001 and 1002 respectively. VLANs are only locally significant so you can map the VNI to any VLAN on remote VTEPs.
------------------------------
DANIEL HEARTY
Principal Engineer
------------------------------
Original Message:
Sent: 06-22-2021 06:17
From: Unknown User
Subject: Vlan-Translate on QFX5120
Hello,
i try to translate vlan 800 to 18 with this configuration:
root@sx04a# show
flexible-vlan-tagging;
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members 18;
}
vlan-rewrite {
translate 800 18;
}
}
}
{master:0}[edit interfaces ge-0/0/1]
At this Port, there is a Test Device with an vlan-interface on vlan18 and i can not reach it with this configuration. is there any step i forgett ?
We use vxlan / evpn on all switches, maybe vlan-translate not work with it.