map vlan (VXLAN)

Maps VLAN to a VNI for a VXLAN overlay-gateway.
Syntax
map vlan vlan-id to VNI vni-id
no map vlan vlan-id to VNI vni-id
Command Default

VLAN to VNI is not mapped.

Parameters
vlan-id
Identifies the VLAN to map to the VNI.
vni-id
Identifies the VXLAN Network Identifier (or VXLAN segment ID).
Modes

Overlay-gateway configuration mode

Usage Guidelines

The command is supported only on ICX 7750 devices.

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.

The no form of the command removes the VLAN to VNI mapping.

Examples

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
History
Release version Command history
08.0.70 This command was introduced.