Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
33-20
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 33 Configuring IP Multicast
Configuring IP Multicast Routing
This example illustrates how to configure Auto-RP:
Switch> enable
Switch# configure terminal
Switch(config)# ip multicast-routing
Switch(config)# interface ethernet 1
Switch(config-if)# ip pim sparse-mode
Switch(config-if)# end
Switch(config)# ip pim autorp listener
Switch(config)# ip pim send-rp-announce loopback0 scope 31 group-list 5
Switch(config)# ip pim send-rp-discovery loopback 1 scope 31
Switch(config)# ip pim rp-announce-filter rp-list 1 group-list 2
Switch(config)# interface ethernet 1
Switch(config-if)# ip multicast boundary 10 filter-autorp
Switch(config-if)# end
Switch# show ip pim autorp
Switch# show ip pim rp mapping
Switch# show ip igmp groups
Switch# show ip mroute cbone-audio
Configuring a Single Static RP
If you are configuring PIM sparse mode, you must configure a PIM RP for a multicast group. An RP can
either be configured statically in each device, or learned through a dynamic mechanism. This task
explains how to statically configure an RP, as opposed to the router learning the RP through a dynamic
mechanism such as Auto-RP.
PIM designated routers (DRs) forward data from directly connected multicast sources to the RP for
distribution down the shared tree. Data is forwarded to the RP in one of two ways. It is encapsulated in
register packets and unicast directly to the RP, or, if the RP has itself joined the source tree, it is multicast
forwarded per the RPF forwarding algorithm. Last hop routers directly connected to receivers may, at
their discretion, join themselves to the source tree and prune themselves from the shared tree.
A single RP can be configured for multiple groups that are defined by an access list. If no RP is
configured for a group, the router treats the group as dense using the PIM dense mode techniques. (You
can prevent this occurrence by configuring the no ip pim dm-fallback command.)
If a conflict exists between the RP configured with the ip pim rp-address command and one learned by
Auto-RP, the Auto-RP information is used, unless the override keyword is configured.
Step 17
Switch# show ip igmp groups [group-name |
group-address | interface-type
interface-number] [detail]
(Optional) Displays the multicast groups having receivers
that are directly connected to the router and that were
learned through Internet Group Management Protocol
(IGMP).
A receiver must be active on the network at the time
that this command is issued to ensure the presence of
receiver information on the resulting display.
Step 18
Switch# show ip mroute [group-address |
group-name] [source-address | source-name]
[interface-type interface-number] [summary]
[count] [active kbps]
(Optional) Displays the contents of the IP multicast routing
(mroute) table.
Command or Action Purpose