The set protocols igmp-snooping enable command is used to enable or disable the global IGMP snooping function.


Command Syntax

set protocols igmp-snooping enable <true | false>


Parameter

Parameter

Description

enable <true | false>

Enable or disable the global IGMP snooping function. The value is true or false.

  •    true: enables the global IGMP snooping function.
  •    false: disables the global IGMP snooping function.

The default value is false.


Usage Guidelines

After the global IGMP snooping is enabled, IGMP snooping in the VLAN is disabled by default. To enable IGMP snooping in a VLAN, you also need to enable the VLAN-based IGMP snooping function via set protocols igmp-snooping vlan-id enable command.


Example

admin@Xorplus# set protocols igmp-snooping enable true
admin@Xorplus# commit