site

Creates a remote Layer 2 extension site in a VXLAN overlay gateway context and accesses site configuration mode.

Syntax

site name
no site name

Parameters

name
Site identifier. An ASCII character string up to 63 characters long, including the alphabet, numbers 0 through 9, hyphens (-), and underscores (_).

Modes

Overlay gateway configuration mode

Usage Guidelines

The VXLAN overlay gateway type must first be configured for Layer 2 extension, by means of the type layer2-extension command.

A site represents a remote fabric or the other end of the VXLAN tunnel. A site is associated with a "container," as data structure that includes the destination IPv4 address of the tunnel, the switchport VLANs, bridge domain, and the administrative state.

Use the no site command with a specified name to remove the tunnel that corresponds to the site.One you create the site instance, you enter VXLAN overlay gateway site configuration mode, where you can configure other properties for the site. The key commands available in this mode are summarized below:

Table 1. Key commands available in VXLAN overlay gateway site configuration mode

Command

Description

bfd

Configures Bidirectional Forwarding Detection (BFD) on a tunnel in VXLAN overlay gateway configurations.

bfd interval

Configures BFD session parameters on a tunnel in VXLAN overlay gateway configurations.

extend bridge-domain

Configures a bridge domain for the tunnels to the containing site in a VXLAN overlay gateway configurations.

extend vlan

Configures switchport VLANs for the tunnels to the containing site in a VXLAN overlay gateway configurations.

ip address

Specifies the IPv4 address of a destination tunnel in VXLAN overlay gateway configurations.

shutdown

Administratively shuts down tunnels to a VXLAN overlay gateway site.

Examples

The following example creates a VXLAN overlay gateway site and enters site configuration mode.

switch(config)# overlay-gateway gateway1
switch(config-overlay-gw-gateway1)# site mysite
switch(config-site-mysite)#