Configuring VXLAN Layer 2 Gateway support for bridge domains

Before you begin

Before performing this configuration, configure a point-to-multipoint bridge domain.

About this task

Follow these steps configure a VXLAN Layer 2 gateway to support bridge domains.

Procedure

  1. Enter global configuration mode.
    device# configure terminal
  2. Create a VXLAN overlay gateway and access the overlay gateway configuration mode.
    device(config)# overlay-gateway gateway1
    device(config-overlay-gw-gateway1)#
  3. Specify a loopback interface.
    device(config-overlay-gw-gateway1)# ip interface loopback 1
  4. Enable the mapping of a bridge domain to a VNI.
    device(config-overlay-gw-gateway1)# map bridge-domain 1 vni 999
  5. Activate the gateway.
    device(config-overlay-gateway-gateway1)# activate

Example

The following summarizes the configuration example.
device# configure terminal 
device(config)# overlay-gateway gateway1
device(config-overlay-gw-gateway1)# ip interface loopback 1 
device(config-overlay-gw-gateway1)# map bridge-domain 1 vni 999 
device(config-overlay-gw-gateway1)# site bd1 
device(config-overlay-gateway-gateway1)# activate