mld-snooping last-listener-query-interval

Use mld-snooping last-listener-query-interval to set the MLD last listener query interval for a VLAN or VSI.

Use undo mld-snooping last-listener-query-interval to restore the default.

Syntax

mld-snooping last-listener-query-interval interval

undo mld-snooping last-listener-query-interval

Default

The MLD last listener query interval is 1 second.

Views

VLAN view

VSI view

Predefined user roles

network-admin

Parameters

interval: Specifies an MLD last listener query interval in the range of 1 to 25 seconds.

Usage guidelines

You must enable MLD snooping for a VLAN or VSI before you execute this command.

You can set the interval for a VLAN in VLAN view, for a VSI in VSI view, or globally for all VLANs and VSIs in MLD-snooping view. For a VLAN, the VLAN-specific configuration takes priority over the global configuration. For a VSI, the VSI-specific configuration takes priority over the global configuration.

Examples

# In VLAN 2, enable MLD snooping, and set the MLD last listener query interval to 3 seconds.

<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable
[Sysname-vlan2] mld-snooping last-listener-query-interval 3

# In VSI aaa, enable MLD snooping, and set the MLD last listener query interval to 3 seconds.

<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vsi aaa
[Sysname-vsi-aaa] mld-snooping enable
[Sysname-vsi-aaa] mld-snooping last-listener-query-interval 3

Related commands

enable (MLD-snooping view)

last-listener-query-interval (MLD-snooping view)

mld-snooping enable