beautypg.com

Ce routers without dynamic profiles – Juniper Networks JUNOS OS 10.4 User Manual

Page 90

background image

vpls-id 10;
neighbor 10.1.1.20 {

associate-profile green_vpls_pw_1; # The profile

}

}
{...more...}

}

[edit interfaces]
ge-0/0/1 {

unit 0 {

vlan-id 10;

}

}
ge-0/0/2 {

unit 0 {

vlan-id 20;

}

}
ge-0/0/3 {

unit 0 {

vlan-id 30;

}

}

[edit dynamic-profiles]
green_vpls_pw_1 interfaces $junos-interface-ifd-name {

unit $junos-underlying-unit-number {

vlan-tags outer 200 inner 100;

}

}

NOTE:

This is not a complete router configuration.

With this configuration, broadcast packets inside frames arriving with VLAN identifier 10
on

ge-0/0/1

are normalized to a frame with VLAN identifier 100. The broadcast packet

and frames exiting

ge-0/0/2

or

ge-0/0/3

have this VLAN value swapped to 20 and 30

respectively, according to the interface configuration. Frames egress the VPLS pseudowire
in routing instance

green

with an outer VLAN tag value of 200 pushed on top of the

normalized value.

CE Routers Without Dynamic Profiles

You can apply a dynamic profile to an entire VPLS configuration, not just a neighbor.

Consider the following configuration, which does not use dynamic profiles to manipulate
VLAN identifiers on a customer edge (CE) router with VLAN identifier 100:

[edit routing-instances]
green {

instance-type vpls;
interface ge-0/0/1.1;
interface ge-0/0/2.1;

Copyright © 2013, Juniper Networks, Inc.

70

Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide