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.1. Configuring LSPs Using LDP as the Signaling Protocol

Problem

You want to set up an LSP path through an IP network. Instead of setting up the path manually, you want to use LDP as the signaling protocol to establish and maintain the path.

Solution

For each LDP-signaled LSP, configure the ingress, transit, and egress routers on the path. On the ingress router, first configure the interface to support the MPLS address family:

	[edit interfaces]
	aviva@RouterG# set t1-4/0/0 unit 0 family mpls

Then enable the MPLS protocol on the interface:

	[edit protocols]
	aviva@RouterG# set mpls interface t1-4/0/0

Finally, turn on LDP as the signaling protocol:

	[edit protocols]
	aviva@RouterG# set ldp interface t1-4/0/0

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

	[edit interfaces]
	aviva@RouterF# set fe-0/0/1 unit 0 family mpls

	[edit protocols]
	aviva@RouterF# set mpls interface fe-0/0/1
	aviva@RouterF# set ldp interface fe-0/0/1

RouterJ is the transit router:

	[edit interfaces]
	aviva@RouterJ# set fe-1/0/1 unit 0 family mpls
	aviva@RouterJ# set t1-5/0/0 unit 0 family mpls

	[edit protocols]
	aviva@RouterJ# set mpls interface t1-5/0/0
	aviva@RouterJ# set mpls interface fe-1/0/1
	aviva@RouterJ# set ldp interface t1-5/0/0
	aviva@RouterJ# set ldp interface fe-1/0/1

Discussion

For MPLS to run on the routers in your network, you configure MPLS and a signaling protocol. This recipe uses LDP as the signaling protocol and the topology shown in Figure 14-5. Because ...

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