MLD Snooping Querier Commands
Use these commands to configure MLD Snooping Querier.
In an IPv6 environment, MLD Snooping requires that one central switch or router periodically query all end-devices on the network to announce their multicast memberships. This central device is the MLD Querier. The MLD query responses, known as MLD reports, keep the switch updated with the current multicast group membership on a port-by-port basis. If the switch does not receive updated membership information in a timely fashion, it will stop forwarding multicasts to the port where the end device is located.
This section describes the commands you use to configure and display information on MLD Snooping queries on the network and, separately, on VLANs.
set mld querier
M4250
M4350
Use this command to enable MLD Snooping Querier on the system (Global Config Mode) or on a VLAN. Using this command, you can specify the IP address that the snooping querier switch should use as a source address while generating periodic queries.
If a VLAN has MLD Snooping Querier enabled and MLD Snooping is operationally disabled on it, MLD Snooping Querier functionality is disabled on that VLAN. MLD Snooping functionality is re-enabled if MLD Snooping is operational on the VLAN.
The MLD Snooping Querier sends periodic general queries on the VLAN to solicit membership reports.
| Default | disabled |
| Format | set mld querier [address ipv6-address] |
| Mode | Global Config |
| Default | disabled |
| Format | set mld querier vlan-id [address ipv6-address] |
| Mode | VLAN Mode |
no set mld querier
Use this command to disable MLD Snooping Querier on the system. Use the optional parameter address to reset the querier address.
| Format | no set mld querier [address] |
| Mode | Global Config |
| Format | no set mld querier vlan-id [address] |
| Mode | VLAN Mode |
set mld querier query-interval
M4250
M4350
Use this command to set the MLD querier query interval time. It is the time in seconds, from 1–1800 seconds, that the switch waits before sending another general query.
| Default | disabled |
| Format | set mld querier query-interval seconds |
| Mode | Global Config |
no set mld querier query-interval
Use this command to set the MLD Querier Query Interval time to its default value.
| Format | no set mld querier query-interval |
| Mode | Global Config |
set mld querier timer expiry
M4250
M4350
Use this command to set the MLD querier timer expiration period. It is the period in seconds, from 60–300 seconds, that the switch remains in non-querier mode after it has discovered a multicast querier in the network.
| Default | 60 seconds |
| Format | set mld querier timer expiry seconds |
| Mode | Global Config |
no set mld querier timer expiry
Use this command to set the MLD querier timer expiration period to its default value.
| Format | no set mld querier timer expiry |
| Mode | Global Config |
set mld querier election participate
M4250
M4350
Use this command to enable the Snooping Querier to participate in the Querier Election process when it discovers the presence of another Querier in the VLAN. When this mode is enabled, if the Snooping Querier finds that the other Querier’s source address is better (less) than the Snooping Querier’s address, it stops sending periodic queries. If the Snooping Querier wins the election, then it will continue sending periodic queries.
| Default | disabled |
| Format | set mld querier election participate vlan-id |
| Mode | VLAN Config (also referred to as VLAN Database) |
no set mld querier election participate
Use this command to set the snooping querier not to participate in querier election but go into a non-querier mode as soon as it discovers the presence of another querier in the same VLAN.
| Format | no set mld querier election participate vlan-id |
| Mode | VLAN Config (also referred to as VLAN Database) |
show mldsnooping querier
M4250
M4350
Use this command to display MLD Snooping Querier information. Configured information is displayed whether or not MLD Snooping Querier is enabled.
| Format | show mldsnooping querier [detail | vlan vlan-id] |
| Mode | Privileged EXEC |
If you do not specify a value for vlan-id, the command displays the following information.
| Field | Description |
|---|---|
| Admin Mode | Indicates whether or not MLD Snooping Querier is active on the switch. |
| Admin Version | Indicates the version of MLD that will be used while sending out the queries. This is defaulted to MLD v1 and it cannot be changed. |
| Querier Address | Shows the IP address which will be used in the IPv6 header while sending out MLD queries. It can be configured using the appropriate command. |
| Query Interval | Shows the amount of time in seconds that a Snooping Querier waits before sending out the periodic general query. |
| Querier Timeout | Displays the amount of time to wait in the Non-Querier operational state before moving to a Querier state. |
If you specify a value for vlan-id, the following information displays.
| Field | Description |
|---|---|
| VLAN Admin Mode | Indicates whether MLD Snooping Querier is active on the VLAN. |
| VLAN Operational State | Indicates whether MLD Snooping Querier is in “Querier” or “Non-Querier” state. When the switch is in Querier state, it will send out periodic general queries. When in Non-Querier state, it will wait for moving to Querier state and does not send out any queries. |
| VLAN Operational Max Response Time | Indicates the time to wait before removing a Leave from a host upon receiving a Leave request. This value is calculated dynamically from the Queries received from the network. If the Snooping Switch is in Querier state, then it is equal to the configured value. |
| Querier Election Participate | Indicates whether the MLD Snooping Querier participates in querier election if it discovers the presence of a querier in the VLAN. |
| Querier VLAN Address | The IP address that will be used in the IPv6 header while sending out MLD queries on this VLAN. It can be configured using the appropriate command. |
| Operational Version | This version of IPv6 will be used while sending out MLD queries on this VLAN. |
| Last Querier Address | Indicates the IP address of the most recent Querier from which a Query was received. |
| Last Querier Version | Indicates the MLD version of the most recent Querier from which a Query was received on this VLAN. |
When the optional detail keyword is used, the command shows the global information and the information for all Querier-enabled VLANs.
set mld proxy-querier
M4250
M4350
If a non-querier switch receives an MLD leave message, the non-querier switch can send queries with 0::0 as the source IP addresses. This command enables the switch to send such proxy queries through different command modes the following ways:
- in Global Config mode, on the entire switch
- in Interface Config mode, on an interface
- in VLAN Config mode (also referred to as VLAN Database mode), on a particular VLAN and all interfaces participating in the VLAN.
By default, the proxy-querier is enabled.
| Default | enabled |
| Format | set mld proxy-querier |
| Mode |
Global Config Interface Config |
| Default | enabled |
| Format | set mld proxy-querier vlan-id |
| Mode | VLAN Config (also referred to as VLAN Database) |
no set mld proxy-querier
This command stops the switch from sending proxy queries through different command modes in the following ways:
- in Global Config mode, on the entire switch
- in Interface Config mode, on an interface
- in VLAN Config mode (also referred to as VLAN Database mode), on a particular VLAN and all interfaces participating in the VLAN.
This command is specific to MLD.
| Format | no set mld proxy-querier |
| Mode |
Global Config Interface Config |
| Format | no set mld proxy-querier vlan-id |
| Mode | VLAN Config (also referred to as VLAN Database) |
show mldsnooping proxy-querier
M4250
M4350
This command shows the global admin mode of the MLD snooping proxy-querier and the interface on which it is enabled.
| Format | show mldsnooping proxy-querier |
| Mode | Privileged EXEC |
Command example:
(Netgear Switch) #show mldsnooping proxy-querier
Admin Mode..................................... Enable
Interfaces Enabled for MLD Proxy Querier....... 1/0/1
1/0/2
1/0/3