A SERVICE OF

logo

33-21
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 33 Configuring IP Multicast
Configuring IP Multicast Routing
To configure a single static RP, perform this task:
Command or Action Purpose
Step 1
Switch> enable
Enables privileged EXEC mode.
Step 2
Switch# configure terminal
Enters global configuration mode.
Step 3
Switch(config)# ip multicast-routing
Enables IP multicast routing.
Step 4
Switch(config)# interface type number
Selects an interface that is connected to hosts on which PIM
can be enabled.
Step 5
Switch(config-if)# ip pim [sparse-mode |
sparse-dense-mode]
Enables PIM on an interface. You must use sparse mode.
Step 6
Repeat Steps 4 and 5 on every interface that uses IP
multicast.
Step 7
Switch(config-if)# exit
Returns to global configuration mode.
Step 8
Switch(config)# ip pim rp-address rp-address
[access-list] [override]
Configures the address of a PIM RP for a particular group.
Perform this step on any router.
The access-list argument specifies the number or name
of an access list that defines for which multicast groups
the RP should be used.
The override keyword specifies that if there is a
conflict between the RP configured with this command
and one learned by Auto-RP, the RP configured with
this command prevails.
Step 9
Switch(config)# end
Ends the current configuration session and returns to EXEC
mode.
Step 10
Switch# show ip pim rp [mapping] [rp-address]
(Optional) Displays RPs known in the network and shows
how the router learned about each RP.
Step 11
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 IGMP.
A receiver must be active on the network at the time
that this command is issued to ensure that receiver
information is present on the resulting display.
Step 12
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.