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.

3 192.168.16.1/32<br />

100000 192.168.17.1/32<br />

100032 192.168.19.1/32<br />

The Input label database section shows the labels received from the LDP peers, and<br />

the Output label database section shows the labels that this router has advertised.<br />

Here, RouterF has advertised a label value of 3 to RouterJ. This reserved label indicates<br />

that RouterF has signaled RouterJ to perform penultimate-hop popping to<br />

remove the top label on the stack before forwarding packets to RouterF.<br />

To verify correct forwarding along the LSP, ping the egress router from the ingress<br />

router. For this to work, you need to configure a loopback address of 127.0.0.1 on<br />

the egress router:<br />

[edit]<br />

aviva@RouterF# set interfaces lo0 unit 0 family inet address 127.0.0.1/32<br />

The egress router uses this address to send echo replies to echo requests sent by the ping<br />

command. Then send an MPLS ping request from the ingress router along the LSP:<br />

aviva@RouterG> ping mpls ldp 192.168.16.1<br />

!!!!!<br />

--- lsping statistics ---<br />

5 packets transmitted, 5 packets received, 0% packet loss<br />

The ping echo replies include the label that the ingress router added to the packet<br />

when putting it into the LSP. The ping mpls command uses port 3503 for MPLS echo<br />

requests instead of the UDP port 7, which is used by the standard ping command.<br />

This recipe shows only the commands you need to set up MPLS and LDP. Because<br />

LDP depends on the routing information provided by an IGP, the routers must be<br />

running either IS-IS or OSPF and IPv4 addresses must be configured on all interfaces<br />

running LDP and the IGP. For the ingress router in this recipe, here are the parts of<br />

the configuration related to setting up the LDP-signaled LSP:<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 />

aviva@RouterG> show configuration routing-options<br />

router-id 192.168.19.1;<br />

492 | 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!