R3303-HP HSR6800 Routers IP Multicast Configuration Guide

35
Figure 14 Network diagram
Configuration procedure
1. Assign an IP address and subnet mask to each interface according to Figure 14. (Details not
shown.)
2. On Router A, enable IP multicast routing, enable PIM-DM on each interface, and enable IGMP on
Ethernet 1/1.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] igmp enable
[RouterA-Ethernet1/1] pim dm
[RouterA-Ethernet1/1] quit
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] pim dm
[RouterA-Ethernet1/2] quit
3. Configure Router B:
# Enable IGMP snooping globally.
<RouterB> system-view
[RouterB] igmp-snooping
[RouterB-igmp-snooping] quit
# Create VLAN 100, assign GigabitEthernet 2/0/1 through GigabitEthernet 2/0/4 to this VLAN,
and enable IGMP snooping and the function of dropping unknown multicast traffic in the VLAN.
[RouterB] vlan 100
[RouterB-vlan100] port gigabitethernet 2/0/1 to gigabitethernet 2/0/4
[RouterB-vlan100] igmp-snooping enable
[RouterB-vlan100] igmp-snooping drop-unknown
[RouterB-vlan100] quit
# Configure a multicast group filter so that the hosts in VLAN 100 can join only the multicast group
224.1.1.1.
[RouterB] acl number 2001