Configuration procedures – H3C Technologies H3C S3100 Series Switches User Manual
Page 347

5-3
Figure 5-1 Network diagram for IPv4 multicast user control policy configuration
Switch B
Receiver
Host A
Host B
Eth1/0/2
Eth1/0/3
Eth1/0/1
Source 1
1.1.1.1/24
Switch A
RADIUS server
2.1.1.1/24
Eth1/0/1
Vlan-int101
1.1.1.2/24
Eth1/0/2
Vlan-int102
2.1.1.2/24
Eth1/0/3
Vlan-int103
3.1.1.1/24
Configuration procedures
1) Configure IP addresses for interfaces
Configure an IP address and subnet mask for each interface as per
. The configuration steps
are omitted here.
2) Configure Switch A
# Create VLAN 101 through VLAN 103 and assign Ethernet 1/0/1 through Ethernet 1/0/3 to the four
VLANs respectively.
<SwitchA> system-view
[SwitchA] vlan 101
[SwitchA-vlan101] port ethernet 1/0/1
[SwitchA-vlan101] quit
[SwitchA] vlan 102
[SwitchA-vlan102] port ethernet 1/0/2
[SwitchA-vlan102] quit
[SwitchA] vlan 103
[SwitchA-vlan103] port ethernet 1/0/3
[SwitchA-vlan103] quit
# Enable IP multicast routing. Enable PIM-DM on VLAN-interface 101, and VLAN-interface 103, and
enable IGMP on VLAN-interface 103.
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim dm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 103
[SwitchA-Vlan-interface103] pim dm
[SwitchA-Vlan-interface103] igmp enable
[SwitchA-Vlan-interface103] quit
3) Configure Switch B
# Globally enable IGMP snooping.
<SwitchB> system-view