mld-snooping
Syntax (ACX Series, EX9200, and MX Series)
mld-snooping { evpn-ssm-reports-only; immediate-leave; interface interface-name { group-limit limit; host-only-interface; immediate-leave; multicast-router-interface; static { group ip-address { source ip-address; } } } proxy { source-address ip-address; } query-interval seconds; query-last-member-interval seconds; query-response-interval seconds; robust-count number; } vlan vlan-id { immediate-leave; interface interface-name { group-limit limit; host-only-interface; immediate-leave; multicast-router-interface; static { group ip-address { source ip-address; } } } proxy { source-address ip-address; } query-interval seconds; query-last-member-interval seconds; query-response-interval seconds; robust-count number; } }
Syntax (EX Series and SRX Series)
mld-snooping { vlan (all | vlan-name) { immediate-leave; interface interface-name { group-limit; host-only-interface; immediate-leave; multicast-router-interface; static { group ip-address { source ip-address; } } } qualified-vlan vlan-id; query-interval; query-last-member-interval; query-response-interval; robust-count number; trace-options { file (files | no-word-readable | size | word-readable): flag (all | client-notification | general | group | host-notification | leave | noraml | packest | policy | query | report | route | report | state | task |timer): } } }
Syntax (QFX Series)
mld-snooping { vlan (vlan-name) { evpn-ssm-reports-only; immediate-leave; interface (all | interface-name) { group-limit limit; host-only-interface; immediate-leave; multicast-router-interface; static { group ip-address { source ip-address; } } } proxy { source-address ip-address; } qualified-vlan vlan-id; query-interval seconds; 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>; } } }
Hierarchy Level
[edit bridge-domains bridge-domain-name protocols], [edit protocols], [edit routing-instances routing-instance-name bridge-domains bridge-domain-name protocols], [edit routing-instances routing-instance-name protocols]
Description
Enable and configure Multicast Listener Discovery (MLD) snooping. MLD snooping constrains IPv6 multicast traffic at Layer 2 by configuring Layer 2 LAN ports dynamically to forward IPv6 multicast traffic only to those ports that want to receive it.
MLD is a protocol built on ICMPv6 and used by IPv6 routers and hosts to discover and indicate interest in a multicast group, similar to how IGMP manages multicast group membership for IPv4 multicast traffic. There are two versions, MLDv1 (RFC 2710), which is equivalent to IGMP version 2 (IGMPv2), and MLDv2 (RFC 3810), which is equivalent to IGMP version 3 (IGMPv3). Like IGMP, both MLDv1 and MLDv2 support Query, Report and Done messages. MLDv2 further supports source-specific Query messages (reports) and multi-record reports. MLD configuration options are similar to those for IGMP snooping.
MLD restricts forwarding IPv6 multicast traffic to only those interfaces in a bridge-domain, VLAN, or VPLS that have interested listeners, rather than flooding the traffic to all interfaces in the bridge-domain, VLAN, or VPLS. The device finds the interfaces with interested listeners using the following steps:
Snoops or monitors MLD control packets.
Identifies the set of outgoing interfaces for a multicast stream.
Builds the forwarding state accordingly.
The device snoops Query messages and floods them to all ports. The device snoops Report and Done messages and selectively forwards them only to multicast router ports.
For MX Series devices, MLD snooping is not supported on DPC linecards. The operational commands for MLD snooping, including defaults, functionality, logging, and tracing are similar to those for IGMP snooping.
The remaining statements are explained separately. See CLI Explorer.
Default
MLD snooping is disabled.
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.