rp-address <IP-ADDR>

Syntax

rp-address <IP-ADDR> [<GRP-ADDR/GRP-MASK>] [override]

no rp-address <IP-ADDR> [<GRP-ADDR/GRP-MASK>] [override]

Description

Statically configures the router as the RP for a specified multicast group or range of multicast groups. This must be configured on all PIM-SM routers in the domain. If group address is not specified, it applies to all IPv4 multicast addresses (224.0.0.0 - 239.255.255.255).

The no form of this command removes static RP configuration and its precedence.

Command context

config-pim

Parameters

<IP-ADDR>

Specifies the IPv4 address of the static RP. Format: A.B.C.D

<GRP-ADDR/GRP-MASK>

Specifies the range of multicast group addresses associated with the static RP. Default: 224.0.0.0/4. Format: A.B.C.D/M

override

Specifies higher precedence to static RP over Candidate RP.

Authority

Administrators

Usage

Where a static RP and a C-RP are configured to support the same multicast groups 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 or groups.

Examples

switch(config)# router pim
switch(config-pim)# rp-address 40.0.0.4 230.0.0.4/24 ovverride
switch(config-pim)# rp-address 40.0.0.8 222.0.0.4/24
switch(config-pim)# no rp-address 40.0.0.4 230.0.0.4/24