24-21
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter24 Understanding and Conf iguring IP Multicast
Configuration Examples
Configuration Examples
The following sections provide IP multicast routing configuration examples:
PIM Dense Mode Example, page 24-21
PIM Sparse Mode Example, page 24-21
BSR Configuration Example, page 24-21

PIM Dense Mode Example

This example is a configuration of dense-mode PIM on an Ethernet interface:
ip multicast-routing
interface ethernet 0
ip pim dense-mode

PIM Sparse Mode Example

This example is a configuration of sparse-mode PIM. The RP router is th e 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

BSR Configuration Example

This example is a configuration of a candidate BSR, which also ha ppens to be a candidate RP:
version 11.3
!
ip multicast-routing
!
interface Ethernet0
ip address 171.69.62.35 255.255.255.240
!
interface Ethernet1
ip address 172.21.24.18 255.255.255.248
ip pim sparse-dense-mode
!
interface Ethernet2
ip address 172.21.24.12 255.255.255.248
ip pim sparse-dense-mode
!
router ospf 1
network 172.21.24.8 0.0.0.7 area 1
network 172.21.24.16 0.0.0.7 area 1
!
ip pim bsr-candidate Ethernet2 30 10
ip pim rp-candidate Ethernet2 group-list 5
access-list 5 permit 239.255.2.0 0.0.0.255