mld-snooping enable
mld-snooping prompt-leave
#
interface Gigabitethernet1/0/3
port link-type access
port default vlan 3
#
interface Gigabitethernet1/0/4
port link-type access
port default vlan 3
#
interface Gigabitethernet1/0/5
port link-type access
port default vlan 3
#
return
11.9.3 Example for Configuring a Static Router Interface
Networking Requirements
As shown in Figure 11-3, Switch A is connected to a router and several hosts. The router runs
the MLD protocol. The Switch A needs to forward multicast data to the hosts.
Figure 11-3 Networking diagram for configuring a static router interface
multicast source
VLAN 2
Host 1 Host 2
DHCP server
IP/MPLS core
GE1/0/3
GE1/0/5
GE1/0/2
SwitchA
Configuration Roadmap
The configuration roadmap is as follows:
1. Create VLAN 2 on Switch A and add GE 1/0/2, GE 1/0/3, and GE 1/0/5 to VLAN 2.
2. Enable MLD snooping globally on Switch A.
3. Configure GE 1/0/5 as a static router interface.
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 11 MLD Snooping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
409