Implementing Multicast Routing on Cisco IOS XR Software Cisco ASR 9000 Series Routers
How to Implement Multicast Routing
MCC-30
Multicast Configuration Guide
OL-
8. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/0/CPU0::router# configure
Enters global configuration mode.
Step 2
router pim [address-family ipv4]
Example:
RP/0/0/CPU0:router(config)# router pim
Enters PIM configuration mode, or PIM address-family
configuration submode.
Step 3
auto-rp candidate-rp type instance scope
ttl-value [group-list access-list-name]
[interval seconds]
Example:
RP/0/0/CPU0:router(config-pim-ipv4)# auto-rp
candidate-rp GigabitEthernet0/1/0/1 scope 31
group-list
2
Configures an RP candidate that sends messages to the
CISCO-RP-ANNOUNCE multicast group (224.0.1.39).
• This example sends RP announcements out all
PIM-enabled interfaces for a maximum of 31 hops. The
IP address by which the router wants to be identified as
an RP is the IP address associated with GigabitEthernet
interface 0/1/0/1.
• Access list 2 designates the groups this router serves as
RP.
• If you specify group-list, you must configure the
optional access-list command.
Step 4
auto-rp mapping-agent type number scope
ttl-value [interval
seconds]
Example:
RP/0/0/CPU0::router(config-pim-ipv4)# auto-rp
mapping-agent GigabitEthernet0/1/0/1 scope 20
Configures the router to be an RP mapping agent on a
specified interface.
• 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 the mappings in an Auto-RP discovery
message to the well-known group
CISCO-RP-DISCOVERY (224.0.1.40).
• A PIM DR listens to this well-known group to
determine which RP to use.
• This example limits Auto-RP discovery messages to 20
hops.
Step 5
exit
Example:
RP/0/0/CPU0::router(config-pim-ipv4)# exit
Exits PIM configuration mode and returns the router to the
source configuration mode.
Step 6
ipv4 access-list name
Example:
RP/0/0/CPU0:router(config)# ipv4 access-list 2
(Optional) Defines the RP access list.