The mld-snooping version command sets the version of MLD messages that MLD snooping can process in a VLAN.
The undo mld-snooping version command restores the default MLD message version.
By default, MLD snooping can process only MLDv1 messages.
Parameter |
Description |
Value |
---|---|---|
version |
Specifies the version of MLD messages that MLD snooping can process. |
The value is 1 or 2.
|
Usage Scenario
The MLD protocol maintains group memberships between Layer 3 multicast devices and hosts. MLD has two versions: v1 and v2. This command specifies the version of MLD messages that MLD snooping can process. Generally, configure the same version on the Layer 2 device as that on the upstream Layer 3 multicast device. If MLD is not enabled on the Layer 3 multicast device, configure the MLD message version on the Layer 2 device to be later than or equal to the MLD version running on downstream hosts.
When hosts in a VLAN run different MLD versions, run the mld-snooping version command to enable the Layer 2 device to process MLD messages sent from all the hosts.
Prerequisites
MLD snooping has been enabled globally using the mld-snooping enable command.
Precautions
The configuration takes effect only after you run the mld-snooping enable command to enable MLD snooping in the VLAN.