Juniper Networks 10.4 Network Router User Manual


 
}
}
ge-0/0/3 {
unit 0 {
vlan-id 100;
}
}
NOTE: This is not a complete router configuration.
With this configuration, broadcast packets inside frames arriving on ge-0/0/1 are
normalized to a dual-tagged frame with an outer VLAN value of 200 and an inner VLAN
value of 100. The same configuration can be accomplished using dynamic profiles.
CE Routers and Dynamic Profiles
Consider the following configuration, which uses dynamic profiles at the protocols level:
[edit routing-instances]
green {
instance-type vpls;
interface ge-0/0/1.1;
interface ge-0/0/2.1;
interface ge-0/0/3.1;
vlan-id 100; # Desired inner VLAN tag on the VPLS pseudowire
protocols vpls {
associate-profile green_vpls_pw_2; # The profile
vpls-id 10;
neighbor 10.1.1.20;
}
{...more...}
}
[edit interfaces]
ge-0/0/1 {
unit 0 {
vlan-id 100;
}
}
ge-0/0/2 {
unit 0 {
vlan-id 100;
}
}
ge-0/0/3 {
unit 0 {
vlan-id 100;
}
}
[edit dynamic-profiles]
green_vpls_pw_2 interfaces $junos-interface-ifd-name {
unit $junos-underlying-unit-number {
67Copyright © 2010, Juniper Networks, Inc.
Chapter 6: Dynamic Profiles for VLAN Interfaces and Protocols