Procedure

Step1         Enable the global IGMP snooping function.

   set protocols igmp-snooping enable <true | false>

Step2         Enable the VLAN-based IGMP snooping function.

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

NOTE:

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.

After IGMP Snooping is enabled in a VLAN, it will take effect only on interfaces that have already been added to this VLAN.

Step3         Configure the number of times that the querier sends a group-specific query message.

   set protocols igmp-snooping last-member-query-count <last-member-query-count>

Step4         Configure the interval that the querier sends a group-specific query message.

   set protocols igmp-snooping last-member-query-interval <last-member-query-interval>

Step5         Configure the maximum response time for IGMP general query message.

   set protocols igmp-snooping max-response-time <max-response-time>

Step6         Configure the interval of sending IGMP general queries.

   set protocols igmp-snooping query-interval <query-interval>

Step7         Enable the membership report suppression function.

   set protocols igmp-snooping report-suppression <true | false>

Step8         Configure the IGMP robustness coefficient.

   set protocols igmp-snooping robustness-variable <robustness-variable>

Step9         Configure the aging time of dynamic router port.

   set protocols igmp-snooping router-aging-time <router-aging-time>

Step10      Enable the fast leave function to allow member ports in a VLAN to quickly leave the multicast group.

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

Step11      Configure the querier in a VLAN.

   a)      Enable the querier function in a VLAN.

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

   b)     Configure the IGMP snooping querier IP address.

   set protocols igmp-snooping vlan-id <vlan-id> querier address <querier-address>

   c)      Configure the IGMP snooping querier version.

   set protocols igmp-snooping vlan-id <vlan-id> querier version <querier-version>

   d)     Configure the IGMP snooping querier other-querier-timer.

   set protocols igmp-snooping vlan-id <vlan-id> querier other-querier-timer <other-querier-timer>

Step12      Configure the interface as a static router port in the specified VLAN.

  set protocols igmp-snooping vlan-id <vlan-id> mrouter interface <interface-name>

Step13      Configure a static member interface to the multicast group.

  set protocols igmp-snooping vlan-id <vlan-id> static group <group-address> interface <interface-name>