10.11.2016 Views

2eW4ZRB

2eW4ZRB

2eW4ZRB

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.

group EBGP-MHOP {<br />

type external;<br />

multihop {<br />

ttl 10;<br />

}<br />

local-address 192.168.36.23;<br />

-+<br />

}<br />

peer-as 65538;<br />

neighbor 192.168.38.24;<br />

For MPLS we have to configure the interactions with the TED and the policy to control that<br />

interaction:<br />

user@mx80-23# show protocols mpls<br />

traffic-engineering {<br />

database {<br />

export {<br />

policy BGP-TO-TED;<br />

}<br />

}<br />

}<br />

cross-credibility-cspf;<br />

label-switched-path Inter-AS-65538 {<br />

from 192.168.36.23;<br />

to 192.168.38.24;<br />

}<br />

interface xe-0/0/0.0;<br />

interface xe-0/0/2.0;<br />

interface lo0.0;<br />

user@mx80-23# show policy-options policy-statement BGP-TO-TED<br />

term 1 {<br />

from family traffic-engineering;<br />

then accept;<br />

}<br />

5.9 ASBR Configuration Example<br />

The ASBR configuration is a bit less than in Section 4 and shares some similarities with the<br />

configuration for the PE routers before, MPLS needs to manage the interaction with the TED.<br />

Remember to include the inter-AS link interface as well.<br />

user@mx240-5-re0# show protocols mpls<br />

traffic-engineering {<br />

database {<br />

import {<br />

policy TED-TO-NLRI;<br />

}<br />

}<br />

}<br />

interface xe-2/0/1.0;<br />

interface xe-2/1/0.0;<br />

interface xe-2/0/0.0;<br />

user@mx240-5-re0# show policy-options policy-statement TED-TO-NLRI<br />

term 1 {<br />

from protocol ospf;<br />

then accept;<br />

}<br />

term default {<br />

then reject;<br />

}<br />

RSVP requires the inter-AS link interface to be included too:<br />

user@mx240-5-re0# show protocols rsvp<br />

interface xe-2/0/1.0;<br />

interface xe-2/1/0.0;<br />

Copyright (©) 2016 Juniper Networks. All Rights Reserved.<br />

Page 28 of 53

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

Saved successfully!

Ooh no, something went wrong!