H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples

Multicast Protocol Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135
Chapter 2 Multicast Protocol
Configuration Examples
2-11
III. Configuring the multicast protocols
# Enable IP multicast routing on Switch A, enable PIM-SM on each interface, and then
enable IGMPv2 on VLAN-interface 100.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface Vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] pim sm
Note:
It is necessary to enable IGMP only on interfaces with attached multicast receivers. As
the default IGMP version is IGMPv2, it is not necessary to use the version configuration
command on the interface.
The configuration on Switch B and Switch C is similar to that on Switch A. The
configuration on Switch D and Switch E is also similar to that on Switch A except that it
is not necessary to enable IGMP on the corresponding interfaces on these two
switches.
# Configure the group range to be served by the RP and configure a C-BSR and a
C-RP on Switch D.
<SwitchD> system-view
[SwitchD] acl number 2005
[SwitchD-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[SwitchD-acl-basic-2005] quit
[SwitchD] pim
[SwitchD-pim] c-bsr vlan-interface 105 24 2
[SwitchD-pim] c-rp vlan-interface 105 group-policy 2005 priority 2
[SwitchD-pim] quit
# Configure the group range to be served by the RP and configure a C-BSR and a
C-RP on Switch E.
<SwitchE> system-view
[SwitchE] acl number 2005