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.

family to the t1-4/0/0 interface; on the transit router, RouterJ, add it to the t1-5/0/0<br />

and fe-1/0/1 interfaces; and on the egress router, RouterF, add it to the fe-0/0/1<br />

interface. The interface configuration now has two families, IPv4 (inet) and MPLS:<br />

aviva@RouterG> show configuration interfaces<br />

t1-4/0/0 {<br />

unit 0 {<br />

family inet {<br />

address 10.0.0.1/24;<br />

}<br />

family mpls;<br />

}<br />

}<br />

lo0 {<br />

unit 0 {<br />

family inet {<br />

address 192.168.19.1/32;<br />

}<br />

}<br />

}<br />

The output shows the MPLS family on the t1-4/0/0 interface on the ingress router<br />

but not on the loopback interface. Because the loopback interface isn’t a transit interface<br />

and never carries labeled packets, you don’t need to configure it for the MPLS<br />

family.<br />

Use the show interfaces terse command to verify that the MPLS family is configured<br />

on all expected interfaces. Here’s the output for the transit router:<br />

aviva@RouterJ> show interfaces terse<br />

Interface Admin Link Proto Local Remote<br />

fe-0/0/0 up up<br />

fe-0/0/0.0 up up inet 172.19.121.117/24<br />

fe-1/0/1 up up<br />

fe-1/0/1.0 up up inet 10.0.8.1/24<br />

mpls<br />

t1-5/0/0 up up<br />

t1-5/0/0.0 up up inet 10.0.0.2/24<br />

mpls<br />

lo0 up up<br />

lo0.0 up up inet 192.168.17.1 --> 0/0<br />

lo0.16385 up up inet 10.0.0.1 --> 0/0<br />

10.0.0.16 --> 0/0<br />

This output confirms that the two MPLS interfaces, fe-1/0/1 and t1-5/0/0, are configured<br />

with the MPLS family and have IPv4 addresses, and that the loopback interface,<br />

lo0.0, has only an IPv4 address and is not configured for the MPLS family.<br />

Next, configure the router to run the MPLS protocol. The basic configuration is very<br />

simple. In the [edit protocols mpls] section of the configuration hierarchy, list the<br />

router interfaces on which MPLS will run. For the ingress router, configure MPLS on<br />

the interface that leads toward the far end of the LSP:<br />

[edit protocols]<br />

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

Configuring LSPs Using LDP as the Signaling Protocol | 487<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!