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.

Transit LSP: 0 sessions<br />

Total 0 displayed, Up 0, Down 0<br />

This output correctly shows the one LSP we have configured.<br />

For the three routers in the LSP, the show mpls lsp output differs slightly. The P column<br />

for R1, the ingress router, contains an asterisk to indicate that LSP R1-to-R6 is<br />

the primary LSP between the two routers. The output on the transit and egress routers<br />

shows information about the RSVP reservation style and label values.<br />

The command output for the transit router shows that received packets have a label<br />

value of 103488 and it uses a label value of 3 on the record for outgoing packets. A<br />

label value of 3 is one of the reserved values, used to request that the downstream<br />

router pop the label. The transit router is the penultimate-hop router, and the egress<br />

router has advertised a label value of 3 to R3 so that it performs penultimate-hop<br />

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

The Rt column in the output on all three routers shows the number of active prefixes<br />

installed in the routing table as a result of the RSVP session. Recipe 14.7 explains<br />

how to view these routes.<br />

The extensive version of the show mpls lsp command provides additional information<br />

about the LSP, including a log of the LSP’s history:<br />

aviva@R1> show mpls lsp extensive<br />

Ingress LSP: 1 sessions<br />

10.0.0.6<br />

From: 10.0.0.1, State: Up, ActiveRoute: 1, LSPname: R1-to-R6<br />

ActivePath: (primary)<br />

LoadBalance: Random<br />

Encoding type: Packet, Switching type: Packet, GPID: IPv4<br />

*Primary<br />

State: Up<br />

Computed ERO (S [L] denotes strict [loose] hops): (CSPF metric: 20)<br />

10.1.13.2 S 10.1.36.2 S<br />

Received RRO (ProtectionFlag 1=Available 2=InUse 4=B/W 8=Node 10=SoftPreempt):<br />

10.1.13.2 10.1.36.2<br />

5 Oct 4 13:31:06 Selected as active path<br />

4 Oct 4 13:31:06 Record Route: 10.1.13.2 10.1.36.2<br />

3 Oct 4 13:31:06 Up<br />

2 Oct 4 13:31:06 Originate Call<br />

1 Oct 4 13:31:06 CSPF: computation result accepted<br />

Created: Tue Oct 4 13:31:05 2005<br />

Total 1 displayed, Up 1, Down 0<br />

This command works only on the ingress router because this router is responsible for<br />

establishing and maintaining the LSP. The transit and egress routers have no details<br />

about the LSP’s state. The first line of the output confirms what we already know<br />

about the LSP: that it is named R1-to-R6, runs from 10.0.0.1 to 10.0.0.6, and is up.<br />

The highlighted lines show the history of the LSP, from most current to oldest events.<br />

The last line in the log tells you that the LSP was created at 13:31:05. RSVP used<br />

CSPF to determine a path for the LSP (this is the default JUNOS RSVP behavior), and<br />

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