Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 49

33
Figure 14 Network diagram
Configuration procedure
1.
Configure an IP address and subnet mask for each interface as shown in
. (Details not
shown.)
2.
On Router A, enable IP multicast routing, enable PIM-DM on each Layer 3 interface, and enable
IGMP on GigabitEthernet 3/0/1.
[RouterA] multicast routing-enable
[RouterA] interface GigabitEthernet 3/0/1
[RouterA-GigabitEthernet3/0/1]port link-mode route
[RouterA-GigabitEthernet3/0/1] igmp enable
[RouterA-GigabitEthernet3/0/1] pim dm
[RouterA-GigabitEthernet3/0/1] quit
[RouterA] interface GigabitEthernet 3/0/2
[RouterA-GigabitEthernet3/0/2]port link-mode route
[RouterA-GigabitEthernet3/0/2] pim dm
[RouterA-GigabitEthernet3/0/2] quit
3.
Configure Device A:
# Enable IGMP snooping globally.
[DeviceA] igmp-snooping
[DeviceA-igmp-snooping] quit
# Create VLAN 100, assign GigabitEthernet 3/0/1 through GigabitEthernet 3/0/4 to this VLAN,
and enable IGMP snooping and the function of dropping unknown multicast traffic in the VLAN.
[DeviceA] vlan 100
[DeviceA-vlan100] port GigabitEthernet 3/0/1 to GigabitEthernet 3/0/4
[DeviceA-vlan100] igmp-snooping enable
[DeviceA-vlan100] igmp-snooping drop-unknown
[DeviceA-vlan100] quit