interface vxlan

Syntax

interface vxlan 1 no interface vxlan 1

描述

Creates VXLAN interface 1 and changes to theconfig-vxlan-ifcontext. A maximum of one VXLAN interface is supported. By default, the VXLAN is disabled. To enable the VXLAN, use the command没有关闭.

The没有这种形式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.

权威

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

Examples

Creating VXLAN interface 1:

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

Deleting VXLAN interface 1:

switch(config)#没有interface vxlan 1