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

163
Device Interface
IP address
Switch C
VLAN-interface 200
10.110.2.2/24
Switch C
VLAN-interface 104
192.168.3.1/24
Switch D
VLAN-interface 300
10.110.5.1/24
Switch D
VLAN-interface 101
192.168.1.2/24
Switch D
VLAN-interface 105
192.168.4.2/24
Switch E
VLAN-interface 104
192.168.3.2/24
Switch E
VLAN-interface 103
192.168.2.2/24
Switch E
VLAN-interface 102
192.168.9.2/24
Switch E
VLAN-interface 105
192.168.4.1/24
Configuration procedure
1.
Configure the IP address and subnet mask for each interface as per
. (Details not shown.)
2.
Configure OSPF on the switches in the PIM-SM domain to ensure network-layer reachability
among them. (Details not shown.)
3.
Enable IP multicast routing, and enable PIM-SM and IGMP:
# 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] 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
# Enable IP multicast routing, PIM-SM, and IGMP on Switch B and Switch C in the same way.
(Details not shown.)
# Enable IP multicast routing and PIM-SM on Switch D and Switch E in the same way. (Details not
shown.)
4.
Configure a C-BSR and a C-RP:
# On Switch D, configure the service scope of RP, specify a C-BSR and a C-RP, and set the hash
mask length to 32 and the priority of the C-BSR to 10.
[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 32 10