Usage guidelines
You can enable this feature for a port in interface view or for the specified ports in IGMP-snooping
view. For a port, the configuration in interface view has the same priority as the configuration in
IGMP-snooping view, and the most recent configuration takes effect.
Examples
# Enable source port filtering for multicast data on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] igmp-snooping source-deny
Related commands
source-deny
igmp-snooping special-query source-ip
Use
igmp-snooping special-query source-ip
IGMP group-specific queries.
Use
undo igmp-snooping special-query source-ip
Syntax
igmp-snooping special-query source-ip ip-address
undo igmp-snooping special-query source-ip
Default
In a VLAN, the source IP address of IGMP group-specific queries is one of the following:
•
The source address of IGMP group-specific queries if the IGMP snooping querier of the VLAN
has received IGMP general queries.
•
The IP address of the current VLAN interface if the IGMP snooping querier does not receive an
IGMP general query.
•
0.0.0.0 if the IGMP snooping querier does not receive an IGMP general query and the current
VLAN interface does not have an IP address.
Views
VLAN view
Predefined user roles
network-admin
Parameters
ip-address
Usage guidelines
You must enable IGMP snooping for a VLAN before you execute this command.
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
(IGMP-snooping view)
: Specifies the source IP address for IGMP group-specific queries.
to configure the source IP address for
44
to restore the default.