IPv6 MLD Commands
Use these commands to configure and view Multicast Listener Discovery (MLD) settings.
IGMP and MLD snooping are Layer 2 functionalities but IGMP and MLD are Layer 3 multicast protocols. If you want to use IGMP and MLD snooping, a network must include a multicast router that can function as a querier to solicit multicast group registrations. However, if multicast traffic is destined to hosts within the same network, a multicast router is not required but an IGMP and MLD snooping querier must be running on one of the switches in the network and snooping must be enabled on all switches in the network. For more information, see IGMP Snooping Configuration Commands and MLD Snooping Commands.
ipv6 mld router
M4250
M4350
Use this command, in the administrative mode of the router, to enable MLD in the router.
| Default | Disabled |
| Format | ipv6 mld router |
| Mode | Global Config |
no ipv6 mld router
Use this command, in the administrative mode of the router, to disable MLD in the router.
| Default | Disabled |
| Format | no ipv6 mld router |
| Mode | Global Config |
ipv6 mld query-interval
M4250
M4350
Use this command to set the MLD router’s query interval for the interface or range of interfaces. The query-interval is the amount of time between the general queries sent when the router is the querier on that interface. The range for the seconds argument is from 1 to 3600 seconds.
| Default | 125 |
| Format | ipv6 mld query-interval seconds |
| Mode | Interface Config |
no ipv6 mld query-interval
Use this command to reset the MLD query interval to the default value for that interface.
| Format | no ipv6 mld query-interval |
| Mode | Interface Config |
ipv6 mld query-max-response-time
M4250
M4350
Use this command to set the MLD querier’s maximum response time for the interface or range of interfaces and this value is used in assigning the maximum response time in the query messages that are sent on that interface. The range for the milliseconds argument is from 0 to 65535 milliseconds.
| Default | 10000 milliseconds |
| Format | ipv6 mld query-max-response-time milliseconds |
| Mode | Interface Config |
no ipv6 mld query-max-response-time
This command resets the MLD query max response time for the interface to the default value.
| Format | no ipv6 mld query-max-response-time |
| Mode | Interface Config |
ipv6 mld startup-query-interval
M4250
M4350
Use this command to set the interval between general IPv6 MLD queries that are sent when the MLP process starts on the interface or range of interfaces. The range for the seconds argument is 1 to 300 seconds. The default is 31 seconds.
| Default | 31 |
| Format | ipv6 mld startup-query-interval seconds |
| Mode | Interface Config |
no ipv6 mld startup-query-interval
Use this command to reset the startup query interval for IPv6 MLD to the default value of 31 seconds.
| Format | no ipv6 mld startup-query-interval |
| Mode | Interface Config |
ipv6 mld startup-query-count
M4250
M4350
Use this command to specify the number of IPv6 MLD queries that are sent when the MLP process starts on the interface or range of interfaces and that is separated by the startup query interval on the interface or range of interfaces. The range for the number argument is 1 to 20. The default is 2.
| Default | 2 |
| Format | ipv6 mld startup-query-count number |
| Mode | Interface Config |
no ipv6 mld startup-query-count
Use this command to reset the startup query count for IPv6 MLD to the default value of 2.
| Format | no ipv6 mld startup-query-count |
| Mode | Interface Config |
ipv6 mld last-member-query-interval
M4250
M4350
Use this command to set the last member query interval for an MLD interface or range of interfaces, which is the value of the maximum response time parameter in the group specific queries sent out of this interface. The range for the milliseconds argument is from 0 to 65535 milliseconds.
| Default | 1000 milliseconds |
| Format | ipv6 mld last-member-query-interval milliseconds |
| Mode | Interface Config |
no ipv6 mld last-member-query-interval
Use this command to reset the last member query interval of the interface to the default value.
| Format | no ipv6 mld last-member-query-interval |
| Mode | Interface Config |
ipv6 mld last-member-query-count
M4250
M4350
Use this command to set the number of listener-specific queries sent before the router assumes that there are no local members on an interface or range of interfaces. The range for the number argument is 1 to 20.
| Default | 2 |
| Format | ipv6 mld last-member-query-count number |
| Mode | Interface Config |
no ipv6 mld last-member-query-count
Use this command to reset the last member query count of the interface to the default value.
| Format | no ipv6 mld last-member-query-count |
| Mode | Interface Config |
ipv6 mld version
M4250
M4350
Use this command to configure the MLD version that the interface uses.
| Default | 2 |
| Format | ipv6 mld version {1 | 2} |
| Mode | Interface Config |
no ipv6 mld version
This command resets the MLD version used by the interface to the default value.
| Format | no ipv6 mld version |
| Mode | Interface Config |
show ipv6 mld groups
M4250
M4350
Use this command to display information about multicast groups that MLD reported. The information is displayed only when MLD is enabled on at least one interface. If MLD was not enabled on even one interface, there is no group information to be displayed.
The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
You can also specify a group address (group-address).
| Format | show ipv6 mld groups {unit/slot/port | vlan vlan-id | group-address} |
| Mode |
Privileged EXEC User EXEC |
The following fields are displayed as a table when you specify an interface.
| Field | Description |
|---|---|
| Group Address | The address of the multicast group. |
| Interface | Interface through which the multicast group is reachable. |
| Up Time | Time elapsed in hours, minutes, and seconds since the multicast group has been known. |
| Expiry Time | Time left in hours, minutes, and seconds before the entry is removed from the MLD membership table. |
When group-address is specified, the following fields are displayed for each multicast group and each interface.
| Field | Description |
|---|---|
| Interface | Interface through which the multicast group is reachable. |
| Group Address | The address of the multicast group. |
| Last Reporter | The IP Address of the source of the last membership report received for this multicast group address on that interface. |
| Filter Mode | The filter mode of the multicast group on this interface. The values it can take are include and exclude. |
| Version 1 Host Timer | The time remaining until the router assumes there are no longer any MLD version-1 Hosts on the specified interface. |
| Group Compat Mode | The compatibility mode of the multicast group on this interface. The values it can take are MLDv1 and MLDv2. |
The following table is displayed to indicate all the sources associated with this group.
| Field | Description |
|---|---|
| Source Address | The IP address of the source. |
| Uptime | Time elapsed in hours, minutes, and seconds since the source has been known. |
| Expiry Time | Time left in hours, minutes, and seconds before the entry is removed. |
Command example:
(NETGEAR Switch) #show ipv6 mld groups ?
group-address Enter Group Address Info.
<unit/port> Enter interface in unit/port format.
Command example:
(NETGEAR Switch) #show ipv6 mld groups 1/0/1
Group Address.................................. FF43::3
Interface...................................... 1/0/1
Up Time (hh:mm:ss)............................. 00:03:04
Expiry Time (hh:mm:ss)......................... ------
Command example:
(NETGEAR Switch) #show ipv6 mld groups ff43::3
Interface...................................... 1/0/1
Group Address.................................. FF43::3
Last Reporter.................................. FE80::200:FF:FE00:3
Up Time (hh:mm:ss)............................. 00:02:53
Expiry Time (hh:mm:ss)......................... ------
Filter Mode.................................... Include
Version1 Host Timer............................ ------
Group compat mode.............................. v2
Source Address ExpiryTime
----------------- -----------
2003::10 00:04:17
2003::20 00:04:17
show ipv6 mld interface
M4250
M4350
Use this command to display MLD-related information for all interfaces, a specific interface, or a VLAN.
The interface corresponds to a physical routing interface or VLAN routing interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
| Format | show ipv6 mld interface {all | unit/slot/port | vlan vlan-id} |
| Mode |
Privileged EXEC User EXEC |
The following information is displayed for each of the interfaces or for only the specified interface.
| Field | Description |
|---|---|
| Interface | The interface number. |
| MLD Mode | Displays the configured administrative status of MLD. |
| Operational Mode | The operational status of MLD on the interface. |
| MLD Version | Indicates the version of MLD configured on the interface. |
| Query Interval | Indicates the configured query interval for the interface. |
| Query Max Response Time | Indicates the configured maximum query response time (in seconds) advertised in MLD queries on this interface. |
| Robustness | Displays the configured value for the tuning for the expected packet loss on a subnet attached to the interface. |
| Startup Query interval | This value indicates the configured interval between General Queries sent by a Querier on startup. |
| Startup Query Count | This value indicates the configured number of Queries sent out on startup, separated by the Startup Query Interval. |
| Last Member Query Interval | This value indicates the configured Maximum Response Time inserted into Group-Specific Queries sent in response to Leave Group messages. |
| Last Member Query Count | This value indicates the configured number of Group-Specific Queries sent before the router assumes that there are no local members. |
The following information is displayed if the operational mode of the MLD interface is enabled.
| Field | Description |
|---|---|
| Querier Status | This value indicates whether the interface is an MLD querier or non-querier on the subnet it is associated with. |
| Querier Address | The IP address of the MLD querier on the subnet the interface is associated with. |
| Querier Up Time | Time elapsed in seconds since the querier state has been updated. |
| Querier Expiry Time | Time left in seconds before the Querier loses its title as querier. |
| Wrong Version Queries | Indicates the number of queries received whose MLD version does not match the MLD version of the interface. |
| Number of Joins | The number of times a group membership has been added on this interface. |
| Number of Leaves | The number of times a group membership has been removed on this interface. |
| Number of Groups | The current number of membership entries for this interface. |
show ipv6 mld traffic
M4250
M4350
Use this command to display MLD statistical information for the router.
| Format | show ipv6 mld traffic |
| Mode |
Privileged EXEC User EXEC |
| Field | Description |
|---|---|
| Valid MLD Packets Received | The number of valid MLD packets received by the router. |
| Valid MLD Packets Sent | The number of valid MLD packets sent by the router. |
| Queries Received | The number of valid MLD queries received by the router. |
| Queries Sent | The number of valid MLD queries sent by the router. |
| Reports Received | The number of valid MLD reports received by the router. |
| Reports Sent | The number of valid MLD reports sent by the router. |
| Leaves Received | The number of valid MLD leaves received by the router. |
| Leaves Sent | The number of valid MLD leaves sent by the router. |
| Bad Checksum MLD Packets | The number of bad checksum MLD packets received by the router. |
| Malformed MLD Packets | The number of malformed MLD packets received by the router. |
clear ipv6 mld counters
M4250
M4350
Use this command to reset the MLD counters to zero on the specified interface. The optional interface corresponds to a physical interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | clear ipv6 mld counters [unit/slot/port] |
| Mode | Privileged EXEC |
clear ipv6 mld traffic
M4250
M4350
Use this command to clear all entries in the MLD traffic database.
| Format | clear ipv6 mld traffic |
| Mode | Privileged EXEC |