F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
658
Syntax
static-rp rp-address [ acl-number ] [ preferred ]
undo static-rp rp-address
Default
No static RP is configured.
Views
Public network PIM view
Default command level
2: System level
Parameters
rp-address: Specifies the IP address of the static RP to be configured. This address must be a real, valid
unicast IP address, rather than an address on the 127.0.0.0/8 segment.
acl-number: Specifies a basic ACL, in the range of 2000 to 2999. If you provide this argument, the
configured static RP will serve only those groups that pass the ACL filtering. Otherwise, the configured
static RP will serve the all-system group 224.0.0.0/4.
preferred: Gives priority to the static RP if the static RP conflicts with the dynamic RP. If you do not include
the preferred keyword in your command, the dynamic RP has priority, and the static RP takes effect only
if no dynamic RP exists in the network or when the dynamic RP fails.
Usage guidelines
PIM-SM or PIM-DM cannot be enabled on an interface that serves as a static RP.
When the ACL rule applied on a static RP changes, a new RP must be elected for all the multicast groups.
You can configure multiple static RPs by using this command repeatedly. However, if you execute this
command multiple times and specify the same static RP address or reference the same ACL rule, the last
configuration overrides the previous one. If you have configured multiple static RPs for the same multicast
group, the one that has the highest IP address serves the multicast group.
You can configure up to 50 static RPs on the same device.
Examples
# On the public network, configure the interface with the IP address 11.110.0.6 to be a static RP that
serves the multicast groups in the address range of 225.1.1.0/24 defined in basic ACL 2001, and give
priority to this static RP in the case of static/dynamic RP conflict.
<Sysname> system-view
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 225.1.1.0 0.0.0.255
[Sysname-acl-basic-2001] quit
[Sysname] pim
[Sysname-pim] static-rp 11.110.0.6 2001 preferred
Related commands
auto-rp enable
display pim rp-info