}
}
ge-0/0/3{
unit0 {
vlan-id100;
}
}

NOTE: Thisis not a complete routerconfiguration.

Withthis configuration, broadcast packetsinside frames arriving on ge-0/0/1 are

normalizedto a dual-tagged frame with an outer VLAN valueof 200 and an inner VLAN

valueof 100. The same configuration canbe accomplished using dynamic profiles.

CERouters and Dynamic Profiles

Considerthe following configuration, which usesdynamic profiles at the protocols level:

[editrouting-instances]
green{
instance-typevpls;
interfacege-0/0/1.1;
interfacege-0/0/2.1;
interfacege-0/0/3.1;
vlan-id100; # Desired inner VLAN tag on the VPLS pseudowire
protocolsvpls {
associate-profilegreen_vpls_pw_2;# The profile
vpls-id10;
neighbor10.1.1.20;
}
{...more...}
}
[editinterfaces]
ge-0/0/1{
unit0 {
vlan-id100;
}
}
ge-0/0/2{
unit0 {
vlan-id100;
}
}
ge-0/0/3{
unit0 {
vlan-id100;
}
}
[editdynamic-profiles]
green_vpls_pw_2interfaces $junos-interface-ifd-name{
unit$junos-underlying-unit-number {
67Copyright© 2010, Juniper Networks,Inc.
Chapter6: Dynamic Profiles forVLAN Interfaces and Protocols