This topic provides configuration and operational information to help you manipulate virtual local area networks (VLANs) within a bridge domain or a virtual private LAN service (VPLS) instance. The VPLS configuration is not covered in this topic. For more information about configuring Ethernet pseudowires as part of VPLS, see the Junos OS Feature Guides.
![]() | Note: This topic is not intended as a troubleshooting guide. However, you can use it with a broader troubleshooting strategy to identify Juniper Networks MX Series 3D Universal Edge Router network problems. |
The manipulation of VLANs within a bridge domain or a VPLS instance can be done in several ways:
The vlan-id and vlan-tags statements under the bridge domain or VPLS routing instance are used to:
The use of a VLAN map or a normalized VLAN is optional.
![]() | Note: You cannot use vlan-map when configuring a normalized VLAN. |
This section discusses the following topics:
The VLAN tags
of a received packet are compared with the normalized VLAN tags specified
with either the vlan-id or vlan-tags statements.
If the VLAN tags of the received packet are different from the normalized
VLAN tags, then appropriate VLAN tag operations (such as push-push,
pop-pop, pop-swap, swap-swap, swap, and others) are implicitly made
to convert the received VLAN tags to the normalized VLAN tags. For
more information about these operations, see the Junos OS Routing Protocols Configuration Guide
.
Then, the source MAC address of a received packet is learned based on the normalized VLAN configuration.
For output packets, if the VLAN tags associated with an egress
logical interface do not match the normalized VLAN tags within the
packet, then appropriate VLAN tag operations (such as push-push, pop-pop,
pop-swap, swap-swap, swap, and others) are implicitly made to convert
the normalized VLAN tags to the VLAN tags for the egress logical interface.
For more information about these operations, see the Junos OS Routing Protocols Configuration Guide
.
If the packets sent over the VPLS virtual interfaces (vt- or lsi- interfaces) need to be tagged by the normalized VLAN, use one of the following configuration statements:
If the incoming VLAN tags identifying a Layer 2 logical interface are removed when packets are sent over VPLS virtual interfaces, use the vlan-id none statement.
![]() | Note: Even when the vlan-id none statement is configured, the packets can still contain other customer VLAN tags. |
The following factors are important when configuring a normalized VLAN:
![]() | Note: The outgoing packets can still contain customer VLAN tags. |
If integrated routing and bridging (IRB) is configured for a bridge domain or a VPLS routing instance, then you must configure a normalized VLAN using one of the following statements: