The example in EVPN for VXLAN in R-VPLS Services Example can be optimized by using EVPN tunnel R-VPLS services instead of regular IRB backhaul R-VPLS services. If EVPN tunnels are used, the corresponding R-VPLS services cannot contain SAPs or SDP-bindings and the VPRN interfaces do not need IP addresses.
The following excerpt shows the configuration in PE-1 for the VPRN 500. The R-VPLS 501, 2001 and 2002 can keep the same configuration as shown in the previous section.
*A:PE-1>config>service# info
vprn 500 name "vprn500" customer 1 create
ecmp 4
route-distinguisher 65071:500
vrf-target target:65000:500
interface "evi-501" create
vpls "evpn-vxlan-501"
evpn-tunnel# no need to configure an IP address
exit
exit
interface "subnet-2001" create
address 10.10.10.1/24
vpls "r-vpls 2001"
exit
exit
interface "subnet-2002" create
address 20.20.20.1/24
vpls "r-vpls 2002"
exit
exit
no shutdown
exit
The VPRN 500 configuration in PE-2 and PE-3 would be changed in the same way by adding the evpn-tunnel and removing the IP address of the EVPN-tunnel R-VPLS interface. No other changes are required.
*A:PE-2>config>service# info
vprn 500 name "vprn500" customer 1 create
ecmp 4
route-distinguisher 65072:500
auto-bind-tunnel
resolution-filter
gre
ldp
rsvp
exit
resolution filter
exit
vrf-target target:65000:500
interface "evi-501" create
vpls "evpn-vxlan-501"
evpn-tunnel# no need to configure an IP address
exit
exit
no shutdown
exit