R3303-HP HSR6800 Routers IP Multicast Configuration Guide
147
# Enable IP multicast routing, PIM-DM, and IGMP on Router B and Router C in the same way.
(Details not shown.)
# Enable IP multicast routing on Router D, and enable PIM-DM on each interface.
<RouterD> system-view
[RouterD] multicast routing-enable
[RouterD] interface gigabitethernet 2/1/0
[RouterD-GigabitEthernet2/1/0] pim dm
[RouterD-GigabitEthernet2/1/0] quit
[RouterD] interface gigabitethernet 2/1/3
[RouterD-GigabitEthernet2/1/3] pim dm
[RouterD-GigabitEthernet2/1/3] quit
[RouterD] interface gigabitethernet 2/1/1
[RouterD-GigabitEthernet2/1/1] pim dm
[RouterD-GigabitEthernet2/1/1] quit
[RouterD] interface gigabitethernet 2/1/2
[RouterD-GigabitEthernet2/1/2] pim dm
[RouterD-GigabitEthernet2/1/2] quit
4. Verify the configuration:
Use the display pim interface command to display PIM information on each interface. For
example:
# Display PIM information on Router D.
[RouterD] display pim interface
VPN-Instance: public net
Interface NbrCnt HelloInt DR-Pri DR-Address
GE2/1/0 0 30 1 10.110.5.1 (local)
GE2/1/3 1 30 1 192.168.1.2 (local)
GE2/1/1 1 30 1 192.168.2.2 (local)
GE2/1/2 1 30 1 192.168.3.2 (local)
Use the display pim neighbor command to display PIM neighboring relationship among the
routers. For example:
# Display PIM neighboring relationship on Router D.
[RouterD] display pim neighbor
VPN-Instance: public net
Total Number of Neighbors = 3
Neighbor Interface Uptime Expires Dr-Priority
192.168.1.1 GE2/1/3 00:02:22 00:01:27 1
192.168.2.1 GE2/1/1 00:00:22 00:01:29 3
192.168.3.1 GE2/1/2 00:00:23 00:01:31 5
Assume that Host A needs to receive the information addressed to multicast group G (225.1.1.1).
After the multicast source S (10.110.5.100/24) sends multicast packets to the multicast group G,
an SPT is established through traffic flooding. Routers on the SPT path (Router A and Router D) have
their (S, G) entries. Host A sends an IGMP report to Router A to join the multicast group G, and a
(*, G) entry is generated on Router A. You can use the display pim routing-table command to
display PIM routing table information on each router. For example:
# Display PIM routing table information on Router A.
[RouterA] display pim routing-table