IfVLANs 1 through 1000 for customer C1 span the same sites, then the vlan-id all and
vlan-rangestatements provide a wayto switch all of these VLANs with a minimum
configurationeffort and fewer switchresources.NOTE: Youcannotuse the vlan-id all statement if you configure an IRBinterfaceon one or more of the VLANs.Thefollowing example illustratesthe use of the vlan-id all statement:
[edit]
interfacesge-1/0/0{
flexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-vpls;
vlan-id-range1-1000;
}
unit11 {
encapsulationvlan-vpls;
vlan-id1500;
}
}
interfacesge-2/0/0{
flexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-vpls;
vlan-id-range1-1000; # Note the use of the VLAN id range statement.
}
}
interfacesge-3/0/0{
flexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-vpls;
vlan-id1-1000;
}
}
interfacesge-6/0/0{
flexible-ethernet-services;
flexible-vlan-tagging;
unit11 {
encapsulationvlan-vpls;
vlan-id1500;
}
}
routing-instances{
customer-c1-v1-to-v1000{
instance-typevpls;
vlan-idall; # Note the use of the VLAN id all statement
interfacege-1/0/0.1;
interfacege-2/0/0.1;
interfacege-3/0/0.1;
57Copyright© 2010, Juniper Networks,Inc.
Chapter4: VLANs Within Bridge Domain and VPLS Environments