To delete a VXLAN link, use the dladm delete-vxlan command. Before deleting a VXLAN link, you must ensure that there are no VNICs configured on that VXLAN link by using the dladm show-link command.
Become an administrator and issue the following command:
$ dladm delete-vxlan vxlan
For example, if you want to delete vxlan1, type the following command:
$ dladm delete-vxlan vxlan1