EVPN E-Tree services are modeled as VPLS services configured as E-Trees with the bgp-evpn mpls context enabled.
The following example shows a CLI configuration of a VPLS E-Tree service with EVPN E-Tree service enabled.
*A:PE1>config>service>system>bgp-evpn#
evpn-etree-leaf-label
*A:PE1>config>service# vpls 1 customer 1 etree create
*A:PE1>config>service>vpls(etree)# info
----------------------------------------------
description "ETREE-enabled evpn-mpls-service"
bgp-evpn
evi 10
mpls bgp 1
no shutdown
ecmp 2
auto-bind-tunnel resolution any
ingress-replication-bum-label
sap lag-1:1 leaf-ac create
exit
sap 2/1/1:1 leaf-ac create
exit
sap 2/2/2:1 create
exit
spoke-sdp 3:1 leaf-ac create
exit
The following configuration guidelines apply to the EVPN E-Tree service.
Before configuring an EVPN E-Tree service, the user must first run the evpn-etree-leaf-label <value> command. This is relevant for EVPN E-Tree services only. The command allocates an E-Tree leaf label on the system and, when a specific value is configured, the leaf label must match on all other PE nodes attached to the same EVPN service.
Optionally, the evpn-etree-leaf-label <value> command may be configured with a static label value (within the static label range configured in the system using the config>router>mpls>mpls-label>static-label-range context). The static label is used when global leaf labels are needed in the network. For example, the case where at least one 7250 IXR Gen 1 router is attached to the EVPN E-Tree service.
The configure service vpls create etree command is compatible with the bgp-evpn mpls context.
As in VPLS E-Tree services, an AC that is not configured as a leaf AC is treated as root AC.
MAC addresses learned over a leaf AC SAP or SDP binding are advertised as leaf MAC addresses.
Any PE with one or more bgp-evpn enabled VPLS E-Tree service advertises an AD per-ES per-PE route with the leaf indication and leaf label used for BUM egress filtering.
Any leaf AC SAP or SDP binding defined in an ES triggers the advertisement of an AD per-EVI route with the leaf indication.
EVPN E-Tree services use the following CLI commands:
sap sap-id leaf-ac create command using the configure service vpls context
mesh-sdp sdp-id:vc-id create leaf-ac command using the configure service vpls context
spoke-sdp sdp-id:vc-id create leaf-ac command using the configure service vpls context
The root-leaf-tag command is blocked in VPLS E-Tree services where bgp-evpn mpls context is enabled.