Enables automatic VXLAN tunnel endpoint (VTEP) discovery by BGP.
Enabled.
BGP address-family L2VPN EVPN configuration mode
The no form of this command disables automatic VTEP discovery and creation of VXLAN tunnels.
The following example disables automatic VTEP discovery by BGP.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family l2vpn evpn device(config-bgp-evpn)# no vtep-discovery
The following example re-enables automatic VTEP discovery and creation of VXLAN tunnels by BGP.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family l2vpn evpn device(config-bgp-evpn)# vtep-discovery