VPLS with IRB

PE1 takes in tagged VLANs in to the VPLS instance on ae0.100. PE2 as one untagged port and one tagged port, and an irb interface and all three are in a bridge domain, the irb is added to the VPLS instance.

# PE1
set routing-instances vpls-test instance-type vpls
set routing-instances vpls-test interface ae0.100
set routing-instances vpls-test route-distinguisher 1.1.1.1:100
set routing-instances vpls-test vrf-target target:65000:100
set routing-instances vpls-test protocols vpls site-range 3
set routing-instances vpls-test protocols vpls no-tunnel-services
set routing-instances vpls-test protocols vpls site A site-identifier 2
set routing-instances vpls-test protocols vpls site A interface ae0.100
            


# PE2
set routing-instances vpls-test instance-type vpls
set routing-instances vpls-test route-distinguisher 1.1.1.2:100
set routing-instances vpls-test vrf-target target:65000:100
set routing-instances vpls-test routing-interface irb.100
set routing-instances vpls-test protocols vpls site-range 3
set routing-instances vpls-test protocols vpls no-tunnel-services
set routing-instances vpls-test protocols vpls site B site-identifier 1
set routing-instances vpls-test protocols vpls connectivity-type irb


set interfaces ge-0/0/0 vlan-tagging
set interfaces ge-0/0/0 encapsulation extended-vlan-bridge
set interfaces ge-0/0/0 unit 100 vlan-id 100

set interfaces ge-0/0/1 encapsulation ethernet-bridge
set interfaces ge-0/0/1 unit 0 family bridge

set interfaces irb unit 100 family inet address 192.0.2.1/24

set bridge-domains vlan-100 vlan-id 100
set bridge-domains vlan-100 interface ge-0/0/0.100
set bridge-domains vlan-100 interface ge-0/0/1.0
set bridge-domains vlan-100 routing-interface irb.100