Example: Retailer Access Routing Instances for a Layer 2 Wholesale Network
You need to create a routing instance for each retailer to keep routing information for different retailers separate and to define servers and forwarding options specific to each retailer.
There are two types of routing instances that you can create: access or NNI. The following code snippets show how to configure separate access routing instances for two retailers: Retailer_Instance1 and Retailer_Instance2.
routing-instances { Retailer_Instance1 { vlan-model one-to-one; instance-role access; instance-type l2backhaul-vpn; interface ge-1/1/0.0 no-local-switching; route-distinguisher 10.10.1.1:1; vrf-target target:100:1; protocols { vpls { site-range 10; mac-table-size { 6000; } interface-mac-limit { 2000; } no-tunnel-services; site A-PE { site-identifier 1; } } } } Retailer_Instance2 { vlan-model one-to-one; instance-role access; instance-type l2backhaul-vpn; interface ge-2/2/0.0 no-local-switching; route-distinguisher 10.10.1.1:2; vrf-target target:300:1; protocols { vpls { site-range 1000; no-tunnel-services; site A-PE { site-identifier 1; } } } } }