Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Verifying MLD Snooping on EX Series Switches (CLI Procedure)

Multicast Listener Discovery (MLD) snooping constrains the flooding of IPv6 multicast traffic on VLANs on a switch. This topic describes how to verify MLD snooping operation on the switch.

Verifying MLD Snooping Memberships

Purpose

Determine group memberships, multicast-router interfaces, host MLD versions, and the current values of timeout counters.

Action

Enter the following command:

Meaning

The switch has multicast membership information for one VLAN on the switch, mld-vlan. MLD snooping might be enabled on other VLANs, but the switch does not have any multicast membership information for them. The following information is provided:

  • Information on the multicast-router interfaces for the VLAN—in this case, ge-1/0/0.0. The multicast-router interface has been learned by MLD snooping, as indicated by dynamic. The timeout value shows how many seconds from now the interface will be removed from the multicast forwarding table if the switch does not receive MLD queries or Protocol Independent Multicast (PIM) updates on the interface.

  • Information about the group memberships for the VLAN:

    • Currently, the VLAN has membership in only one multicast group, ff1e::2010.

    • The host or hosts that have reported membership in the group are on interface ge-1/0/30.0. The interface group membership will time out in 180 seconds if no hosts respond to membership queries during this interval. The flags field shows the lowest version of MLD used by a host that is currently a member of the group, which in this case is MLD version 2 (MLDv2).

    • The last host that reported membership in the group has address fe80::2020:1:1:3.

    • Because interface has MLDv2 hosts on it, the source addresses from which the MLDv2 hosts want to receive group multicast traffic are shown (addresses 2020:1:1:1::2 and 2020:1:1:1::5). The timeout value for the interface group membership is derived from the largest timeout value for all sources addresses for the group.

Verifying MLD Snooping VLANs

Purpose

Verify that MLD snooping is enabled on a VLAN and display MLD snooping information for each VLAN on which MLD snooping is enabled.

Action

Enter the following command:

Meaning

MLD snooping is configured on two VLANs on the switch: v10 and v20. Each interface in each VLAN is listed and the following information is provided:

  • Whether the interface is a trunk (tagged) or access (untagged) interface.

  • How many multicast groups the interface belongs to.

  • Whether the interface is a multicast-router interface (Router).

Viewing MLD Snooping Statistics

Purpose

Display MLD snooping statistics, such as number of MLD queries, reports, and leaves received and how many of these MLD messages contained errors.

Action

Enter the following command:

Meaning

The output shows how many MLD messages of each type—Queries, Reports, Leaves—the switch received or transmitted on interfaces on which MLD snooping is enabled. For each message type, it also shows the number of MLD packets the switch received that had errors—for example, packets that do not conform to the MLDv1 or MLDv2 standards. If the Recv Errors count increases, verify that the hosts are compliant with MLDv1 or MLDv2 standards. If the switch is unable to recognize the MLD message type for a packet, it counts the packet under Receive unknown.

Viewing MLD Snooping Routing Information

Purpose

Display the next-hop information maintained in the multicast forwarding table.

Action

Enter the following command:

Meaning

The output shows the next-hop interfaces for a given multicast group on a VLAN. Only the last 32 bits of the group address are shown because the switch uses only these bits in determining multicast routes. For example, route ::0000:2010 on mld-vlan has next-hop interfaces ge-1/0/30.0 and ge-1/0/33.0.