Ce routers and dynamic profiles – Juniper Networks JUNOS OS 10.4 User Manual
Page 91

interface ge-0/0/3.1;
vlan-tags outer 200 inner 100;
protocols vpls {
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;
}
}
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 {
71
Copyright © 2013, Juniper Networks, Inc.
Chapter 6: Dynamic Profiles for VLAN Interfaces and Protocols