Configuring VxLAN Layer 2 Gateway support for bridge domains

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

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

  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
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