Switch C GE 1/0/0 VLANIF 20 10.1.2.1/24
GE 2/0/0 VLANIF 12 10.1.1.1/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the IP addresses of interfaces and the unicast routing protocol on each Switch.
2. Enable the multicast function on all routers, PIM-SM on all interfaces, and IGMP on the
interfaces connected to hosts.
3. Configure static multicast RPF routes on Switch B and Switch C.
Data Preparation
To complete the configuration, you need the following data:
l IP address of Source2
l RPF interface, VLANIF 40, through which Switch B connects to Source 2 and the RPF
neighbor, namely, Switch A
l RPF interface, VLANIF 20, through which Switch C connects to Source 2 and the RPF
neighbor, namely, Switch C
NOTE
This configuration example describes only the commands used to configure static multicast routes.
Procedure
Step 1 Configure the IP addresses of interfaces and the unicast routing protocol on each Switch.
# Configure the IP addresses and masks on the interfaces on each Switch according to Figure
9-2. Switch B and Switch C belong to the same OSPF area, and they can update routes between
them through the unicast routing protocol. The configuration procedure is not provided here.
Step 2 Enable multicast on all Switches and PIM-DM on all interfaces.
# Enable multicast on all Switches, and PIM-DM on all interfaces. Enable the IGMP function
on the interfaces connected to hosts.
[SwitchA] multicast routing-enable
[SwitchA] interface vlanif11
[SwitchA-Vlanif11] pim dm
[SwitchA-Vlanif11] quit
[SwitchA] interface vlanif 40
[SwitchA-Vlanif40] pim dm
[SwitchA-Vlanif40] quit
[SwitchB] multicast routing-enable
[SwitchB] interface vlanif 20
[SwitchB-Vlanif20] pim dm
[SwitchB-Vlanif20] quit
[SwitchB] interface vlanif 13
[SwitchB-Vlanif13] pim dm
[SwitchB-Vlanif13] quit
[SwitchB] interface vlanif 40
[SwitchB-Vlanif40] pim dm
[SwitchB-Vlanif40] quit
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 9 IPv4 Multicast Routing Management
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
344