03-24-2022 10:16 AM
Hi,
is it possible to do a one to one vlan translation on a Nexus 9300? The Nexus is running in NX-OS mode and VXLAN is not enabled.
With the switch port vlan mapping command i get a warning message:
hostname(config-if)# switchport vlan mapping 10 20
Warning: Eth1/37 : VLAN translation is only supported on vxlan enabled vlans
Is it possible to use the command below or is there another way to do the vlan mapping?
interface Ethernet1/37
switchport vlan mapping 10 dot1q-tunnel 10
kind regards,
Pascal
Solved! Go to Solution.
03-29-2022 11:29 PM
the solution for this is to enable VXLAN on the vlan that needs to be translated. I have tested this with the config below and that works:
feature nv overlay
feature vn-segment-vlan-based
vlan 750
vn-segment 750
interface Ethernet1/1
switchport
switchport mode trunk
switchport vlan mapping enable
switchport vlan mapping 700 750
switchport trunk allowed vlan 750
03-24-2022 11:14 AM - edited 03-24-2022 11:14 AM
not sure what nexus code you are using, look at the document
03-24-2022 11:34 AM
NX-OS version is 9.3(6)
03-29-2022 11:29 PM
the solution for this is to enable VXLAN on the vlan that needs to be translated. I have tested this with the config below and that works:
feature nv overlay
feature vn-segment-vlan-based
vlan 750
vn-segment 750
interface Ethernet1/1
switchport
switchport mode trunk
switchport vlan mapping enable
switchport vlan mapping 700 750
switchport trunk allowed vlan 750
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide