l Interface connected to the router and the VLAN that the interface belongs to
l Interfaces connected to hosts and the VLANs that the interfaces belong to
l IP address of the multicast group in entries of the static multicast VLAN
Procedure
Step 1 Create a multicast VLAN.
<S9300> system-view
[S9300] igmp-snooping enable
[S9300] vlan 3
[S9300-vlan3] igmp-snooping enable
[S9300-vlan3] multicast-vlan enable
[S9300-vlan3] quit
Step 2 Create user VLANs.
[S9300] vlan batch 100 200
Step 3 Configure the mapping the multicast VLAN and the user VLANs.
[S9300] vlan 3
[S9300-vlan3] multicast-vlan user-vlan 100 200
[S9300-vlan3] quit
Step 4 Configure the VLAN that the interfaces of the S9300 belong to and static multicast entries.
# Allow packets from VLAN 3 to pass through GE 3/0/1.
[S9300] interface gigabitethernet 3/0/1
[S9300-GigabitEthernet3/0/1] port hybrid tagged vlan 3
[S9300-GigabitEthernet3/0/1] quit
# Add GE 1/0/2 to VLAN 100 and add the interface to the multicast groups.
[S9300] interface gigabitethernet 1/0/2
[S9300-GigabitEthernet1/0/2] port hybrid tagged vlan 100
[S9300-GigabitEthernet1/0/2] l2-multicast static-group group-address 225.0.0.1
vlan 100
[S9300-GigabitEthernet1/0/2] l2-multicast static-group group-address 225.0.0.2
vlan 100
[S9300-GigabitEthernet1/0/2] l2-multicast static-group group-address 225.0.0.3
vlan 100
[S9300-GigabitEthernet1/0/2] quit
# Add GE 1/0/3 to VLAN 200 and add the interface to the multicast groups.
[S9300] interface gigabitethernet 1/0/3
[S9300-GigabitEthernet1/0/3] port hybrid tagged vlan 200
[S9300-GigabitEthernet1/0/3] l2-multicast static-group group-address 225.0.0.1
vlan 200
[S9300-GigabitEthernet1/0/3] l2-multicast static-group group-address 225.0.0.2
vlan 200
[S9300-GigabitEthernet1/0/3] l2-multicast static-group group-address 225.0.0.3
vlan 200
[S9300-GigabitEthernet1/0/3] quit
Step 5 Verify the configuration.
Run the display l2-multicast forwarding-table vlan command on the S9300. You can view
the configuration of static entries of the multicast VLAN.
<S9300> display l2-multicast forwarding-table vlan 3
VLAN ID : 3, Forwarding Mode : IP
--------------------------------------------------------------------
(Source, Group) Status Age Index Port-cnt
--------------------------------------------------------------------
(*, 225.0.0.1) Ok No 0 1
Quidway S9300 Terabit Routing Switch
Configuration Guide - Multicast 1 Layer 2 Multicast Configuration
Issue 01 (2009-07-28) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1-31