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

16.1. Configuring PIM-SM

Problem

You want to configure the router to support multicast within your AS.

Solution

Turn on PIM-SM on the router's interfaces:

	[edit protocols pim]
	aviva@RouterA# set interface all

Disable PIM on the router's out-of-band management interface. On J-series routers, disable PIM on the fe-0/0/0 interface:

	[edit protocols pim]
	aviva@RouterA# set interface fe-0/0/0.0 disable

On M-series and T-series routers, disable it on fxp0:

	[edit protocols pim]
	aviva@R1# set interface fxp0.0 disable

When you turn on PIM-SM, the JUNOS software automatically enables IGMP Version 2 on all LAN interfaces.

Discussion

Setting up PIM-SM on the router is very straightforward. In the PIM protocol configuration, specify the interfaces on which you want PIM to run. If you want the router to be a DR or RP, it must have a services PIC of some kind ( Tunnel Services, Link Services, or AS PIC) to encapsulate and de-encapsulate PIM messages. The J-series and M7i routers, which are the routers used to create the recipes in this book, are the two exceptions. J-series routers can perform the encapsulation and de-encapsulation without a tunnel or services PIC, and the M7i routers have built-in AS PICs. Check for the PICs by looking at the router's hardware inventory:

	aviva@R1> show chassis hardware Hardware inventory: Item Version Part number Serial number Description Chassis 29623 M7i Midplane REV 03 710-008761 CA6265 M7i Midplane Power Supply 0 Rev 04 740-008537 PG10733 AC Power Supply Routing Engine ...

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