18
Default 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 the VLAN that comprises the ports, where
vlan-id
is in the range of 1 to 4094.
Description
Use
igmp-snooping host-join
to enable simulated joining on a port. That is, you configure the port as a
simulated member host for the specified multicast group or source and group.
Use
undo igmp-snooping host-join
to remove the simulated member hosts from the specified multicast
group or source and group.
By default, this function is disabled.
this command works in both IGMP snooping–enabled VLANs and VLANs with IGMP enabled on their
VLAN interfaces. The version of IGMP on the simulated host is consistent with the version of IGMP
snooping that is running in the VLAN or the version of IGMP that is running on the VLAN interface.
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.
Examples
# Configure GigabitEthernet 1/0/1 as a simulated member host in VLAN 2 for multicast source 1.1.1.1
and multicast group 232.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 1/0/1
[Sysname-GigabitEthernet1/0/1] igmp-snooping host-join 232.1.1.1 source-ip 1.1.1.1 vlan
2
igmp-snooping host-tracking
Syntax
igmp-snooping host-tracking
undo igmp-snooping host-tracking