Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


vlan (MLD Snooping)


Hierarchy Level


Configure MLD snooping parameters for a VLAN.

When the vlan configuration statement is used without the disable statement, MLD snooping is enabled on the specified VLAN or on all VLANs.


If the vlan statement is not included in the configuration, MLD snooping is disabled.



(All EX Series switches except EX9200) Configure MLD snooping parameters for all VLANs on the switch.


Configure MLD snooping parameters for the specified VLAN.


When you configure MLD snooping parameters using the vlan all statement, any VLAN that is not individually configured for MLD snooping inherits the vlan all configuration. Any VLAN that is individually configured for MLD snooping, on the other hand, inherits none of its configuration from vlan all. Any parameters that are not explicitly defined for the individual VLAN assume their default values, not the values specified in the vlan all configuration.

For example, in the following configuration:

all VLANs, except employee, have a robust count of 8. Because employee has been individually configured, its robust count value is not determined by the value set under vlan all. Instead, its robust count is the default value of 2.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.1.

Support at the [edit routing-instances instance-name protocols mld-snooping] hierarchy introduced in Junos OS Release 13.3 for EX Series switches.

Support for the qualified-vlan, query-interval, query-last-member-interval, query-response-interval, and traceoptions statements introduced in Junos OS Release 13.3 for EX Series switches.