We have a customer with multiple sites they want to hand off to us at two handoff points. At each handoff point we are to be provided with multiple vlans (5-8), one for each of their sites. Each vlan will have a specific prefix associated with it, with us providing their L3 gateway interface on an ASR 9k.
We've been trying to come up with a way to handle each of the two handoffs within a single pw, but are struggling to come up with a way to ensure that the downstream traffic is classified in the appropriate vlan when we hand it back off to the customer.
Would something like this work?
Handoff interface at site1
int xxxx.x l2transport
encapsulation dot1q 210-217
rewrite ingress tag push dot1q OUTER_TAG sym
PE
(trunk interfaces to border router)
int yyyy.210 l2transport
encapsulation dot1q 210
rewrite integress tag push dot1q OUTER_TAG sym
int yyyy.211 l2transport
encapsulation dot1q 211
rewrite integress tag push dot1q OUTER_TAG sym
etc
l2vpn
bg
bd
neighbor... pw-id blah
backup neigh ... pw-id blah2
int yyyy.210
int yyyy.211
int yyyy.212
And then on the Border build the L3 interfaces on each of those subinterfaces, add to IGP, etc?
int zzzz1.210
encapsulation dot1q 210
rewrite ingress tag pop 1 sym
ipv4 address 1.1.1.1 255.255.255.0
etc.