Operation Manual – Multicast
H3C S5600 Series Ethernet Switches
Chapter 4 PIM Configuration
4-26
III. Configuration procedure
1)
Configure the interface IP addresses and unicast routing protocol for each switch
Configure the IP address and subnet mask for each interface as per
Figure 4-8
.
Detailed configuration steps are omitted here.
Configure the OSPF protocol for interoperation among the switches in the PIM-SM
domain. Ensure the network-layer interoperation among Switch A, Switch B, Switch C,
Switch D and Switch E in the PIM-SM domain and enable dynamic update of routing
information among the switches through a unicast routing protocol. Detailed
configuration steps are omitted here.
2)
Enable IP multicast routing, and enable PIM-SM on each interface
# Enable IP multicast routing on Switch A, enable PIM-SM on each interface, and
enable IGMP on VLAN-interface 100, which connects Switch A to the stub network.
<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
[SwitchA-Vlan-interface102] quit
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.
3)
Configure a C-BSR and a C-RP
# Configure the service scope of RP advertisements and the positions of the C-BSR
and C-RP on Switch E.
<SwitchE> system-view
[SwitchE] acl number 2005
[SwitchE-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[SwitchE-acl-basic-2005] quit
[SwitchE] pim
[SwitchE-pim] c-bsr vlan-interface 102 24
[SwitchE-pim] c-rp vlan-interface 102 group-policy 2005
[SwitchE-pim] quit