F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
625
[RouterA-Ethernet1/1] igmp enable
[RouterA-Ethernet1/1] pim sm
[RouterA-Ethernet1/1] quit
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] pim sm
[RouterA-Ethernet1/2] quit
[RouterA] interface pos 5/0
[RouterA-Pos5/0] pim sm
[RouterA-Pos5/0] quit
# Enable IP multicast routing, IGMP, and PIM-SM on Router B and Router C in the same way.
(Details not shown.)
# Enable IP multicast routing and PIM-SM on Router D and the firewall in the same way.
(Details not shown.)
d. Configure a C-BSR and a C-RP:
# On the firewall, 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.
<Firewall> system-view
[Firewall] acl number 2005
[Firewall-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[Firewall-acl-basic-2005] quit
[Firewall] pim
[Firewall-pim] c-bsr gigabitethernet 0/3 32 10
[Firewall-pim] c-rp gigabitethernet 0/3 group-policy 2005
[Firewall-pim] quit
# On Router 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 20.
<RouterD> system-view
[RouterD] acl number 2005
[RouterD-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[RouterD-acl-basic-2005] quit
[RouterD] pim
[RouterD-pim] c-bsr pos 5/2 32 20
[RouterD-pim] c-rp pos 5/2 group-policy 2005
[RouterD-pim] quit
e. Verifying the configuration
Use the display pim interface command to display PIM information on each interface. For
example:
# Display PIM information on Router A.
[RouterA] display pim interface
VPN-Instance: public net
Interface NbrCnt HelloInt DR-Pri DR-Address
Eth1/1 0 30 1 10.110.1.1 (local)
Eth1/2 1 30 1 192.168.1.2
Pos5/0 1 30 1 192.168.9.2
# Display information about the BSR and locally configured C-RP on Router A.
[RouterA] display pim bsr-info
VPN-Instance: public net