vlan (MLD Snooping)
Syntax
vlan (all | vlan-name) {
disable;
immediate-leave;
interface ( all | interface-name) {
group-limit limit;
host-only-interface;
immediate-leave;
multicast-router-interface;
static {
group ip-address {
source ip-address;
}
}
}
qualified-vlan;
query-intervalseconds;
query-last-member-interval seconds;
query-response-interval seconds;
robust-count number;
traceoptions {
file filename <files number> <size size> <world-readable | no-world-readable>;
flag flag <flag-modifier>;
}
version version;
}
Hierarchy Level
[edit protocols mld-snooping] [edit routing-instances instance-name protocols mld-snooping]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
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 EX Series switches except EX9200) Configure MLD snooping parameters for all VLANs on the switch. |
| vlan-name | 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:
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. 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.