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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Junos 10.4 <strong>Policy</strong> <strong>Framework</strong> <strong>Configuration</strong> <strong>Guide</strong><br />

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

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

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

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

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

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

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

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

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

user@host# set ge-1/2/6 unit 0 family inet address 13.1.1.2/30<br />

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

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

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

user@host# exit<br />

2. On PE1, configure the packet header data to be used for per-flow load balancing.<br />

[edit]<br />

user@host# edit forwarding-options hash-key family multiservice<br />

[edit forwarding-options hash-key family multiservice]<br />

set source-mac<br />

set destination-mac<br />

set payload ip layer-3<br />

user@host# exit<br />

3. Configure the routing policy on PE1.<br />

[edit]<br />

user@host# edit policy-options<br />

[edit policy-options]<br />

user@host# set policy-statement exp-to-fwd term a from community grn-com<br />

user@host# set policy-statement exp-to-fwd term a then install-nexthop lsp<br />

PE1-to-PE2<br />

user@host# set policy-statement exp-to-fwd term a then accept<br />

user@host# set policy-options community grn-com members target:65000:1<br />

user@host# exit<br />

4. 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 PE1-to-PE2 to 10.255.19.77<br />

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

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

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

user@host# set bgp group int type internal<br />

user@host# set bgp group int local-address 10.255.71.214<br />

user@host# set bgp group int family inet any<br />

user@host# set bgp group int family l2vpn signaling<br />

user@host# set bgp group int neighbor 10.255.19.77<br />

user@host# set bgp group int neighbor 10.255.19.79<br />

user@host# set ospf traffic-engineering<br />

user@host# set ospf area 0.0.0.0 interface all<br />

user@host# set ospf area 0.0.0.0 interface fxp0.0 disable<br />

156<br />

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

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

Saved successfully!

Ooh no, something went wrong!