Configuring MLD Snooping Options for a VLAN
Even if the MLD mode and version have been configured globally, specifying the mode and version for a VLAN overrides the global settings. Other MLD Snooping options are described in the task steps and are optional.
- Enter global configuration mode.
- Create a VLAN.
- Set the MLD mode to active for a VLAN.
- Set the MLD version for VLAN 22 to version 2.
- You can specify the MLD version for individual ports in a VLAN. You can specify a list of ports, a range of ports, or a combination of lists and ranges.
- You can configure static groups to specific ports using the
multicast6 static-groupcommand.device(config-vlan-22)# multicast6 static-group 224.1.1.1 count 2 ethernet 1/1/3 ethernet 1/1/5 to 1/1/7
A snooping-enabled VLAN cannot forward multicast traffic to ports that do not receive MLD membership reports. If clients cannot receive multicast traffic, you can configure a static group which applies to specific ports. The static group allows packets to be forwarded to the static group ports even though they have no client membership reports.
- A device with statically configured groups acts as a proxy and sends membership reports
for its static groups when it receives general or group-specific queries. When a static
group configuration is removed, the group is immediately deleted from the active group
table. However, the device does not send leave messages to the querier. The querier
should age out the group. The proxy activity can be disabled using the
multicast6 proxy-offcommand.The proxy activity is enabled by default. - To configure static router ports, enter the
multicast6 router-portcommand.All multicast control and data packets are forwarded to router ports that receive queries. Although router ports are learned, you can configure static router ports to force multicast traffic to specific ports, even though these ports never receive queries.
The following example configures VLAN 22 to run IPv6 multicast version 2 in active mode with some ports configured specifically to use MLD version 2 with a static group that applies to specific ports, the static group proxy activity is disabled, and static router ports are configured.
device# configure terminal device(config)# vlan 22 device(config-vlan-22)# multicast6 active device(config-vlan-22)# multicast6 version 2 device(config-vlan-22)# multicast6 port-version 2 ethernet 1/2/4 to 1/2/6 device(config-vlan-22)# multicast6 static-group 224.1.1.1 count 2 ethernet 1/1/3 ethernet 1/1/5 to 1/1/7 device(config-vlan-22)# multicast6 proxy-off device(config-vlan-22)# multicast6 router-port ethernet 1/2/1 to 1/2/3 ethernet 1/2/8