Celestica Documentation Portal

Find your product documents here

Vxlan interface create and delete

Creates a new vxlan interface (if not present), which acts as a virtual tunnel end point (VTEP). Enters into config-if-vxlan-<vtepname> mode. Only one VTEP can exist in a switch.

Syntaxinterface vxlan <vtep-name>
Command modeCONFIG
Parameters
  • vtep-name – Name of the vxlan interface/VTEP (Maximum 10 characters, prefixed by 'vtep').

Usage Use no vxlan interface <vtep-name> to remove the VTEP.
Supported Releases1.1.0 or later
Click command config vxlan add/del <vtep-name> <src-ip>
Example
sonic(config)# interface vxlan vtep1
sonic(config-if-vxlan-vtep1)#

sonic(config)# no interface vxlan vtep1