Configuring MLD Snooping Options for a VLAN

MLD snooping mode and version can be configured on Ruckus devices for a specific 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.

  1. Enter global configuration mode.
    device# configure terminal
  2. Create a VLAN.
    device(config)# vlan 22
  3. Set the MLD mode to active for a VLAN.
    device(config-vlan-22)# multicast6 active
    If you do not specify the active keyword, the default mode is passive. If you do not specify a mode for the VLAN, the globally-configured mode is used.
  4. Set the MLD version for VLAN 22 to version 2.
    device(config-vlan-22)# multicast6 version 2

    If no MLD version is specified, the globally-configured MLD version is used. If an MLD version is specified for individual ports, those ports use that version, instead of the VLAN version.

  5. 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.
    device(config-vlan-22)# multicast6 port-version 2 ethernet 1/2/4 to 1/2/6
    In this example, the ports 1/2/4, 1/2/5, and 1/2/6 are configured to use MLD v2. The other ports either use the MLD version specified with the multicast6 version command, or the globally-configured MLD version.
  6. You can configure static groups to specific ports using the multicast6 static-group command.
    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.

  7. 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-off command.
    
    device(config-vlan-22)# multicast6 proxy-off
    
    The proxy activity is enabled by default.
  8. To configure static router ports, enter the multicast6 router-port command.
    
    device(config-vlan-22)# multicast6 router-port ethernet 1/2/1 to 1/2/3 ethernet 1/2/8
    
    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