Statically configuring an RP to accept multicast traffic

A given static RP entry should be manually configured on all routers in the PIM-SM domain.

Syntax:

router pim rp-address [rp-ip-addr] [group-addr/group-mask] [override]

[no] router pim rp-address [rp-ip-addr][group-addr/group-mask] [overide]

[rp-ip-addr]

Statically specifies the IP address of the interface to use as an RP. Up to eight static RP IP addresses can be configured. (Each address can be entered multiple times for different multicast groups or group ranges.)

[group-addr/group-mask]

Specifies the multicast group or range of contiguous groups supported by the statically configured RP. Up to eight multicast group ranges can be configured.

[override]

Where a static RP and a C-RP are configured to support the same multicast group(s) and the multicast group mask for the static RP is equal to or greater than the same mask for the applicable C-RPs, this command assigns the higher precedence to the static RP, resulting in the C-RP operating only as a backup RP for the configured group. Without override, the C-RP has precedence over a static RP configured for the same multicast group(s.)

Configuring PIM-SM support in the router PIM context

This example assumes the following:

  • IP routing, IP multicast routing, and at least one routing method (RIP, OSPF, and/or static IP routes) are already configured in the global configuration context.

  • An IP routing method (RIP or OSPF) and PIM-sparse are already configured in the static VLAN context on which you want to support PIM-SM operation.


[NOTE: ]

NOTE: Routers configured for C-RP operation can also be configured for C-BSR operation.

Use of static RP operation must be identically configured on all PIM-SM routers in the domain.


Example of enabling PIM-SM in the router PIM context illustrates the following configuration steps for the router PIM context:

  • Enabling BSR operation on the router, including specifying a source IP address.

  • Enabling C-RP operation on the router.

  • Replacing the default multicast group range (all) with a smaller range (231.128.24.0/18) and a single group address (230.255.1.1/32.)

  • Enabling static RP with an override on this router for a single group address (231.128.64.255/32) within the range of the C-RP support for the 231.128.24.0 group.

  • Leaving the other router PIM fields in their default settings.

Example of enabling PIM-SM in the router PIM context

Example of enabling PIM-SM in the router PIM context

The next figure illustrates the results of the above commands in the router's running configuration.

Configuration results of the commands in Example of enabling PIM-SM in the router PIM context

HP Switch(pim)# show running configuration:
router pim
   bsr-candidate
   bsr-candidate source-ip-vlan 120 
   bsr-candidate priority 1
   rp-address 120.10.10.2 231.128.64.255 255.255.255.255
   rp-candidate
   rp-candidate source-ip-vlan 120
   rp-candidate group-prefix 230.255.1.1 255.255.255.255 
   rp-candidate group-prefix 231.128.64.0 
   255.255.192.0 rp-candidate hold-time 150
   exit