There are two types of traditional l2vpn, one is point-to-point (VPWS) and the other is point-to-multipoint(VPLS).
For VPLS, EVPN has a corresponding technology PBB-EVPN.
This topic, will intruduction a simple PBB-EVPN configuration.
Refer to the following route types,PBB-EVPN will use Type 2 and Type 3.

Topology

Core IGP
1
router isis 12
is-type level-2-only3
net 49.0001.1391.5900.7248.004
lsp-gen-interval maximum-wait 2000 initial-wait 100 secondary-wait 1005
address-family ipv4 unicast6
metric-style wide7
!8
interface Bundle-Ether19
circuit-type level-2-only10
point-to-point11
address-family ipv4 unicast12
metric 513
!14
!15
interface Loopback016
passive17
circuit-type level-2-only18
address-family ipv4 unicast19
!1
RP/0/RSP0/CPU0:ASR9001-B#show run mpls ldp 2
Fri Oct 25 04:13:08.554 UTC3
mpls ldp4
router-id 139.159.7.2485
address-family ipv46
!7
interface Bundle-Ether18
address-family ipv49
!10
PBB-EVPN
1
RP/0/RSP0/CPU0:ASR9001-B#show run router bgp 2
Fri Oct 25 04:14:28.506 UTC3
router bgp 650014
bgp router-id 139.159.7.2485
6
address-family l2vpn evpn7
!8
neighbor 139.159.48.2139
remote-as 6500110
update-source Loopback011
address-family l2vpn evpn12
!1
RP/0/RSP0/CPU0:ASR9001-B#show run l2vpn 2
Fri Oct 25 04:15:37.293 UTC3
l2vpn4
bridge group 15
bridge-domain PBB-core-100006
pbb core7
evi 10000 <<<< need same with peer PE,Broadcast domain8
!9
!10
!11
bridge-domain PBB-edge-1000012
interface GigabitEthernet0/0/0/4.113
!14
pbb edge i-sid 10000 core-bridge PBB-core-1000015
!16
!1
RP/0/RSP0/CPU0:ASR9001-B# show ru int gi0/0/0/4.1 2
Fri Oct 25 04:18:56.372 UTC3
interface GigabitEthernet0/0/0/4.1 l2transport4
encapsulation dot1q 105
rewrite ingress tag pop 1 symmetric6
mtu 90007
!Check the route learn from Peer PE
1
RP/0/RSP0/CPU0:ASR9001-B#show bgp l2vpn evpn 2
Fri Oct 25 04:19:25.234 UTC3
BGP router identifier 139.159.7.248, local AS number 650014
BGP generic scan interval 60 secs5
Non-stop routing is enabled6
BGP table state: Active7
Table ID: 0x0 RD version: 08
BGP main routing table version 369
BGP NSR Initial initsync version 6 (Reached)10
BGP NSR/ISSU Sync-Group versions 0/011
BGP scan interval 60 secs12
13
Status codes: s suppressed, d damped, h history, * valid, > best14
i - internal, r RIB-failure, S stale, N Nexthop-discard15
Origin codes: i - IGP, e - EGP, ? - incomplete16
Network Next Hop Metric LocPrf Weight Path17
Route Distinguisher: 139.159.7.248:10000 (default for vrf PBB-core-10000)18
*> [2][0][48][e4c7.225a.2fd0][0]/104 <<< Self BMAC19
0.0.0.0 0 i20
*>i[2][0][48][e8ed.f344.050f][0]/104 <<< Remote PE BMAC 21
139.159.48.213 100 0 i22
*> [3][10000][32][139.159.7.248]/80 23
0.0.0.0 0 i24
*>i[3][10000][32][139.159.48.213]/8025
139.159.48.213 100 0 i26
Route Distinguisher: 139.159.48.213:1000027
*>i[2][0][48][e8ed.f344.050f][0]/104 <<< Remote PE BMAC 28
139.159.48.213 100 0 i29
*>i[3][10000][32][139.159.48.213]/8030
139.159.48.213 100 0 i1
RP/0/RSP0/CPU0:ASR9001-B#show l2vpn forwarding pbb backbone-source-mac detail location 0/rsp0/CPU0 2
Fri Oct 25 04:25:04.241 UTC3
Backbone Source MAC: e4c7.225a.2fd0 <<< Check BMAC4
Chassis MAC : e4c7.225a.2fd05
RP/0/RSP0/CPU0:ASR9001-B#1
RP/0/RSP0/CPU0:ASR9001-B#show bgp l2vpn evpn rd 139.159.7.248:10000 [2][0][48][e8ed.f344.050f][0]/104 detail 2
Fri Oct 25 04:27:54.322 UTC3
BGP routing table entry for [2][0][48][e8ed.f344.050f][0]/104, Route Distinguisher: 139.159.7.248:100004
Versions:5
Process bRIB/RIB SendTblVer6
Speaker 32 327
Flags: 0x00001001+0x00000000; 8
Last Modified: Oct 24 13:13:53.799 for 15:14:009
Paths: (1 available, best #1)10
Not advertised to any peer11
Path #1: Received by speaker 012
Flags: 0x4000020005060005, import: 0x8013
Not advertised to any peer14
Local15
139.159.48.213 (metric 5) from 139.159.48.213 (139.159.48.213)16
Received Label 16008 <<<< Inner Label recieve17
Origin IGP, localpref 100, valid, internal, best, group-best, import-candidate, imported, rib-install18
Received Path ID 0, Local Path ID 1, version 3219
Extended community: RT:65001:10000 20
EVPN ESI: 0000.0000.0000.0000.000021
Source AFI: L2VPN EVPN, Source VRF: default, Source Route Distinguisher: 139.159.48.213:1000022
RP/0/RSP0/CPU0:ASR9001-B#1
RP/0/RSP0/CPU0:ASR9001-B#show l2vpn forwarding bridge-domain 1:PBB-edge-10000 mac-address location 0/0/cPU0 2
<<<< This command can check the MAC-address learning
This Blog from Xuxing's Blog;