Pim Sparse Mode Example - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 37
Configuring IP Multicast

PIM Sparse Mode Example

This example is a configuration of sparse-mode PIM. The RP router is the router with the address
10.8.0.20.
ip multicast-routing
ip pim rp-address 10.8.0.20 1
interface ethernet 1
ip pim sparse-mode
Bidirectional PIM Mode Example
By default, a bidirectional RP advertises all groups as bidirectional. Use an access list on the RP to
specify a list of groups to be advertised as bidirectional. Groups with the deny keyword 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 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 sparse and bidirectional mode operations. Two loopback
interfaces are used to allow this configuration and the addresses of these interfaces must be routed
throughout the PIM domain so 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
!
interface loopback 0
description One Loopback address 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 address 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
access-list 46 permit 226.0.0.0 0.255.255.255
Sparse Mode with a Single Static RP Example
The following example sets the PIM RP address to 192.168.1.1 for all multicast groups and defines all
groups to operate in sparse mode:
ip multicast-routing
interface ethernet 1
ip pim sparse-mode
ip pim rp-address 192.168.1.1
no ip pim dm-fallback
The same RP cannot be used for both bidirectional and sparse mode groups.
Note
OL_28731-01
!Enable bidir-PIM
225.0.0.0 0.255.255.255
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Configuration Examples
37-29

Advertisement

Table of Contents
loading

Table of Contents