38-20
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 38 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
Step 11
Switch(config)# ip pim rp-announce-filter
rp-list access-list group-list access-list
Filters incoming Auto-RP announcement messages coming
from the RP.
• Perform this step on the RP router only.
• Two example access lists that apply to this step could
be:
access-list 1 permit 10.0.0.1
access-list 1 permit 10.0.0.2
access-list 2 permit 224.0.0.0 15.255.255.255
Step 12
Switch(config)# interface type number
Selects an interface that is connected to hosts on which PIM
can be enabled.
Step 13
Switch(config-if)# interface ethernet 1
ip multicast boundary access-list
[filter-autorp]
Configures an administratively scoped boundary.
• Perform this step on the interfaces that are boundaries
to other routers.
• The access list is not shown in this task.
• An access list entry that uses the deny keyword creates
a multicast boundary for packets that match that entry.
Step 14
Switch(config-if)# end
Returns to EXEC mode.
Step 15
Switch# show ip pim autorp
(Optional) Displays the Auto-RP information.
Step 16
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 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