Configuring the BGP L2VPN EVPN Address Family

After you enter BGP L2VPN EVPN address family configuration mode, you can configure a variety of BGP EVPN options. Perform the following steps to enter BGP L2VPN EVPN address family configuration mode.
Note: The BGP L2VPN EVPN address family must be enabled for all BGP EVPN peers.
  1. Enter global configuration mode.
    device# configure terminal
  2. Enable BGP routing.
    device(config)# router bgp
  3. Enable BGP L2VPN EVPN address family configuration mode.
    device(config-bgp-router)# address-family l2vpn evpn
    device(config-bgp-l2vpn-evpn)#

The following example enables BGP L2VPN EVPN address family configuration mode so that a number of BGP EVPN options can be configured.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family l2vpn evpn
device(config-bgp-l2vpn-evpn)#