4-7To do... Use the command... RemarksEnter VLAN view vlan vlan-id —Enable MLD Snooping in theVLAN mld-snooping enable RequiredDisabled by defaultz MLD Snooping must be enabled globally before it can be enabled in a VLAN.z When you enable MLD Snooping in a specified VLAN, this function takes effect for ports in thisVLAN only.Configuring the Version of MLD SnoopingBy configuring the MLD Snooping version, you actually configure the version of MLD messages thatMLD Snooping can process.z MLD Snooping version 1 can process MLDv1 messages, but cannot analyze and process MLDv2messages, which will be flooded in the VLAN.z MLD Snooping version 2 can process MLDv1 and MLDv2 messages.Follow these steps to configure the version of MLD Snooping:To do… Use the command… RemarksEnter system view system-view —Enter VLAN view vlan vlan-id —Configure the version of MLDSnoopingmld-snooping versionversion-numberOptionalVersion 1 by defaultIf you switch MLD Snooping from version 2 to version 1, the system will clear all MLD Snoopingforwarding entries from dynamic joining, and will:z Keep forwarding entries from version 2 static (*, G) joining;z Clear forwarding entries from version 2 static (S, G) joining, which will be restored when MLDSnooping is switched back to version 2.For details about static joining, refer to Configuring Static Ports.Configuring MLD Snooping Port FunctionsConfiguration PrerequisitesBefore configuring MLD Snooping port functions, complete the following tasks:z Enable MLD Snooping in the VLAN