Juniper Networks JUNOS OS 10.4 User Manual
Page 80

tag is 1300 for received packets and for logical interface
ge-3/0/0.1
, the normalized
VLAN tag is 1400. Then, the source MAC address of a received packet is learned based
on the normalized VLAN configuration.
For output packets, based on the
output vlan-map pop
statement configured on the
logical interfaces
ge-1/0/0.1
, or
ge-2/0/0.1
, or
ge-3/0/0.1
, if the VLAN tags associated
with an egress logical interface do not match the normalized VLAN tags within the
packet, then the VLAN tags in the packets that are being transmitted from the egress
logical interface are removed.
•
Unknown source MAC addresses and unknown destination MAC addresses are learned
based on their normalized VLAN values of 1 through 1000.
•
All packets sent on the VPLS pseudowire have a normalized VLAN tag after the source
MAC address field in the encapsulated Ethernet packet.
•
The
input-vlan-map pop
and
output-vlan-map push
statements on the logical interface
cause the service VLAN ID to be popped on input and the service VLAN ID to be pushed
on output and in this way, the impact of doubly-tagged frames on scaling is limited.
The following example illustrates the use of the
vlan-id all
statement in logical interfaces
when a virtual switch instance with a bridge domain is associated with the logical
interfaces. You can normalize VLANs and create learning domains for each VLAN. A
routing instance uses a trunk bridge to connect different departments in an organization,
each with their own VLANs, at two different sites. You must configure a bridge domain
and VLAN identifier for each VLAN associated with the trunk interface.
[edit]
interfaces ge-1/0/0 {
encapsulation flexible-ethernet-services;
flexible-vlan-tagging;
unit 1 {
encapsulation vlan-vpls;
family-bridge {
interface-mode trunk;
vlan-id-range 1-1000; # Note the use of the VLAN id range statement.
}
}
unit 11 {
encapsulation vlan-vpls;
family-bridge {
interface-mode trunk;
vlan-id 1500;
}
}
}
interfaces ge-2/0/0 {
encapsulation flexible-ethernet-services;
flexible-vlan-tagging;
unit 1 {
encapsulation vlan-vpls;
interface-mode trunk;
vlan-id-range 1-1000; # Note the use of the VLAN id range statement.
}
}
Copyright © 2013, Juniper Networks, Inc.
60
Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide