VPLS studies - PBB-VPLS
I'm currently studying for my VPLS exam. I'm trying to document the results of some labs, so I will put it here for later reference.
I configured some PBB (Provider Backbone Bridging) to test it. Below is some configuration snippets and MAC-tables from the routers.
R1 and R4 are IB-PE and have both I-VPLS and B-VPLS, R2 and R3 are B-PE and only have the B-VPLS. The goal is to get connectivity from R1 to R4, and for R2 and R3 to only see the backbone MAC-address in their tables.
I created 2 VPRNs in R3 that have one spoke-SDP connected to the I-VPLS on R1 and R4, to simulate some customer traffic.
I-VPLS R1
A:R1>config>service#
vpls 3 name "3" customer 1 i-vpls create
pbb
backbone-vpls 4000
exit
exit
stp
shutdown
exit
spoke-sdp 3:3 create
no shutdown
exit
no shutdown
exit
A:R1>config>service#
vpls 4000 name "4000" customer 1 b-vpls create
service-mtu 2000
pbb
source-bmac 00:00:00:00:00:01
stp
shutdown
exit
spoke-sdp 2:4000 create
no shutdown
exit
no shutdown
exit
B-VPLS R2
A:R2>config>service#
vpls 4000 name "4000" customer 1 b-vpls create
service-mtu 2000
stp
shutdown
exit
spoke-sdp 1:4000 create
no shutdown
exit
spoke-sdp 3:4000 create
no shutdown
exit
no shutdown
exit
```
**B-VPLS R3**
```
A:R3>config>service#
vpls 4000 name "4000" customer 1 b-vpls create
service-mtu 2000
stp
shutdown
exit
spoke-sdp 2:4000 create
no shutdown
exit
spoke-sdp 4:4000 create
no shutdown
exit
no shutdown
exit
B-VPLS R4
A:R4>config>service#
vpls 4000 name "4000" customer 1 b-vpls create
service-mtu 2000
pbb
source-bmac 00:00:00:00:00:04
stp
shutdown
exit
spoke-sdp 3:4000 create
no shutdown
exit
no shutdown
exit
A:R4>config>service#
vpls 3 name "3" customer 1 i-vpls create
pbb
backbone-vpls 4000
exit
exit
stp
shutdown
exit
spoke-sdp 3:4 create
no shutdown
exit
no shutdown
exit
MAC Table from all routers
A:R1# show service fdb-mac
===============================================================================
Service Forwarding Database
===============================================================================
ServId MAC Source-Identifier Type Last Change
Age
-------------------------------------------------------------------------------
3 00:22:ad:ca:03:03 sdp:3:3 L/0 01/10/20 10:12:19
3 00:22:ad:ca:03:04 b-sdp:2:4000 L/0 01/10/20 10:12:19
4000 00:00:00:00:00:04 sdp:2:4000 L/0 01/10/20 09:52:28
-------------------------------------------------------------------------------
No. of Entries: 3
-------------------------------------------------------------------------------
Legend: L=Learned O=Oam P=Protected-MAC C=Conditional S=Static Lf=Leaf
===============================================================================
A:R2# show service fdb-mac
===============================================================================
Service Forwarding Database
===============================================================================
ServId MAC Source-Identifier Type Last Change
Age
-------------------------------------------------------------------------------
4000 00:00:00:00:00:01 sdp:1:4000 L/0 01/10/20 09:52:16
4000 00:00:00:00:00:04 sdp:3:4000 L/0 01/10/20 10:10:58
-------------------------------------------------------------------------------
No. of Entries: 2
-------------------------------------------------------------------------------
Legend: L=Learned O=Oam P=Protected-MAC C=Conditional S=Static Lf=Leaf
===============================================================================
A:R3>config>service# show service fdb-mac
===============================================================================
Service Forwarding Database
===============================================================================
ServId MAC Source-Identifier Type Last Change
Age
-------------------------------------------------------------------------------
4000 00:00:00:00:00:01 sdp:2:4000 L/0 01/10/20 10:10:58
4000 00:00:00:00:00:04 sdp:4:4000 L/0 01/10/20 10:10:58
-------------------------------------------------------------------------------
No. of Entries: 2
-------------------------------------------------------------------------------
Legend: L=Learned O=Oam P=Protected-MAC C=Conditional S=Static Lf=Leaf
===============================================================================
A:R4>config>service# show service fdb-mac
===============================================================================
Service Forwarding Database
===============================================================================
ServId MAC Source-Identifier Type Last Change
Age
-------------------------------------------------------------------------------
3 00:22:ad:ca:03:03 b-sdp:3:4000 L/0 01/10/20 10:12:16
3 00:22:ad:ca:03:04 sdp:3:4 L/0 01/10/20 10:12:16
4000 00:00:00:00:00:01 sdp:3:4000 L/0 01/10/20 10:10:59
-------------------------------------------------------------------------------
No. of Entries: 3
-------------------------------------------------------------------------------
Legend: L=Learned O=Oam P=Protected-MAC C=Conditional S=Static Lf=Leaf
===============================================================================
VPRNs On R3
VPRN 3 has spoke-sdp to R1 and VPRN 4 has a spoke SDP to R4
vprn 3 name "3" customer 1 create
route-distinguisher 65010:3
interface "VPRN3" create
address 192.168.88.1/24
mac 00:22:ad:ca:03:03
ip-mtu 1500
spoke-sdp 1:3 create
no shutdown
exit
exit
no shutdown
exit
vprn 4 name "4" customer 1 create
route-distinguisher 65010:4
interface "VPRN4" create
address 192.168.88.2/24
mac 00:22:ad:ca:03:04
ip-mtu 1500
spoke-sdp 4:4 create
no shutdown
exit
exit
no shutdown
exit