Configuring IP Multicast Routing

IP Multicast Configuration Examples

The configurations for Router A and Router C are as follows:

Router A—First Hop Router Configuration

interface ethernet 0 ip directed-broadcast

ip multicast helper-map broadcast 224.5.5.5 120 ip pim dense-mode

!

access-list 120 permit udp any any eq 4000 access-list 120 deny udp any any

ip forward-protocol udp 4000

Router C—Last Hop Router Configuration

interface ethernet 2 ip directed-broadcast

ip multicast helper-map 224.5.5.5 178.21.34.255 135 ip pim dense-mode

!

access-list 135 permit udp any any eq 4000 access-list 135 deny udp any any

ip forward-protocol udp 4000

Stub IP Multicast Example

The following example shows how to configure stub IP multicast routing for Router A. Figure 74 illustrates the example. On stub Router A, the interfaces must be configured for PIM dense mode. The helper address is configured on the host interfaces. Central site Router B can be configured for either PIM sparse mode or dense mode. The access list on Router B denies any PIM messages from Router A.

Figure 74 Stub IP Multicast Routing Scenario

Stub region

 

 

 

Router A

Router B

 

 

Host

10.0.0.1

10.0.0.2

 

 

 

 

 

 

 

 

Stub (leaf) router in

Central router denies

 

 

 

 

 

 

PIM dense mode

PIM messages

 

 

 

 

 

 

 

 

 

from Router A

 

 

 

Host

 

 

 

 

 

 

 

 

43283

The configurations for Router A and Router B are as follows:

Router A Configuration

ip multicast-routing ip pim dense-mode

ip igmp helper-address 10.0.0.2

Cisco IOS IP Configuration Guide

IPC-456

Page 502
Image 502
Cisco Systems 78-11741-02 manual Stub IP Multicast Example, Router A-First Hop Router Configuration, IPC-456