R3303-HP HSR6800 Routers IP Multicast Command Reference
167
acl-number: Specifies a basic ACL number 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.
bidir: Configures the static RP to serve multicast groups in BIDIR-PIM. Without this argument, the static RP
serves groups in PIM-SM.
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 multiple times. However, if you execute this
command multiple times and specify the same static RP address or reference the same ACL rule, the most
recent configuration takes effect. 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
# In VPN instance mvpn, 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 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 vpn-instance mvpn
[Sysname-pim-mvpn] static-rp 11.110.0.6 2001 preferred
Related commands
• auto-rp enable
• display pim rp-info
timer hello (PIM view)
Use timer hello to configure the hello interval globally.
Use undo timer hello to restore the default.