34
[RouterB-Pos5/0] pim dm
[RouterB-Pos5/0] quit
# Enable IP multicast routing on Router C, enable PIM-DM on each interface, and enable IGMP on
Ethernet 1/1.
<RouterC> system-view
[RouterC] multicast routing-enable
[RouterC] interface ethernet 1/1
[RouterC-Ethernet1/1] igmp enable
[RouterC-Ethernet1/1] pim dm
[RouterC-Ethernet1/1] quit
[RouterC] interface pos 5/0
[RouterC-Pos5/0] pim dm
[RouterC-Pos5/0] quit
3.
Configure a multicast group filter on Router A, so that the hosts connected to Ethernet 1/1 can join
only multicast group 224.1.1.1.
[RouterA] acl number 2001
[RouterA-acl-basic-2001] rule permit source 224.1.1.1 0
[RouterA-acl-basic-2001] quit
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] igmp group-policy 2001
[RouterA-Ethernet1/1] quit
Verifying the configuration
Use the
display igmp interface
command to view the IGMP configuration and operation status on each
router interface. For example:
# Display IGMP information on Ethernet 1/1 of Router B.
[RouterB] display igmp interface ethernet 1/1
Ethernet1/1(10.110.2.1):
IGMP is enabled
Current IGMP version is 2
Value of query interval for IGMP(in seconds): 60
Value of other querier present interval for IGMP(in seconds): 125
Value of maximum query response time for IGMP(in seconds): 10
Querier for IGMP: 10.110.2.1 (this router)
Total 1 IGMP Group reported
SSM mapping configuration example
Network requirements
As shown in
, the PIM-SM domain applies both the ASM model and SSM model for multicast
delivery. Router D's Ethernet 1/3 serves as the C-BSR and C-RP. The SSM group range is 232.1.1.0/24.
IGMPv3 runs on Router D's Ethernet 1/1. The receiver host runs IGMPv2, and does not support IGMPv3.
Therefore, the receiver host cannot specify expected multicast sources in its membership reports.
Source 1, Source 2, and Source 3 send multicast packets to multicast groups in the SSM group range. You
can configure the IGMP SSM mapping feature on Router D so that the receiver host will receive multicast
data from Source 1 and Source 3 only.