This section shows a configuration example, given the following assumptions.
The following configuration example applies to a VPLS-1 on PE-1 and PE-2, as well as the corresponding ethernet-segment and lag commands.
*A:Dut-C>config>lag# info
----------------------------------------------
mode access
encap-type dot1q
port 1/4/6
lacp active administrative-key 1 system-id 00:00:00:00:69:72
no shutdown
----------------------------------------------
*A:Dut-C>config>lag# /configure service system bgp-evpn
*A:Dut-D>config>service>system>bgp-evpn>eth-seg# info
----------------------------------------------
esi 00:de:01:00:00:00:00:00:00:01
service-carving
mode auto
exit
multi-homing all-active
lag 6
no shutdown
----------------------------------------------
description "Default tls description
split-horizon-group "vpls1" create
description "Default description for SHG vpls1"
exit
bgp-evpn
evi 1
mpls
control-word
split-horizon-group "vpls1"
ingress-replication-bum-label
auto-bind-tunnel
resolution any
exit
no shutdown
exit
exit
stp
shutdown
exit
sap lag-6:1 create
description "Default sap description for service id 1"
egress
exit
exit
static-mac
mac 00:81:00:00:00:02 create sap lag-6:1 monitor fwd-status
exit
no shutdown
*A:Dut-C>config>service>vpls#
A:Dut-B>config>lag# info
*A:Dut-E>config>service>system>bgp-evpn>eth-seg# info
----------------------------------------------
esi 00:de:01:00:00:00:00:00:00:01
service-carving
mode auto
exit
multi-homing all-active
lag 6
no shutdown
----------------------------------------------
*A:Dut-B>config>service>system>bgp-evpn# /configure service vpls 1
*A:Dut-E>config>service>vpls# info
----------------------------------------------
description "Default tls description for service id 1"
split-horizon-group "vpls1" create
description "Default description for SHG vpls1"
exit
bgp-evpn
evi 1
mpls
control-word
split-horizon-group "vpls1"
ingress-replication-bum-label
auto-bind-tunnel
resolution any
exit
no shutdown
exit
exit
stp
shutdown
exit
sap lag-6:1 create
description "Default sap description for service id 1"
egress
exit
exit
no shutdown
The configuration on the remote PE (for example, PE-3), which supports aliasing to PE-1 and PE-2, is shown below. PE-3 does not have any ES configured and to perform aliasing requires only the VPLS-1 configuration and ecmp>1.
*A:PE3>config>service>vpls# info
----------------------------------------------
bgp
exit
bgp-evpn
evi 1
mpls
ingress-replication-bum-label
ecmp 4
auto-bind-tunnel
resolution any
exit
no shutdown
exit
exit
stp
shutdown
exit
sap 1/1/1:1 create
exit
spoke-sdp 4:13 create
no shutdown
exit
no shutdown
----------------------------------------------