address-family l2vpn evpn

Use this command in BGP router configuration mode to enter the Layer 2 VPN EVPN configuration mode. BGP neighbor has to be activated in this mode to enable the transmit and receive capability of the EVPN routes with the peer.

Default Not configured
Format address-family l2vpn evpn
Mode BGP Router Config

Usage Guidelines

This command takes the user into the Layer 2 VPN EVPN address family configuration mode. The following commands are available in this mode.

Example: The following example shows how to enter the Layer 2 VPN EVPN address family mode and configure the available neighbor commands:

(Router) (Config)# route-map permit-all permit 20
(Router) (route-map)# set ip next-hop unchanged
(Router) (route-map)# exit

(Router) (Config)# router bgp 10
(Router) (Config-router)# neighbor 1.1.1.1 remote-as 10
(Router) (Config-router)# address-family l2vpn evpn
(Router) (Config-router-af-evpn)# neighbor 1.1.1.1 activate
(Router) (Config-router-af-evpn)# neighbor 1.1.1.1 send-community extended
(Router) (Config-router-af-evpn)# neighbor 1.1.1.1 route-map permit-all out
(Router) (Config-router-af-evpn)# neighbor 1.1.1.1 maximum-prefix 100
(Router) (Config-router-af-evpn)# neighbor 1.1.1.1 route-reflector-client
(Router) (Config-router-af-evpn)# retain route-target all
(Router) (Config-router-af-evpn)# exit
(Router) (Config-router)#

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail [email protected]

LANCOM Logo
OSZAR »