28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Solution<br />

Set up PIM-DM on the domain’s routers:<br />

[edit protocols]<br />

aviva@RouterA# set pim interface all mode dense<br />

aviva@RouterA# set pim interface fe-0/0/0 disable<br />

<strong>Discussion</strong><br />

For a small network that has a dense population of receivers and can tolerate the periodic<br />

flooding of multicast packets, using PIM-DM is an easier solution than using<br />

PIM-SM. With a dense population of receivers, PIM will not need to do much SPT<br />

pruning, so you don’t need PIM-SM. Also, configuring PIM-DM is must simpler than<br />

configuring PIM-SM because you don’t have to set up RPs.<br />

As this recipe shows, to enable PIM-DM, just configure it on all the router’s network<br />

interfaces. You should explicitly disable it on the router’s management interface,<br />

either fe-0/0/0 (for J-series, as shown in this recipe) or fxp0 on M-series and T-series<br />

routers.<br />

Look at the router interfaces to verify that PIM is running:<br />

aviva@RouterA> show pim interfaces<br />

Instance: PIM.master<br />

Name Stat Mode IP V State Count DR address<br />

fe-0/0/1.0 Up Dense 4 2 DR 1 10.0.15.2<br />

lo0.0 Up Dense 4 2 DR 0 192.168.13.1<br />

se-0/0/2.0 Up Dense 4 2 P2P 1<br />

se-0/0/3.0 Up Dense 4 2 P2P 1<br />

The output confirms the configuration. All four router interfaces are listed as being<br />

up, and the Mode column shows they are all running dense mode. The V column indicates<br />

PIM Version 2. The three physical interfaces have each learned about one<br />

neighbor. You see that fe-0/0/1 is the DR for 10.0.15.2.<br />

Enabling the JUNOS implementation of PIM automatically turns on IGMPv2, so<br />

check the IGMP interfaces:<br />

aviva@RouterA> show igmp interface<br />

Interface: fe-0/0/1.0<br />

Querier: 10.0.15.1<br />

State: Up Timeout: 187 Version: 2 Groups: 0<br />

Interface: se-0/0/3.0<br />

Querier: 10.0.16.1<br />

State: Up Timeout: None Version: 2 Groups: 4<br />

Interface: se-0/0/2.0<br />

Querier: 10.0.21.1<br />

State: Up Timeout: None Version: 2 Groups: 4<br />

Configured Parameters:<br />

IGMP Query Interval: 125.0<br />

IGMP Query Response Interval: 10.0<br />

618 | Chapter 16: IP Multicast<br />

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

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!