interface vxlan

Syntax

interface vxlan 1

no interface vxlan 1

Description

Creates VXLAN interface 1 and changes to the config-vxlan-if context. A maximum of one VXLAN interface is supported. By default, the VXLAN is disabled. To enable the VXLAN, use the command no shutdown.

The no form of this command removes VXLAN interface 1. This deletes the VXLAN tunnel, and all VNIs and VLAN-to-VNI mappings associated with it.

Command context

config

Parameters

1

Only one VXLAN interface is supported.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Creating VXLAN interface 1:

switch(config)# interface vxlan 1
switch(config-vxlan-if)#

Deleting VXLAN interface 1:

switch(config)# no interface vxlan 1