R3303-HP HSR6800 Routers IP Multicast Command Reference
28
Default command level
2: System level
Usage guidelines
For a router that supports both IGMP snooping and IGMP and is installed with the SAP module, this
command takes effect on IGMP snooping-enabled VLANs and VLANs with IGMP-enabled VLAN
interfaces.
Examples
# Enable source port filtering for multicast data on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] igmp-snooping source-deny
igmp-snooping special-query source-ip
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.
Syntax
igmp-snooping special-query source-ip { ip-address | current-interface }
undo igmp-snooping special-query source-ip
Default
The source IP address of IGMP group-specific queries is 0.0.0.0.
Views
VLAN view
Default command 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.
Usage guidelines
This command takes effect only if IGMP snooping is enabled in the VLAN.
Examples
# On 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