28.06.2014 Views

Discussion

Discussion

Discussion

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.

[edit interfaces]<br />

aviva@RouterG# set t1-4/0/0 unit 0 family mpls<br />

Then enable the MPLS protocol on the interface:<br />

[edit protocols]<br />

aviva@RouterG# set mpls interface t1-4/0/0<br />

Finally, turn on LDP as the signaling protocol:<br />

[edit protocols]<br />

aviva@RouterG# set ldp interface t1-4/0/0<br />

On the transit and egress routers, turn on MPLS and LDP in a similar fashion.<br />

RouterF is the egress router:<br />

[edit interfaces]<br />

aviva@RouterF# set fe-0/0/1 unit 0 family mpls<br />

[edit protocols]<br />

aviva@RouterF# set mpls interface fe-0/0/1<br />

aviva@RouterF# set ldp interface fe-0/0/1<br />

RouterJ is the transit router:<br />

[edit interfaces]<br />

aviva@RouterJ# set fe-1/0/1 unit 0 family mpls<br />

aviva@RouterJ# set t1-5/0/0 unit 0 family mpls<br />

[edit protocols]<br />

aviva@RouterJ# set mpls interface t1-5/0/0<br />

aviva@RouterJ# set mpls interface fe-1/0/1<br />

aviva@RouterJ# set ldp interface t1-5/0/0<br />

aviva@RouterJ# set ldp interface fe-1/0/1<br />

<strong>Discussion</strong><br />

For MPLS to run on the routers in your network, you configure MPLS and a signaling<br />

protocol. This recipe uses LDP as the signaling protocol and the topology shown<br />

in Figure 14-5. Because LDP depends on an IGP when creating LSPs, interfaces running<br />

MPLS must also be running either IS-IS or OSPF.<br />

t1-4/0/0<br />

10.0.0.1/24<br />

t1-5/0/0<br />

10.0.0.2/24<br />

fe-1/0/1<br />

10.0.8.1/24<br />

fe-0/0/1<br />

10.0.8.2/24<br />

RouterG<br />

192.168.19.1<br />

Figure 14-5. MPLS with LDP topology<br />

RouterJ<br />

192.168.17.1<br />

RouterF<br />

192.168.16.1<br />

The first step in the configuration is to enable the MPLS address family on the logical<br />

interfaces of all the interfaces that are running MPLS. This family allows the interface<br />

to process labeled packets. On the ingress router, RouterG, add the MPLS<br />

486 | Chapter 14: MPLS<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!