R3303-HP HSR6800 Routers IP Multicast Command Reference
18
Default
This function is disabled.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default command level
2: System level
Parameters
group-address: Specifies the address of the multicast group that the simulated host will join, in the range
of 224.0.1.0 to 239.255.255.255.
source-address: Specifies the address of the multicast source that the simulated host will join. The value
of this argument should be a valid unicast address or 0.0.0.0. A source IP address of 0.0.0.0 specifies
all multicast sources.
vlan vlan-id: Specifies a VLAN by its ID. The value range for the vlan-id argument is 1 to 4094.
Usage guidelines
The version of IGMP on the simulated host is consistent with the version of IGMP snooping running in the
VLAN.
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. The version of IGMP on the simulated host is consistent with the version of IGMP snooping in
the VLAN and IGMP running in the VLAN interfaces.
The source-ip source-address option in the command is meaningful only for IGMPv3 snooping. If
IGMPv2 snooping is running, the source-ip source-address option does not take effect although you can
include source-ip source-address in the command.
In Layer 2 Ethernet interface view or Layer 2 aggregate interface view, this command takes effect only if
the interface belongs to the specified VLAN.
In port group view, this command takes effect only on those ports in this port group that belong to the
specified VLAN.
Examples
# Configure GigabitEthernet 2/0/1 as a simulated member host in VLAN 2 for the multicast source and
g r o u p (1.1.1.1, 23 2.1.1.1) .
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping version 3
[Sysname-vlan2] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] igmp-snooping host-join 232.1.1.1 source-ip 1.1.1.1 vlan
2