You can configure VLAN identifiers for a VPLS instance in the following ways:
The vlan-id and vlan-tags statements are used to perform the following functions:
For more information about how VLAN tags are processed and translated, see the JUNOS MX-series Layer 2 Configuration Guide.
To configure VLAN identifiers for a VPLS instance, include the vlan-id or vlan-tags statement at the [edit routing-instances routing-instance-name instance-type vpls] hierarchy level.
![]() |
Note: You cannot configure VLAN mapping using the input-vlan-map and output-vlan-map statements if you configure a learn VLAN identifier for a VPLS instance using the vlan-id or vlan-tags statements. |
- [edit]
- routing-instances {
-
- marketing {
- instance-type vpls;
-
vlan-id 401;
- route-distinguisher 11.11.11.11:10;
- vrf-target target:100:100;
- interface ae0.100;
- interface ae0.200;
- }
- }