Configuring an RP Router for PIM Sparse Mode and PIM Sparse-Dense
Mode
When you use the router for PIM sparse mode or
PIM sparse-dense mode, some VRs must act as RP routers. You can configure
static RP routers or configure the router to assign RP routers automatically.
To configure the router to assign RP routers automatically,
you must define several VRs as RP routers and one VR as an RP mapping
agent. RP routers send their announcement messages to the RP mapping
agent, which assigns groups to RP routers and resolves any conflicts.
The RP mapping agent notifies neighbors of the RP assigned to each
group.
Configuring a Static RP Router
If you want to control PIM more tightly, you can
configure a static RP router. To do so:
Configure an access list that specifies the multicast
groups that can use the static RP router.
host1(config)#access-list boston permit 228.0.0.0
15.255.255.255
Specify a static RP router.
host1(config)#ip pim rp-address 122.0.0.1 1 boston
Configuring an Auto-RP Router for PIM Sparse Mode
Two multicast groups, 224.0.1.39 and 224.0.1.40,
are reserved for forwarding auto-RP messages through the network.
When you configure an auto-RP router for PIM sparse mode, you must
assign a static RP router to these two groups. You can then specify
an RP mapping agent for other multicast groups.
To configure an auto-RP router for PIM sparse mode:
Configure a static RP to have priority over the auto-RP
for the groups that send auto-RP multicast messages.
Configuring an Auto-RP Router for PIM Sparse-Dense Mode
In PIM sparse-dense mode, you must prevent routers
from advertising auto-RP messages to the multicast groups 224.0.1.39
and 224.0.1.40, which are reserved for forwarding auto-RP messages
through the network. To configure an auto-RP router for PIM sparse-dense
mode:
Use to send auto-RP announcement messages from a router
you configured as an RP.
Specify an interface type and specifier, such as atm 3/0.
For details about interface types and specifiers, see Interface Types and Specifiers in JUNOSe Command Reference Guide.
The auto-RP announcement messages contain the IP address
for the interface that you specify.
Specify the number of hops for which the announcement
is valid; default value is 64.
Specify an access list that details which multicast groups
the RP can include in announcement messages.
Specify a time interval in the range 1–65535 seconds
to control how often the router sends announcements. The default is
60 seconds.
Use to configure the router as an RP mapping agent, which
records group-to-RP mappings and notifies PIM designated routers about
the mappings.
Specify the number of hops for which the RP discovery
message is valid; default value is 64.
To assign an interface from which the router sends auto-RP
discovery messages, specify an interface type and specifier, such
as atm 3/0. For details about interface types and specifiers, see Interface Types and Specifiers in JUNOSe Command Reference Guide.