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.

aviva@RouterG> show configuration protocols<br />

mpls {<br />

interface t1-4/0/0.0;<br />

}<br />

ospf {<br />

area 0.0.0.0 {<br />

interface lo0.0 {<br />

passive;<br />

}<br />

interface t1-4/0/0.0;<br />

}<br />

}<br />

ldp {<br />

interface t1-4/0/0.0;<br />

}<br />

See Also<br />

Recipes 8.12 and 14.2<br />

14.2 Viewing Information and LDP-Signaled LSPs<br />

in the Routing Tables<br />

Problem<br />

After you have configured MPLS and LDP on your router, you want to look at the<br />

information in the router’s routing tables.<br />

Solution<br />

Look in the inet.3 routing table to view the LDP routes:<br />

aviva@RouterG> show route table inet.3<br />

inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

192.168.16.1/32 *[LDP/9] 1d 23:02:21, metric 1<br />

> via t1-4/0/0.0, Push 100000<br />

192.168.17.1/32 *[LDP/9] 1d 23:02:21, metric 1<br />

> via t1-4/0/0.0<br />

Look in the mpls.0 table to see the router’s label information:<br />

aviva@RouterG> show route table mpls.0<br />

mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

0 *[MPLS/0] 2d 01:59:47, metric 1<br />

Receive<br />

1 *[MPLS/0] 2d 01:59:47, metric 1<br />

Receive<br />

2 *[MPLS/0] 2d 01:59:47, metric 1<br />

Receive<br />

Viewing Information and LDP-Signaled LSPs in the Routing Tables | 493<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!