set protocols igmp-snooping vlan-id enable


The Internet Group Management Protocol (IGMP) is used to establish multicast group membership on IPv4 networks, making it an important component of IP multicast. It is used for one-to-many applications such as video streaming and gaming. IGMP snooping involves the process of listening for IGMP traffic between hosts and routers, enabling a switch to learn which devices are involved in which IP multicast conversations. This enables multicasts to be filtered from links and ports where they’re not needed, thus reducing network traffic. IGMP snooping is typically disabled by default on network switches. This document details how to enable IGMP if desired, on a per-VLAN basis.


Command Syntax

set protocols igmp-snooping vlan-id <vlan-id> enable <true | false>


Parameter

Parameter

Description

vlan-id <vlan-id>

Specifies a VLAN ID. The value is an integer that ranges from 1 to 4094.

enable <true | false>

Enable or disable the VLAN-based IGMP snooping function. The value is true or false.

  •    true: enables the VLAN-based IGMP snooping function.
  •    false: disables the VLAN-based 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 VLAN-based IGMP snooping function. 
admin@Xorplus# set protocols igmp-snooping vlan-id 2 enable true
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.