R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

444
To do... Use the command... Remarks
Enable IP multicast routing
multicast routing-enable
Required
Disable by default
Enter interface view
interface interface-type
interface-number
Enable PIM-SM pim sm
Required
Disabled by default
Configuring an RP
An RP can be manually configured or dynamically elected through the BSR mechanism. For a large PIM
network, static RP configuration is a tedious job. Generally, static RP configuration is just a backup means
for the dynamic RP election mechanism to enhance the robustness and operation manageability of a
multicast network.
1. Configuring a static RP
If there is only one dynamic RP 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 the routers in the PIM-SM domain.
Follow these steps to configure a static RP:
To do... Use the command... Remarks
Enter system view
system-view
Enter public instance PIM view
pim
Configure a static RP
static-rp rp-address [ acl-number ]
[ preferred ]
Required
No static RP by default
CAUTION:
To enable a static RP to work normally, you must perform this configuration on all the routers in the
PIM-SM domain and specify the same RP address.
2. Configuring a C-RP
In a PIM-SM 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. We recommend that you configure C-RPs on backbone routers.
To guard against C-RP spoofing, you need to configure a legal C-RP address range and the range of
multicast groups to be served on the BSR. In addition, because every C-BSR has a chance to become the
BSR, you need to configure the same filtering policy on all C-BSRs in the PIM-SM domain.
Follow these steps to configure a C-RP:
To do... Use the command... Remarks
Enter system view
system-view
Enter public instance PIM view
pim