1-23
Examples
# In VLAN 2, enable IGMP snooping and specify 10.1.1.1 as the source IP address of IGMP
group-specific queries.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping special-query source-ip 10.1.1.1
igmp-snooping static-group
Syntax
igmp-snooping static-group group-address [ source-ip source-address ] vlan vlan-id
undo igmp-snooping static-group group-address [ source-ip source-address ] vlan vlan-id
View
Ethernet interface view, Layer 2 aggregate interface view, port group view
Default Level
2: System level
Parameters
group-address: Address of the multicast group to be statically joined, in the range of 224.0.0.0 to
239.255.255.255.
source-address: Address of the multicast source to be statically joined. The value of this argument
should be a valid unicast address or 0.0.0.0. If the value is 0.0.0.0, this means no multicast source is
specified.
vlan vlan-id: Specifies the VLAN that comprises the port(s), where vlan-id is in the range of 1 to 4094.
Description
Use the igmp-snooping static-group command to configure the static (*, G) or (S, G) joining function,
namely to configure the current port or port group as static multicast group or source-group member(s).
Use the undo igmp-snooping static-group command to restore the system default.
By default, no ports are static member ports.
Note that:
z The source-ip source-address option in the command is meaningful only for IGMP snooping
version 3. If IGMP snooping version 2 is running, although you can include the source-ip
source-address option in your command, the configuration will not take effect.
z If configured in Ethernet interface view or Layer 2 aggregate interface view, this feature takes effect
only if the interface belongs to the specified VLAN.
z If configured in port group view, this feature takes effect only on those ports in this port group that
belong to the specified VLAN.