This section describes commands used for MLD Snooping. In IPv4, Layer 2 switches can use IGMP Snooping to limit the flooding of multicast traffic by dynamically configuring Layer 2 interfaces so that multicast traffic is forwarded only to those interfaces associated with IP multicast addresses. In IPv6, MLD Snooping performs a similar function. With MLD Snooping, IPv6 multicast data is selectively forwarded to a list of ports that want to receive the data, instead of being flooded to all ports in a VLAN. This list is constructed by snooping IPv6 multicast control packets.
This command enables MLD Snooping on the system (Global Config Mode) or an Interface (Interface Config Mode). This command also enables MLD Snooping on a particular VLAN and enables MLD Snooping on all interfaces participating in a VLAN.
If an interface has MLD Snooping enabled and you enable this interface for routing or enlist it as a member of a port-channel (LAG), MLD Snooping functionality is disabled on that interface. MLD Snooping functionality is re-enabled if you disable routing or remove port channel (LAG) membership from an interface that has MLD Snooping enabled.
MLD Snooping supports the following activities:
Use this command to disable MLD Snooping on the system.
Use this command to enable MLD Snooping on all interfaces. If an interface has MLD Snooping enabled and you enable this interface for routing or enlist it as a member of a port-channel (LAG), MLD Snooping functionality is disabled on that interface. MLD Snooping functionality is re-enabled if you disable routing or remove port-channel (LAG) membership from an interface that has MLD Snooping enabled.
Use this command to disable MLD Snooping on all interfaces.
Format: no set mld interfacemode
Mode: Global Config
Use this command to enable MLD Snooping fast-leave admin mode on a selected interface or VLAN. Enabling fast-leave allows the switch to immediately remove the Layer 2 LAN interface from its forwarding table entry upon receiving and MLD done message for that multicast group without first sending out MAC-based general queries to the interface.
NOTE 1: You should enable fast-leave admin mode only on VLANs where only one host is connected to each Layer 2 LAN port. This prevents the inadvertent dropping of the other hosts that were connected to the same layer 2 LAN port but were still interested in receiving multicast traffic directed to that group.
NOTE 2: Fast-leave processing is supported only with MLD version 1 hosts.
Use this command to disable MLD Snooping fast-leave admin mode on a selected interface.
Use this command to set the MLD Group Membership Interval time on a VLAN, one interface or all interfaces. The Group Membership Interval time is the amount of time in seconds that a switch waits for a report from a particular group on a particular interface before deleting the interface from the entry. This value must be greater than the MLDv2 Maximum Response time value. The range is 2 to 3600 seconds.
Use this command to set the MLDv2 Group Membership Interval time to the default value.
Use this command to set the MLD Maximum Response time for the system, on a particular interface or VLAN. The Maximum Response time is the amount of time in seconds that a switch will wait after sending a query on an interface because it did not receive a report for a particular group in that interface. This value must be less than the MLD Query Interval time value. The range is 1 to 65 seconds.
Use this command to set the max response time (on the interface or VLAN) to the default value.
Use this command to set the Multicast Router Present Expiration time. The time is set for the system, on a particular interface or VLAN. This is the amount of time in seconds that a switch waits for a query to be received on an interface before the interface is removed from the list of interfaces with multicast routers attached. The range is 0 to 3600 seconds. A value of 0 indicates an infinite timeout, i.e. no expiration.
Use this command to set the Multicast Router Present Expiration time to 0. The time is set for the system, on a particular interface or a VLAN.
Use this command to configure the VLAN ID for the VLAN that has the multicast router attached mode enabled.
Use this command to disable multicast router attached mode for a VLAN with a particular VLAN ID.
Use this command to configure the interface as a multicast router-attached interface. When configured as a multicast router interface, the interface is treated as a multicast router-attached interface in all VLANs.
Use this command to disable the status of the interface as a statically configured multicast router-attached interface.
Use this command to display MLD Snooping information. Configured information is displayed whether or not MLD Snooping is enabled.
When the optional arguments unit/slot/port/ or vlanid are not used, the command displays the following information.
When you specify the unit/slot/port values, the following information displays.
When you specify a value for vlanid, the following information appears.
Use this command to display information about statically configured multicast router attached interfaces.
The display parameters for above command are:
Use this command to display information about statically configured multicast router-attached interfaces.
The display parameters for above command are:
Use this command to display the MLD Snooping entries in the Multicast Forwarding Database (MFDB) table.
The display parameters for above command are:
Use this command to delete all MLD snooping entries from the MFDB table.