/
IGMP Configuration

IGMP Configuration


In admin@XorPlus, IGMPv1/v2/v3 is supported.

Configuring an IGMP Interface

Enable the multicast interface before enabling the IGMP interface.

admin@XorPlus# set vlans vlan-id 2 l3-interface vlan2
admin@XorPlus# set vlans vlan-id 3 l3-interface vlan3
admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2
admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3
admin@XorPlus# set vlan-interface interface vlan2 vif vlan2 address 10.10.60.10 prefix-length 24
admin@XorPlus# set vlan-interface interface vlan3 vif vlan3 address 10.10.61.10 prefix-length 24
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# set multicast-interface interface vlan2 vif vlan2 disable false
admin@XorPlus# set multicast-interface interface vlan3 vif vlan3 disable false
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# set protocols igmp interface vlan2 vif vlan2
admin@XorPlus# set protocols igmp interface vlan3 vif vlan3
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus#
admin@XorPlus# run show igmp interface 
Interface State Querier Timeout Version Groups 
------------ -------- --------------- --------- --------- --------
vlan2 UP 10.10.60.10 None 2 2 
vlan3 UP 10.10.61.10 None 2 2 
admin@XorPlus#


Configuring IGMP Parameters for the IGMP Interface

admin@XorPlus# set protocols igmp interface vlan2 vif vlan2 query-interval 4
admin@XorPlus# set protocols igmp interface vlan2 vif vlan2 query-last-member-interval 3
admin@XorPlus# set protocols igmp interface vlan2 vif vlan2 query-response-interval 100
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus#


Configuring an IGMPv3 Interface

You can configure IGMPv3 in a specified interface.

admin@XorPlus# set protocols igmp interface vlan3 vif vlan3 version 3
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# run show igmp interface 
Interface State Querier Timeout Version Groups 
------------ -------- --------------- --------- --------- --------
vlan2 UP 10.10.60.10 None 2 2 
vlan3 UP 10.10.61.10 None 3 2


Joining and Leaving a Group; Displaying Group Information

If you send an IGMPv2 report to VLAN 2 and an IGMPv3 report to VLAN 3, for example, you can display the group information of the switch. You should not have to worry about 224.0.0.2, 224.0.0.22, etc., which are used for the system (e.g. OSPF, RIP).

admin@XorPlus# run show igmp group 
Interface Group Source LastReported Timeout V State
------------ --------------- --------------- ------------ ------- - -----
vlan2 224.0.0.2 0.0.0.0 10.10.60.10 92 2 E 
vlan2 224.0.0.22 0.0.0.0 10.10.60.10 101 2 E 
vlan2 238.255.0.1 0.0.0.0 10.10.60.100 61 2 E 
vlan3 224.0.0.2 0.0.0.0 10.10.61.10 205 3 E 
vlan3 224.0.0.22 0.0.0.0 10.10.61.10 205 3 E 
vlan3 238.255.0.2 0.0.0.0 10.10.61.100 0 3 I 
vlan3 238.255.0.2 20.20.20.20 10.10.61.100 257 3 F 


If you send a leaving message for the above group, the specified group will be removed.

admin@XorPlus# run show igmp group 
Interface Group Source LastReported Timeout V State
------------ --------------- --------------- ------------ ------- - -----
vlan2 224.0.0.2 0.0.0.0 10.10.60.10 88 2 E 
vlan2 224.0.0.22 0.0.0.0 10.10.60.10 105 2 E 
vlan3 224.0.0.2 0.0.0.0 10.10.61.10 227 3 E 
vlan3 224.0.0.22 0.0.0.0 10.10.61.10 227 3 E 
admin@XorPlus#

Copyright © 2025 Pica8 Inc. All Rights Reserved.