4. Enable MLD snooping in VLAN 2 on Switch A.
Data Preparation
To complete the configuration, you need the following data:
l Interface to be configured as a static router interface: GE 1/0/5
l VLAN that Host 1 and Host 2 belongs to: VLAN 2
Procedure
Step 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. The
configuration procedure is not provided here.
Step 2 Enable MLD snooping globally on Switch A.
[SwitchA] mld-snooping enable
Step 3 Enable MLD snooping in VLAN 2.
[SwitchA-vlan2] mld-snooping enable
Step 4 Configure GE 1/0/5 as a static router interface.
[SwitchA] interface gigabitethernet1/0/5
[SwitchA-GigabitEthernet1/0/5] mld-snooping static-router-port vlan 2
[SwitchA-GigabitEthernet1/0/5] quit
Step 5 Verify the configuration. Run the display mld-snooping router-port command on Switch A.
[SwitchA] display mld-snooping router-port vlan 2
Total Number of Router Port on Vlan 2 is 1
Port Name UpTime Expires Flags
GE1/0/5 00:00:32 -- STATIC
The preceding output shows that GE 1/0/5 is configured as a static router interface.
----End
Configuration Files
#
sysname SwitchA
#
mld-snooping enable
#
vlan batch 2
#
vlan 2
mld-snooping enable
#
interface Gigabitethernet1/0/2
port link-type access
port default vlan 2
#
interface Gigabitethernet1/0/3
port link-type access
port default vlan 2
#
interface Gigabitethernet1/0/5
port link-type access
port default vlan 2
mld-snooping static-router-port vlan 2
#
return
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.
410