The basic configuration of IGMP Snooping on DGS-1510.
[Topology]
[Config]
1) Create VLAN2 and configure port 1~3 to untagged VLN2 members:
Switch#conf t
Switch(config)#vlan 2
Switch(config-vlan)#exit
Switch(config)#interface range ethernet 1/0/1-3
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 2
Switch(config-if-range)#exit
2) Configure to filter unregistered groups on VLAN2:
Switch(config)#vlan 2
Switch(config-vlan)#multicast filtering-mode filter-unregistered
Switch(config-vlan)#exit
3) Enable global IGMP Snooping and local state only on VLAN2 (also enable IGMP Querier).
Switch(config)#ip igmp snooping
Switch(config)#vlan 2
Switch(config-vlan)#ip igmp snooping
Switch(config-vlan)#ip igmp snooping querier
Switch(config-vlan)#exit