vtep-discovery

Enables automatic VXLAN tunnel endpoint (VTEP) discovery by BGP.

Syntax

vtep-discovery
no vtep-discovery

Command Default

Enabled.

Modes

BGP address-family L2VPN EVPN configuration mode

Usage Guidelines

The no form of this command disables automatic VTEP discovery and creation of VXLAN tunnels.

Examples

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