set protocols igmp-snooping enable


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

To enable IGMP snooping, both global and VLAN-based IGMP snooping need to be configured. 

  • If only 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.
  • After both global and VLAN-based IGMP snooping are enabled, it will take effect only on interfaces that have already been added to this VLAN enabled IGMP snooping.



Example

  •   Enable the global IGMP snooping function.      
admin@Xorplus# set protocols igmp-snooping enable true
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.