map vlan (VXLAN)
map
vlan
vlan-id
to
VNI
vni-id
[
cross-connect
]no map
vlan
vlan-id
to
VNI
vni-id
[
cross-connect
]A VLAN is not mapped to a VNI.
Overlay-gateway configuration mode
The command is not supported for ICX 8200devices.
A maximum of 256 VLAN-to-VNI mappings can be configured.
The designated VLAN must already have been configured.
The default VLAN, VLAN 1, unless the default is reconfigured, cannot be mapped to a VNI.
A VLAN with multicast snooping enabled cannot be mapped to a VNI.
A VLAN with a router interface cannot be mapped to a VNI.
A VLAN cannot be mapped to more than one VNI.
Multiple VLANs cannot be mapped to the same VNI.
Only one-to-one mapping is allowed between the VLAN and the VNI.
You cannot change non-cross-connect VNIs to cross-connect VNIs and vice versa.
None of the ports on the VLAN mapped to the VNI can have a configured IP address.
Deleting VLAN-to-VNI mapping does not mandate the cross-connect option for cross-connect VNIs.
The following example maps VLAN 2 to VNI 3.
device# configure terminal device(config)# overlay-gateway gate1 device(config-overlay-gate1)# type layer2-extension device(config-overlay-gw-gate1)# map vlan 2 to vni 3
| Release version | Command history |
|---|---|
| 08.0.70 | This command was introduced. |
| 09.0.10 | This command was modified to add the cross-connect option. |