extend vlan

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

Syntax

extend vlan { add | remove } vlan_id
no extend vlan

Parameters

add
Specifies a VLAN ID or range of VLAN IDs to be added to a tunnel.
remove
Specifies a VLAN ID or range of VLAN IDs to be removed from a tunnel.
vlan_id
A VLAN ID or range of VLAN IDs. See the Usage Guidelines.

Modes

VXLAN overlay gateway site configuration mode

Usage Guidelines

The VXLAN Network Identifier (VNI) classification is derived from the "map vlan" configuration of the parent overlay gateway. This command results in the provisioning or unprovisioning of the VLANs. Use the no extend vlan vlan_id command to unprovision a VLAN.

All of the VLAN IDs that are specified must be VLANs that have been mapped by means of the map vlan vlan_id vni vni command on the parent overlay gateway, unless automatic VNI mapping has been enabled by means of the map vlan vni auto command.

Use the no attach vlan vlan_id command to remove all switchport configurations from the tunnels to the containing site.

Examples

To configure a switchport VLAN and range of VLANs:

device# configure terminal
device(config)# overlay-gateway gateway1
device(config-overlay-gw-gateway1)# site mysite
device(config-overlay-gw-gateway1-site-mysite)# extend vlan add 10,20-30