O'Reilly logo

JUNOS Cookbook by Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14.14. Prioritizing LSPs

Problem

You want to give higher priority to the more important LSPs so that they can always be established.

Solution

Configure the more important LSP so that it is more likely to be set up and remain up:

	[edit protocols mpls]
	aviva@R1# set label-switched-path R1-to-R5 priority 0 0

Then configure intermediate priority LSPs, those less likely to be set up and remain up:

	[edit protocols mpls]
	aviva@R1# set label-switched-path R1-to-R6 priority 1 3
	aviva@R1# set label-switched-path R1-to-R4 priority 4 5

Finally, set up the least important LSP, the one least like to be set up and most likely to be torn down if there is insufficient bandwidth:

	[edit protocols mpls]
	aviva@R1# set label-switched-path R1-to-R5-low priority 7 7

Discussion

When you offer a higher level of service for some customers, you want RSVP to be able to establish those customers' LSP at all times, even when there might not be enough bandwidth available on some links because other LSPs are already established. To provide this level of service, you can prioritize each customer's LSP so that some are more important than others. Then, when RSVP calculates the path and sets up the LSP, RSVP will always be able to establish the more important LSPs, even at the cost of tearing down a less important LSP. The relative LSP priorities are determined in advance, when RSVP is establishing the LSP, not when traffic is being forwarded. If a link has insufficient bandwidth, RSVP establishes the more important (higher-priority) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required