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.

Once LDP is turned on on all the routers, the protocol automatically builds multipointto-point<br />

LSPs, each ending on a different router in the network.<br />

Use the show ldp interface command to check that LDP is up and running on the<br />

expected interfaces:<br />

aviva@RouterG> show ldp interface<br />

Interface Label space ID Nbr count Next hello<br />

t1-4/0/0.0 192.168.19.1:0 1 2<br />

aviva@RouterF> show ldp interface<br />

Interface Label space ID Nbr count Next hello<br />

fe-0/0/1.0 192.168.16.1:0 1 3<br />

The output of these two show commands indicates that LDP is running on one interface<br />

on the ingress and egress routers. On the transit router, LDP is running on the<br />

two interfaces connected to the ingress and egress routers:<br />

aviva@RouterJ> show ldp interface<br />

Interface Label space ID Nbr count Next hello<br />

fe-1/0/1.0 192.168.17.1:0 1 1<br />

t1-5/0/0.0 192.168.17.1:0 1 2<br />

You see that each LDP interface is operational and has learned about one neighbor.<br />

The LDP session between two routers runs over TCP, so after LDP is running on an<br />

interface, you expect to see that the TCP connection is established and operational:<br />

aviva@RouterG> show ldp session<br />

Address State Connection Hold time<br />

192.168.17.1 Operational Open 26<br />

The session information for the ingress router shows that the session to RouterJ at<br />

192.168.17.1 is operational and the connection is open. The session hold time is how<br />

long LDP should wait to receive keepalive messages from its peer before closing the<br />

session. (LDP considers any LDP message to be a keepalive.) The JUNOS default<br />

hold time is 30 seconds, and the output shows that 26 seconds remain on this timer.<br />

Use the detail form of this command to see the session parameters:<br />

aviva@RouterG> show ldp session detail<br />

Address: 192.168.17.1, State: Operational, Connection: Open, Hold time: 23<br />

Session ID: 192.168.19.1:0--192.168.17.1:0<br />

Next keepalive in 3 seconds<br />

Active, Maximum PDU: 4096, Hold time: 30, Neighbor count: 1<br />

Keepalive interval: 10, Connect retry interval: 1<br />

Local address: 192.168.19.1, Remote address: 192.168.17.1<br />

Up for 1d 21:52:42<br />

Local - Restart: disabled, Helper mode: enabled<br />

Remote - Restart: disabled, Helper mode: enabled<br />

Local maximum recovery time: 240000 msec<br />

Next-hop addresses received:<br />

t1-4/0/0.0<br />

10.0.8.1<br />

10.0.0.2<br />

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