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.6. Setting Up RSVP-Signaled LSPs

Problem

You want to use RSVP as the signaling protocol so you can implement some of the traffic engineering features available only with RSVP, including protecting traffic links.

Solution

For each MPLS LSP, configure the ingress, transit, and egress routers on the path. On the ingress router, first configure the interface to support MPLS addressing:

	[edit interfaces]
	aviva@R1# set so-0/0/2 unit 0 family mpls

Then enable the MPLS protocol on the interface:

	[edit protocols]
	aviva@R1# set mpls interface so-0/0/2
	aviva@R1# set mpls interface fxp0.0 disable

Finally, turn on RSVP as the signaling protocol:

	[edit protocols]
	aviva@R1# set rsvp interface so-0/0/2

On the transit and egress routers, turn on MPLS and RSVP in a similar fashion. R6 is the egress router:

	[edit interfaces]
	aviva@R6# set so-0/0/3 unit 0 family mpls

	[edit protocols]
	aviva@R6# set mpls interface so-0/0/3
	aviva@R6# set mpls interface fxp0.0 disable
	aviva@R6# set rsvp interface so-0/0/3
	aviva@R6# set rsvp interface fxp0.0 disable

R3 is the transit router:

	[edit interfaces]
	aviva@R3# set so-0/0/2 unit 0 family mpls
	aviva@R3# set so-0/0/3 unit 0 family mpls

	[edit protocols]
	aviva@R3# set mpls interface so-0/0/2
	aviva@R3# set mpls interface so-0/0/3
	aviva@R3# set mpls interface fxp0.0 disable
	aviva@R3# set rsvp interface so-0/0/2
	aviva@R3# set rsvp interface so-0/0/3
	aviva@R3# set  
rsvp interface fxp0.0 disable

Then, on the ingress router, set up the LSP:

	[edit protocols  
mpls]
	aviva@R1# set ...

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