GE 3/0/0 VLANIF 30 12.1.1.2/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 Switches, PIM-SM on all interfaces, and IGMP on the
interfaces at the host side.
3. Configure static multicast RPF routes on Switch B, and configure Switch C as the RPF
neighbor.
Data Preparation
To complete the configuration, you need the following data:
l IP address of the source
l Outgoing interface of the route from Switch B to Switch C: VLANIF 40
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-1. IP addresses must be configured on the VLANIF interfaces. OSPF runs between Switch A,
Switch B and Switch C, and the Switches can update routes among 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-SM on all interfaces. Enable the IGMP function
on the interfaces at the host side. The configurations of other Switches are similar to
configuration of Switch B, and are not provided here.
[SwitchB] multicast routing-enable
[SwitchB] interface vlanif 10
[SwitchB-Vlanif10] pim dm
[SwitchB-Vlanif10] quit
[SwitchB] interface vlanif 40
[SwitchB-Vlanif40] pim dm
[SwitchB-Vlanif40] quit
[SwitchB] interface vlanif 50
[SwitchB-Vlanif50] pim dm
[SwitchB-Vlanif50] igmp enable
[SwitchB-Vlanif50] quit
# Run the display multicast rpf-info command on Switch B to view the RPF information of
the source. The RPF routes are unicast routes, and the RPF neighbor is Switch A. The following
information is displayed:
[SwitchB] display multicast rpf-info 8.1.1.2
VPN-Instance: public net
RPF information about source 8.1.1.2:
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.
340