
27
Default level
2: System level
Parameters
None
Description
Use
igmp-snooping source-deny
to enable multicast source port filtering.
Use
undo igmp-snooping source-deny
to disable multicast source port filtering.
By default, multicast source port filtering is disabled.
This command works in both IGMP snooping–enabled VLANs and VLANs with IGMP enabled on their
VLAN interfaces.
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
igmp-snooping special-query source-ip
Syntax
igmp-snooping special-query source-ip
{
ip-address
|
current-interface
}
undo igmp-snooping special-query source-ip
View
VLAN view
Default level
2: System level
Parameters
ip-address
: Specifies a source address for IGMP group-specific queries.
current-interface
: Specifies the address of the current VLAN interface as the source address of IGMP
group-specific queries. If the current VLAN interface does not have an IP address, the default IP address
0.0.0.0 is used as the source IP address of IGMP group-specific queries.
Description
Use
igmp-snooping special-query source-ip
to configure the source IP address for IGMP group-specific
queries.
Use
undo igmp-snooping special-query source-ip
to restore the default.
By default, the source IP address of IGMP group-specific queries is 0.0.0.0.
This command takes effect only if IGMP snooping is enabled in the VLAN.
Related commands:
igmp-snooping enable
.
Examples
# In VLAN 2, enable IGMP snooping and specify 10.1.1.1 as the source IP address of IGMP
group-specific queries.