Sets the encapsulation type for an IPv4 neighbor, an IPv6 neighbor, or a peer group.
None (SLX 9150 and SLX 9250 devices)
BGP address-family L2VPN EVPN configuration mode
The no form of the command restores the default.
The following example configures VXLAN encapsulation for an IPv4 neighbor.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family l2vpn evpn device(config-bgp-evpn)# neighbor 10.1.1.1 encapsulation vxlan