Configuring Auto-RP to Automate Group-to-RP Mappings
This task configures the Auto-RP mechanism to automate the distribution of group-to-RP mappings in your
network. In a network running Auto-RP, at least one router must operate as an RP candidate and another
router must operate as an RP mapping agent. The VRF interface on Cisco ASR 9000 Series Routers cannot
be an auto-rp candidate- rp.
SUMMARY STEPS
1.
configure
2.
router pim [address-family ipv4]
3.
auto-rp candidate-rp type instance scope ttl-value [group-list access-list-name] [interval seconds] bidir
4.
auto-rp mapping-agent type number scope ttl-value [interval seconds]
5.
exit
6.
ipv4 access-list name
7.
[sequence-number] permit source [source-wildcard]
8.
commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Enters PIM configuration mode, or PIM address-family configuration
submode.
router pim [address-family ipv4]
Example:
RP/0/RSP0/CPU0:router(config)# router pim
Step 2
Configures an RP candidate that sends messages to the
CISCO-RP-ANNOUNCE multicast group (224.0.1.39).
auto-rp candidate-rp type instance scope
ttl-value [group-list access-list-name] [interval
seconds] bidir
Step 3
•
This example sends RP announcements out all PIM-enabled
interfaces for a maximum of 31 hops. The IP address by which
Example:
RP/0/RSP0/CPU0:router(config-pim-ipv4)#
the router wants to be identified as an RP is the IP address
associated with GigabitEthernet interface 0/1/0/1.
auto-rp candidate-rp
•
Access list 2 designates the groups this router serves as RP.
GigabitEthernet0/1/0/1 scope 31
group-list 2 bidir
•
If you specify group-list, you must configure the optional
access-list command.
Configures the router to be an RP mapping agent on a specified
interface.
auto-rp mapping-agent type number scope
ttl-value [interval seconds]
Step 4
Example:
RP/0/RSP0/CPU0:router(config-pim-ipv4)#
•
After the router is configured as an RP mapping agent and
determines the RP-to-group mappings through the
CISCO-RP-ANNOUNCE (224.0.1.39) group, the router sends
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 5.1.x
56
Implementing Layer-3 Multicast Routing on Cisco IOS XR Software
Configuring Auto-RP to Automate Group-to-RP Mappings