}
ge-0/0/3{
unit0 {
vlan-id30;
}
}
[editdynamic-profiles]
green_vpls_pw_1interfaces $junos-interface-ifd-name{
unit$junos-underlying-unit-number {
vlan-tagsouter 200 inner 100;
}
}
NOTE: Thisis not a complete routerconfiguration.
Withthis configuration, broadcastpackets inside frames arriving with VLAN identifier 10
onge-0/0/1 are normalized to a frame with VLAN identifier 100. The broadcastpacket
andframes egressing ge-0/0/2 or ge-0/0/3have this VLAN value swapped to 20 and
30respectively, accordingto the interface configuration. Framesegress the VPLS
pseudowirein routing instance greenwith an outer VLAN tag value of 200 pushed on top
ofthe normalized value.
CERouters Without Dynamic Profiles
Youcan apply a dynamic profileto an entire VPLS configuration, not just a neighbor.
Considerthe following configuration,which does not use dynamic profiles to manipulate
VLANidentifiers on a customer edge (CE) router with VLAN identifier 100:
[editrouting-instances]
green{
instance-typevpls;
interfacege-0/0/1.1;
interfacege-0/0/2.1;
interfacege-0/0/3.1;
vlan-tagsouter 200 inner 100;
protocolsvpls {
vpls-id10;
neighbor10.1.1.20;
}
{...more...}
}
[editinterfaces]
ge-0/0/1{
unit0 {
vlan-id100;
}
}
ge-0/0/2{
unit0 {
vlan-id100;
Copyright© 2010, Juniper Networks,Inc.66
Junos10.4 MX Series Ethernet ServicesRouters Solutions Guide