Creates a VXLAN overlay gateway instance and enables VXLAN overlay gateway configuration mode.
Global configuration mode
Use this command to create a VXLAN overlay gateway instance with the given name. An overlay network is a virtual network that is built on top of existing network Layer 2 and Layer 3 technologies. Setting up a gateway consists of the following:
One you create the gateway instance, you enter VXLAN overlay gateway configuration mode, where you can configure other properties for this gateway. The key commands available in this mode are summarized below:
Command |
Description |
---|---|
activate |
Activates a VXLAN overlay gateway instance. |
ip interface loopback |
Sets the loopback port number for the overlay gateway instance. |
map bridge-domain |
In a VXLAN overlay gateway configuration that uses the Layer 2 extension, maps a bridge domain with VXLAN Network Identifiers (VNIs). |
map vlan |
In a VXLAN overlay gateway configuration that uses Layer 2 extension, associates VLANs with VXLAN Network Identifiers (VNIs). |
sflow |
Enables sFlow monitoring of the tunnel endpoints for a VXLAN overlay gateway. |
site |
Configures a remote Layer 2 extension site in a VXLAN overlay gateway context. |
type layer2-extension |
Specifies that a VXLAN overlay gateway uses Layer 2 extension. |
Only one VXLAN overlay gateway instance can be configured.
Use the no overlay-gateway command to delete the VXLAN overlay gateway instance from the cluster. All tunnels for the gateway are also deleted. There are no other no forms of this command.
By default, a VXLAN overlay gateway instance is inactive. To activate an instance, first configure its other properties (such as which devices it attaches to), and then enter the activate command.
The following example creates a VXLAN overlay gateway instance named gateway1 and accesses VXLAN overlay gateway configuration mode.
device# configure terminal device(config)# overlay-gateway gateway1 device(config-overlay-gw-gateway1)#