Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

vlan (MLD Snooping)

Syntax

vlan (all | vlan-name) {disable;immediate-leave;interface ( all | interface-name) {multicast-router-interface;static {group ip-address;}}robust-count number;version version;}

Hierarchy Level

[edit protocols mld-snooping]

Release Information

Statement introduced in Junos OS Release 12.1 for EX Series switches.

Description

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.

Default

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

Options

all

all VLANs on the switch.

vlan-name

Name of a VLAN.

Tip: 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:

protocols {
    mld-snooping {
        vlan all {
            robust-count 8;
        }
        vlan employee {
            interface ge-0/0/8.0 {
                static {
                    group ff1e::1;
                }
            }
        }
    }
}   

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.

Required Privilege Level

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

Published: 2012-12-07