PDF(1.0 MB) View with Adobe Reader on a variety of devices
ePub(1.2 MB) View in various apps on iPhone, iPad, Android, Sony Reader, or Windows Phone
Mobi (Kindle)(356.1 KB) View on Kindle device or Kindle app on multiple devices
Updated:August 15, 2018
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Configure MLD Snooping Settings on a Switch through the CLI
Multicast is a technology created to conserve bandwidth. It is typically used to transmit data packets from one host to multiple hosts. To allow a router to distribute multicasts out one of its ports with IPv6, they use a protocol called Multicast Listener Discovery (MLD). Hosts send an MLD join message to get a multicast stream. When a router receives an MLD join message at one of its interfaces, it knows there are hosts interested in joining a multicast stream and sends it out. In early switches, multicast traffic was forwarded on all ports, even if only one host needed to receive it. MLD snooping was developed to limit multicast traffic to only the requesting host or hosts.
When MLD snooping is enabled, the switch detects the MLD messages exchanged between the Ipv6 router and the multicast hosts attached to the interfaces. It then maintains a table that forwards Ipv6 multicast traffic to the ports that need to receive them.
The following configurations are prerequisites for configuring MLD:
Configure Virtual Local Area Network (VLAN) on the switch through the CLI. For instructions, click here.
Enable Bridge Multicast Filtering through the CLI. For instructions, click here.
Note: Internet Group Management Protocol (IGMP) performs a similar function to MLD, but for IPv4, which is the most commonly used Internet Protocol to date. Most equipment is preconfigured for IPv4. To learn how to configure IGMP snooping settings on your switch through the CLI, click here
To learn how to configure MLD or IGMP Snooping on a switch on a graphical user interface (GUI), click here.
This article provides instructions on how to configure MLD settings on a switch through the Command Line Interface (CLI).
1.4.8.06 — Sx300, Sx500
184.108.40.206 — Sx350, SG350X, Sx550X
Configure MLD Snooping Settings
Configure Global MLD Settings
Step 1. Log in to the switch console. The default username and password is cisco/cisco. If you have configured a new username or password, enter the credentials instead.
Note: To learn how to access an SMB switch CLI through SSH or Telnet, click here.
Note: The commands may vary depending on the exact model of your switch. In this example, the SG350X switch is accessed through Telnet.
Step 2. From the Privileged EXEC mode of the switch, enter the Global Configuration mode by entering the following:
Step 3. To globally enable MLD snooping on the switch, enter the following:
Step 4. (Optional) To globally enable MLD snooping querier, enter the following:
SG350X(config)#ipv6 mld snooping querier
You should now have successfully configured the global MLD snooping settings on your switch.
Configure MLD Snooping Settings on a VLAN
Step 1. To enable MLD snooping on a specific VLAN, enter the following:
SG350X(config)#ipv6 mld snooping vlan [vlan-id]
vlan-id — Specifies the VLAN ID value. The range is from one up to 4094.
Note: In this scenario, the MLD snooping settings for VLAN 20 are being configured.
Step 2. (Optional) To allow the multicast router to automatically learn the connected ports, enter the following: