map vni auto (VXLAN gateway)

Configures an automatic mapping of VLANs/bridge domains (BDs) to Virtual Network Identifiers (VNIs).

Syntax

map vni auto
no map vni auto

Command Default

This feature is not enabled.

Modes

VXLAN overlay gateway configuration mode

Usage Guidelines

Use the no form of this command to undo the automatic mapping.

Examples

The following example configures the automatic mapping of VLANs/BDs) to VNIs.

device# configure terminal
device(config)# overlay-gateway mygateway
device(config-overlay-gateway-mygateway)# map vni auto

The following example undoes the mapping.

device# configure terminal
device(config)# overlay-gateway mygateway
device(config-overlay-gateway-mygateway)# no map vni auto