R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
475
preferred: Specifies to give 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 will be given priority, and the static
RP takes effect only if no dynamic RP exists in the network or when the dynamic RP fails.
Description
Use the static-rp command to configure a static RP.
Use the undo static-rp command to configure a static RP.
By default, no static RP is configured.
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 carry out this
command multiple times and specify the same static RP address or reference the same ACL rule, the last
configuration will override the previous one. If multiple static RPs have been configured for the same
multicast group, the one with the highest IP address will be chosen to serve the multicast group.
You can configure up to 50 static RPs on the same device.
Related commands: display pim rp-info, auto-rp enable.
Examples
# In the public instance, configure the interface with the IP address 11.110.0.6 to be a static RP that serves
the multicast groups defined in ACL 2001, and give priority to this static RP in the case of static/dynamic
RP conflict.
<Sysname> system-view
[Sysname] pim
[Sysname-pim] static-rp 11.110.0.6 2001 preferred
timer hello (PIM view)
Syntax
timer hello interval
undo timer hello
View
Public instance PIM view
Default level
2: System level
Parameters
interval: Hello interval in seconds, with an effective range of 1 to 2,147,483,647.
Description
Use the timer hello command to configure the hello interval globally.
Use the undo timer hello command to restore the system default.
By default, hello messages are sent at the interval of 30 seconds.
Related commands: pim timer hello.