The static-rp command configures a static Rendezvous Point (RP).
The undo static-rp command restores the default configuration.
| Parameter | Description | Value |
|---|---|---|
| rp-address | Specifies address of a static RP. |
The address is in dotted decimal notation. It must be a legal unicast IP address and cannot be configured as an address of network segment 127.0.0.0/8. |
| basic-acl-number | Specifies the basic ACL that is used to control the range of multicast groups served by a static RP. |
The value is an integer that ranges from 2000 to 2999. |
| preferred | Indicates that the static RP is preferred. |
- |
By default, no static RP is configured.
Up to 50 static RPs can be configured by using this command repeatedly, but the same ACL cannot correspond to multiple static RPs.
If the ACL is not referenced, only one static RP can be configured.
When only one RP exists in the network, you can manually configure a static RP rather than a dynamic RP. This can reduce bandwidth used to exchange information between the Candidate-Rendezvous Point (C-RP) and the BootStrap router (BSR). To make the static RP work normally, run the static-rp command on all FWs in the PIM-SM domain.
If the address of the static RP is the address of an interface in the Up state on the local host, the local host acts as the static RP. PIM does not need to be enabled on the interface of the static RP.
If the ACL is not specified, the static RP serves all the multicast groups of 224.0.0.0/4. If the ACL is specified but the ACL rules are not set, the static RP serves all the groups of 224.0.0.0/4. Otherwise, the static RP serves only the multicast groups that pass the filtering of the ACL.
If the command used to configure the static RP does not contain preferred, FWs apply BSR mechanism to elect a dynamic RP. If the dynamic RP is not configured in the network or the dynamic RP is invalid, the static RP becomes valid. If the command used to configure static RP contains preferred, the static RP is preferred.
If this command is used many times, multiple static RPs are configured. In the case that multiple static RPs serve a group, the RP with the largest IP address is selected to serve the group. If rp-address of the RPs is identical, the latest RP replaces the previous one.
The static-rp and acl commands are used together. In the ACL view, you can set the address range of multicast groups that are served by the static RP by specifying the source parameter in the rule command.
# Configure the FW with the address of 10.110.0.6 as the static RP that serves the groups defined by ACL 2001, and set the static RP to be preferred.
<sysname> system-view [sysname] acl number 2001 [sysname-acl-basic-2001] rule permit source 225.1.0.0 0.0.255.255 [sysname-acl-basic-2001] quit [sysname] multicast routing-enable [sysname] pim [sysname-pim] static-rp 10.110.0.6 2001 preferred