7. (Optional) Set the BSR boundary on the interfaces connected to the Internet. The Bootstrap
message cannot pass through the BSR boundary; therefore, the BSR serves only this PIM-
SM domain. In this manner, multicast services can be controlled effectively.
8. (Optional) Configure range of SSM group addresses on each Switch. Ensure that Switches
in the PIM-SM domain provide services only for multicast groups in the range of SSM
group addresses. In this manner, multicast can be controlled effectively.
NOTE
This configuration example describes only the commands used to configure PIM-SM.
Data Preparation
To complete the configuration, you need the following data:
l Address of multicast group G: 225.1.1.1/24
l Address of multicast group S: 10.110.5.100/24
l Version of the IGMP protocol running between routers and hosts: IGMPv3
l Range of SSM group addresses: 232.1.1.0/24
Procedure
Step 1 Configure the IP address of each interface and the unicast routing protocol.
# Configure IP addresses and masks of interfaces on the Switches according to Figure 6-2.
Configure OSPF between Switches to ensure that the Switches can communicate at the network
layer and update routes through the unicast routing protocol.
For details on how to configure IP addresses of interfaces, see IP Addresses Configuration in
the Quidway S7700 Smart Routing Switch  Configuration Guide - IP Service. For details on how
to configure OSPF, see OSPF Configuration in the Quidway S7700 Smart Routing Switch
Configuration Guide - IP Routing.
Step 2 Enable multicast on all Switches and PIM-SM on all interfaces.
# Enable multicast on all the Switches and enable PIM-SM on all interfaces. The configurations
of SwitchB, SwitchC, and SwitchD are similar to the configuration of SwitchA, and are not
provided here.
[SwitchA] multicast routing-enable
[SwitchA] interface vlanif 101
[SwitchA-Vlanif101] pim sm
[SwitchA-Vlanif101] quit
[SwitchA] interface vlanif 100
[SwitchA-Vlanif100] pim sm
[SwitchA-Vlanif100] quit
[SwitchA] interface vlanif 200
[SwitchA-Vlanif200] pim sm
[SwitchA-Vlanif200] quit
Step 3 Enable IGMP on the interfaces connected to hosts.
# Enable IGMP on the interface connecting SwitchA to hosts. The configurations of SwitchB,
SwitchC, and SwitchD are similar to configuration of SwitchA, and are not provided here.
[SwitchA] interface vlanif 101
[SwitchA-Vlanif101] igmp enable
[SwitchA-Vlanif101] igmp version 3
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
198