Configuringa Normalized VLAN for Translation or Tagging
Thistopic provides configuration and operationalinformation to help you manipulate
virtuallocal areanetworks (VLANs) within a bridge domain or a virtual privateLAN service
(VPLS)instance.The VPLS configuration is not coveredin this topic. For more information
aboutconfiguring Ethernet pseudowiresas part of VPLS, see the Junos OS Feature Guide.
NOTE: Thistopic is not intended as a troubleshootingguide. However, you
canuse it with a broadertroubleshooting strategy toidentify Juniper Networks
MXSeries Ethernet Services Routers networkproblems.
Themanipulation of VLANs within a bridge domain or a VPLS instance can be done in
severalways:
Byusing the vlan-map statements at the [edit interfaces]hierarchy level. This chapter
doesnot use vlan-map. For more information about VLAN maps, see the Junos OS
NetworkInterfaces ConfigurationGuide.
Byusing vlan-id statements within a bridge domain or VPLS instance hierarchy.This
methodis used in the configuration in this chapter.
Thevlan-id and vlan-tags statementsunder the bridge domain or VPLS routing instance
areused to:
Translate(normalize)received VLAN tags, or
Implicitlycreate multiple learningdomains, each with a “learn” VLAN.
Theuse of a VLAN map or a normalized VLAN is optional.
NOTE: Youcannotuse vlan-map when configuring a normalized VLAN.
Thissection discusses the following topics:
ImplicitVLAN Translation toa Normalized VLAN on page 45
SendingTaggedor Untagged Packets over VPLS Virtual Interfaceson page 46
Configuringa Normalized VLAN on page 46

ImplicitVLAN Translation to a Normalized VLAN

TheVLAN tags of a received packet arecompared with the normalized VLAN tags
specifiedwith either the vlan-id or vlan-tags statements.If the VLAN tags of the received
packetaredifferent from the normalized VLAN tags, then appropriateVLAN tag operations
(suchas push-push, pop-pop, pop-swap, swap-swap, swap,and others) are implicitly
madeto convert the received VLAN tagsto the normalized VLAN tags. For more
informationabout these operations, see the Junos OS Routing ProtocolsConfiguration
Guide.
45Copyright© 2010, Juniper Networks,Inc.
Chapter4: VLANs Within Bridge Domain and VPLS Environments