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.

The configuration allocates 50 Mbps for the primary path, and this output shows<br />

that RSVP has set aside 100 Mbps on a single interface, so-0/0/2, so you know that<br />

both the primary and secondary LSPs are being routed toward R3. To check this,<br />

look at the LSP’s record route:<br />

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

Ingress LSP: 1 sessions<br />

10.0.0.5<br />

From: 10.0.0.1, State: Up, ActiveRoute: 0, LSPname: R1-to-R5<br />

ActivePath: primary-path-R1-to-R5 (primary)<br />

LoadBalance: Random<br />

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

*Primary primary-path-R1-to-R5 State: Up<br />

Bandwidth: 50Mbps<br />

SmartOptimizeTimer: 180<br />

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

10.1.13.2 10.1.34.2 10.1.45.2<br />

22 Oct 12 14:53:24 Selected as active path<br />

21 Oct 12 14:53:24 Record Route: 10.1.13.2 10.1.34.2 10.1.45.2<br />

20 Oct 12 14:53:24 Up<br />

19 Oct 12 14:53:24 Originate Call<br />

...<br />

Standby secondary-path-R1-to-R5 State: Up<br />

Bandwidth: 50Mbps<br />

SmartOptimizeTimer: 180<br />

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

10.1.13.2 10.1.36.2 10.1.56.1<br />

35 Oct 12 14:55:56 Record Route: 10.1.13.2 10.1.36.2 10.1.56.1<br />

34 Oct 12 14:55:56 Up<br />

33 Oct 12 14:55:55 Originate Call<br />

...<br />

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

This output confirms that RSVP has routed both the primary and secondary LSPs<br />

through R3 (10.1.13.2). You can force one of the LSPs to go through R2 instead by<br />

manually configuring the LSP’s next hop. The following command explicitly configures<br />

the first next hop for the secondary LSP:<br />

[edit protocols mpls]<br />

aviva@R1# set path secondary-path-R1-to-R5 10.1.12.2<br />

Checking the RSVP bandwidth reservation confirms the change:<br />

aviva@R1> show rsvp interface<br />

RSVP interface: 2 active<br />

Active Subscr- Static Available Reserved Highwater<br />

Interface State resv iption BW BW BW mark<br />

so-0/0/0.0 Up 1 100% 155.52Mbps 105.52Mbps 50Mbps 50Mbps<br />

so-0/0/2.0 Up 1 100% 155.52Mbps 105.52Mbps 50Mbps 100Mbps<br />

RSVP has reserved 50 Mbps on each of the two outgoing interfaces. Looking at the<br />

LSP paths shows that the two paths are indeed different:<br />

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

Ingress LSP: 1 sessions<br />

10.0.0.5<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Protecting an LSP’s Path | 525

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!