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). PIM-SM supports a maximum of 8 static RPs per VRF.

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

Command context

config-pim

Parameters

<IP-ADDR>

Specifies the address of the static RP in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255.

<GRP-ADDR>

Specifies the multicast group address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255.

<GRP-MASK>

Specifies the address mask in CIDR format (x), where x is a decimal number from 0 to 128.

override

Specifies higher precedence to static RP over Candidate RP.

Authority

Administrators or local user group members with execution rights for this command.

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