3. Configure static multicast RPF routes on S9300-B and S9300-C.
Data Preparation
To complete the configuration, you need the following data:
l IP address of Source2
l RPF interface, VLANIF 40, through which S9300-B connects to Source 2 and the RPF
neighbor, namely, S9300-A
l RPF interface, VLANIF 20, through which S9300-C connects to Source 2 and the RPF
neighbor, namely, S9300-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 S9300.
# Configure the IP addresses and masks on the interfaces on each S9300 according to Figure
6-2. S9300-B and S9300-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 S9300s and PIM-DM on all interfaces.
# Enable multicast on all S9300s, and PIM-DM on all interfaces. Enable the IGMP function on
the interfaces connected to hosts.
[S9300-A] multicast routing-enable
[S9300-A] interface vlanif11
[S9300-A-Vlanif11] pim dm
[S9300-A-Vlanif11] quit
[S9300-A] interface vlanif 40
[S9300-A-Vlanif40] pim dm
[S9300-A-Vlanif40] quit
[S9300-B] multicast routing-enable
[S9300-B] interface vlanif 20
[S9300-B-Vlanif20] pim dm
[S9300-B-Vlanif20] quit
[S9300-B] interface vlanif 13
[S9300-B-Vlanif13] pim dm
[S9300-B-Vlanif13] quit
[S9300-B] interface vlanif 40
[S9300-B-Vlanif40] pim dm
[S9300-B-Vlanif40] quit
[S9300-C] multicast routing-enable
[S9300-C] interface vlanif 20
[S9300-C-Vlanif20] pim dm
[S9300-C-Vlanif20] quit
[S9300-C] interface vlanif 12
[S9300-C-Vlanif12] pim dm
[S9300-C-Vlanif12] igmp enable
[S9300-C-Vlanif12] quit
# Source 1 (10.1.3.2/24) and Source 2 (10.1.5.2/24) send multicast data to the multicast group
G (225.1.1.1). The receiver joins multicast group G. Therefore, the receiver can receive the
multicast data sent by Source1, but cannot receive the multicast data sent by Source2.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Multicast 6 Multicast Route Management
Issue 01 (2009-07-28) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6-21