R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
466
[DeviceA-GigabitEthernet0/1] pim sm
[DeviceA-GigabitEthernet0/1] quit
[DeviceA] interface gigabitEthernet 0/0
[DeviceA-GigabitEthernet0/0] pim sm
[DeviceA-GigabitEthernet0/0] quit
[DeviceA] interface gigabitEthernet 0/2
[DeviceA-GigabitEthernet0/2] pim sm
[DeviceA-GigabitEthernet0/2] quit
The configuration on Device B and Device C is similar to that on Device A. The configuration on Firewall
D and Firewall E is also similar to that on Device A except that it is not necessary to enable IGMP on the
corresponding interfaces on these two devices.
3. Configure a C-BSR and a C-RP
# On Firewall D, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and set
the hash mask length to 32 and the priority of the C-BSR to 10.
<FirewallD> system-view
[FirewallD] acl number 2005
[FirewallD-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[FirewallD-acl-basic-2005] quit
[FirewallD] pim
[FirewallD-pim] c-bsr GigabitEthernet 0/2 32 10
[FirewallD-pim] c-rp GigabitEthernet 0/2 group-policy 2005
[FirewallD-pim] quit
# On Firewall E, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and set
the hash mask length to 32 and the priority of the C-BSR to 20.
<FirewallE> system-view
[FirewallE] acl number 2005
[FirewallE-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[FirewallE-acl-basic-2005] quit
[FirewallE] pim
[FirewallE-pim] c-bsr GigabitEthernet 0/2 32 20
[FirewallE-pim] c-rp GigabitEthernet 0/2 group-policy 2005
[FirewallE-pim] quit
4. Verify the configuration
Carry out the display pim interface command to view the PIM configuration and running status on each
interface. For example:
# Verify the PIM configuration information on Device A.
[DeviceA] display pim interface
VPN-Instance: public net
Interface NbrCnt HelloInt DR-Pri DR-Address
GE0/1 0 30 1 10.110.1.1 (local)
GE0/0 1 30 1 192.168.1.2
GE0/2 1 30 1 192.168.9.2
To view the BSR election information and the locally configured C-RP information in effect on a device,
use the display pim bsr-info command. For example:
# View the BSR information and the locally configured C-RP information in effect on Device A.
[DeviceA] display pim bsr-info