24-27
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter 24 Configuring IP Multicast Routing
Configuring IP Multicast Routing
This example shows how to configure the multilayer switch to advertise itself as a candidate RP to the
BSR in its PIM domain. Standard access list number 4 specifies the group prefix associated with the RP
that has the address identified by Gigabit Ethernet interface 0/2. That RP is responsible for the groups
with the prefix 239.
Switch(config)# ip pim rp-candidate gigabitethernet0/2 group-list 4
Switch(config)# access-list 4 permit 239.0.0.0 0.255.255.255
Using Auto-RP and a BSR
If you have non-Cisco PIMv2 routers that need to interoperate with Cisco PIMv1 routers and multilayer
switches, both Auto-RP and a BSR are required. We recommend that a Cisco PIMv2 router or multilayer
switch be both the Auto-RP mapping agent and the BSR.
If you must have one or more BSRs, we have these recommendations:
•
Configure the candidate BSRs as the RP-mapping agents for Auto-RP. For more information, see
the
“Configuring Auto-RP” section on page 24-18
and the
“Configuring Candidate BSRs” section
on page 24-25
.
•
For group prefixes advertised through Auto-RP, the PIMv2 BSR mechanism should not advertise a
subrange of these group prefixes served by a different set of RPs. In a mixed PIMv1 and PIMv2
domain, have backup RPs serve the same group prefixes. This prevents the PIMv2 DRs from
selecting a different RP from those PIMv1 DRs, due to the longest match lookup in the RP-mapping
database.
Beginning in privileged EXEC mode, follow these steps to verify the consistency of group-to-RP
mappings:
Monitoring the RP Mapping Information
To monitor the RP mapping information, use these commands in privileged EXEC mode:
•
show ip pim bsr displays information about the currently elected BSR.
•
show ip pim rp-hash group displays the RP that was selected for the specified group.
•
show ip pim rp [group-name | group-address | mapping] displays how the multilayer switch learns
of the RP (through the BSR or the Auto-RP mechanism).
Command
Purpose
Step 1
show ip pim rp [[group-name |
group-address] | mapping]
On any Cisco device, display the available RP mappings.
•
(Optional) For group-name, specify the name of the group about which to
display RPs.
•
(Optional) For group-address, specify the address of the group about which
to display RPs.
•
(Optional) Use the mapping keyword to display all group-to-RP mappings
of which the Cisco device is aware (either configured or learned from
Auto-RP).
Step 2
show ip pim rp-hash group
On a PIMv2 router or multilayer switch, confirm that the same RP is the one that
a PIMv1 system chooses.
For group, enter the group address for which to display RP information.