[SwitchB-Vlan-interface201] quit
# On Switch C, enable IP multicast routing.
<SwitchC> system-view
[SwitchC] multicast routing
[SwitchC-mrib] quit
# Enable IGMP on VLAN-interface 200.
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] igmp enable
[SwitchC-Vlan-interface200] quit
# Enable PIM-DM on VLAN-interface 202.
[SwitchC] interface vlan-interface 202
[SwitchC-Vlan-interface202] pim dm
[SwitchC-Vlan-interface202] quit
Configure a multicast group policy on Switch A so that the hosts connected to VLAN-interface
4.
100 can join only multicast group 224.1.1.1.
[SwitchA] acl number 2001
[SwitchA-acl-basic-2001] rule permit source 224.1.1.1 0
[SwitchA-acl-basic-2001] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp group-policy 2001
[SwitchA-Vlan-interface100] quit
Verifying the configuration
# Display IGMP information on VLAN-interface 200 of Switch B.
[SwitchB] display igmp interface vlan-interface 200
Vlan-interface200(10.110.2.1):
IGMP is enabled.
IGMP version: 2
Query interval for IGMP: 125s
Other querier present time for IGMP: 255s
Maximum query response time for IGMP: 10s
Querier for IGMP: 10.110.2.1 (This router)
IGMP groups reported in total: 1
IGMP SSM mapping configuration example
Network requirements
As shown in
•
OSPF runs on the network.
•
The PIM-SM domain uses both the ASM model and SSM model for multicast delivery.
VLAN-interface 104 on Switch D acts as the C-BSR and C-RP. The SSM group range is
232.1.1.0/24.
•
IGMPv3 runs on VLAN-interface 400 of Switch D. 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.
Figure
33:
88