16.03.2014 Views

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6: Extended Actions <strong>Configuration</strong><br />

user@host# exit<br />

5. Configure VPLS on PE1.<br />

[edit]<br />

user@host# edit routing-instances vpls<br />

[edit routing-instances vpls]<br />

user@host# set instance-type vpls<br />

user@host# set interface ge-0/2/2.0<br />

user@host# set route-distinguisher 65000:1<br />

user@host# set vrf-target target:65000:1<br />

user@host# set protocols vpls site-range 3<br />

user@host# set protocols vpls no-tunnel-services<br />

user@host# set protocols vpls site asia site-identifier 1<br />

user@host# set protocols vpls site asia interface ge-0/2/2.0<br />

user@host# set protocols vpls vpls-id 100<br />

user@host# exit<br />

Step-by-Step<br />

Procedure<br />

To configure PE2:<br />

1.<br />

Configure PE2’s interfaces.<br />

[edit]<br />

user@host# edit interfaces<br />

[edit interfaces]<br />

user@host# set ge-0/0/7 gigether-options 802.3ad ae0<br />

user@host# set ge-0/1/7 gigether-options 802.3ad ae0<br />

user@host# set ge-0/2/3 gigether-options 802.3ad ae0<br />

user@host# set ge-0/2/7 gigether-options 802.3ad ae0<br />

user@host# set ge-2/0/0 gigether-options 802.3ad ae1<br />

user@host# set ge-2/0/1 gigether-options 802.3ad ae1<br />

user@host# set ge-2/0/2 gigether-options 802.3ad ae1<br />

user@host# set ge-2/0/4 encapsulation ethernet-vpls<br />

user@host# set ge-2/0/4 unit 0 family vpls<br />

user@host# set ge-2/0/7 gigether-options 802.3ad ae0<br />

user@host# set ge-2/0/9 unit 0 family inet address 1.1.1.1/30<br />

user@host# set ge-2/0/9 unit 0 family mpls<br />

user@host# set ge-2/1/7 gigether-options 802.3ad ae0<br />

user@host# set ge-2/2/7 gigether-options 802.3ad ae0<br />

user@host# set ge-2/3/7 gigether-options 802.3ad ae0<br />

user@host# set ae0 unit 0 family inet address 11.11.11.2/30<br />

user@host# set ae0 unit 0 family iso<br />

user@host# set ae0 unit 0 family mpls<br />

user@host# set ae1 unit 0 family inet address 10.1.1.1/30<br />

user@host# set ae1 unit 0 family mpls<br />

user@host# exit<br />

2. Configure PE1’s routing protocols and MPLS.<br />

[edit]<br />

user@host# edit protocols<br />

[edit protocols]<br />

user@host# set rsvp interface all<br />

user@host# set rsvp interface fxp0.0 disable<br />

user@host# set mpls label-switched-path PE2-to-PE3 from 10.255.19.77<br />

user@host# set mpls label-switched-path PE2-to-PE3 to 10.255.19.79<br />

user@host# set mpls label-switched-path PE2-to-PE1 to 10.255.71.214<br />

Copyright © 2010, <strong>Juniper</strong> <strong>Networks</strong>, Inc.<br />

157

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!