Configuring a static rp, Configuring a c-rp, Enabling auto-rp – H3C Technologies H3C S12500 Series Switches User Manual
Page 158

142
•
In BIDIR-PIM, a static RP can be specified with a virtual IP address. For example, if the IP addresses
of the interfaces at the two ends of a link are 10.1.1.1/24 and 10.1.1.2/24, you can specify a virtual
IP address, like 10.1.1.100/24, for the static RP. As a result, the link becomes an RPL.
Configuring a static RP
If only one dynamic RP exists in a network, manually configuring a static RP can avoid communication
interruption due to single-point failures and avoid frequent message exchange between C-RPs and the
BSR.
Perform this configuration on all routers in the BIDIR-PIM domain.
To configure a static RP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter public network PIM view
or VPN instance PIM view.
pim [ vpn-instance
vpn-instance-name ]
N/A
3.
Configure a static RP for
BIDIR-PIM.
static-rp rp-address [ acl-number ]
[ preferred ] bidir
No static RP by default.
Configuring a C-RP
In a BIDIR-PIM domain, you can configure routers that intend to become the RP as C-RPs. The BSR collects
the C-RP information by receiving the C-RP-Adv messages from C-RPs or auto-RP announcements from
other routers and organizes the information into an RP-set, which is flooded throughout the entire network.
Then, the other routers in the network calculate the mappings between specific group ranges and the
corresponding RPs based on the RP-set. H3C recommends that you configure C-RPs on backbone routers.
To guard against C-RP spoofing, configure a legal C-RP address range and the range of multicast groups
to which the BSR is designated. In addition, because every C-BSR has a chance to become the BSR, you
must configure the same filtering policy on all C-BSRs in the BIDIR-PIM domain.
When you configure a C-RP, ensure a relatively large bandwidth between this C-RP and the other devices
in the BIDIR-PIM domain.
To configure a C-RP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter public network PIM view
or VPN instance PIM view.
pim [ vpn-instance vpn-instance-name ]
N/A
3.
Configure an interface to be a
C-RP for BIDIR-PIM.
c-rp interface-type interface-number
[ group-policy acl-number | priority
priority | holdtime hold-interval |
advertisement-interval adv-interval ] *
bidir
No C-RP is configured by
default.
Enabling auto-RP
Auto-RP announcement and discovery messages are addressed to the multicast group addresses
224.0.1.39 and 224.0.1.40 respectively. With auto-RP enabled on a device, the device can receive these
two types of messages and record the RP information carried in such messages.
To enable auto-RP: