Configuring Bidirectional PIM

Bidir-PIM Configuration Example

Monitoring and Maintaining Bidir-PIM

To display bidir-PIM information, use the following commands in EXEC mode, as needed:

Command

Purpose

 

 

Router# show ip pim interface [type number] [df

Displays information about the elected DF for each RP of

count] [rp-address]

an interface, along with the unicast routing metric

 

associated with the DF.

 

 

Router# show ip pim rp [mapping metric] [rp-address]

Displays information about configured RPs, learned via

 

Auto-RP or BSR, along with their unicast routing metric.

 

 

Bidir-PIM Configuration Example

By default a bidirectional RP advertises all groups as bidirectional. An access list on the RP can be used to specify a list of groups to be advertised as bidirectional. Groups with the deny keyword will operate in dense mode. A different, nonbidirectional RP address is required for groups that operate in sparse mode, because a single access list only allows either a permit or deny keyword.

The following example shows how to configure an RP for both sparse mode and bidirectional mode groups. 224/8 and 227/8 are bidirectional groups, 226/8 is sparse mode, and 225/8 is dense mode. The RP must be configured to use different IP addresses for the sparse mode and bidirectional mode operations. Two loopback interfaces are used to allow this configuration. The addresses of these loopback interfaces must be routed throughout the PIM domain such that the other routers in the PIM domain can receive Auto-RP announcements and communicate with the RP.

ip multicast-routing !Enable IP multicast routing ip pim bidir-enable !Enable bidir-PIM

!

interface loopback 0

description One Loopback adddress for this routers Bidir Mode RP function ip address 10.0.1.1 255.255.255.0

ip pim sparse-dense-mode

!

interface loopback 1

description One Loopback adddress for this routers Sparse Mode RP function ip address 10.0.2.1 255.255.255.0

ip pim sparse-dense-mode

ip pim send-rp-announce Loopback0 scope 10

group-list 45 bidir

ip pim send-rp-announce Loopback1 scope 10

group-list 46

ip pim send-rp-discovery scope 10

 

access-list 45

permit 224.0.0.0 0.255.255.255

access-list 45

permit

227.0.0.0 0.255.255.255

access-list 45

deny

225.0.0.0 0.255.255.255

access-list 46

permit 226.0.0.0 0.255.255.255

Cisco IOS IP Configuration Guide

IPC-476

Page 522
Image 522
Cisco Systems 78-11741-02 manual Bidir-PIM Configuration Example, Monitoring and Maintaining Bidir-PIM, IPC-476