igmp-snooping host-join
Use igmp-snooping host-join to configure a port as a simulated member host for a multicast group.
Use undo igmp-snooping host-join to remove the configuration of a simulated member host for a multicast group.
Syntax
igmp-snooping host-join group-address [ source-ip source-address ] vlan vlan-id
undo igmp-snooping host-join { group-address [ source-ip source-address ] vlan vlan-id | all }
Default
A port is not configured as a simulated member host for multicast groups.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
group-address: Specifies a multicast group in the range of 224.0.1.0 to 239.255.255.255.
source-ip source-address: Specifies a multicast source by its IP address. If you specify a multicast source, this command configures the port as a simulated member host for a multicast source and group. If you do not specify a multicast source, this command configures the port as a simulated member host for a multicast group. This option takes effect on IGMPv3 snooping devices.
vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094.
all: Specifies all multicast groups.
Usage guidelines
The version of IGMP running on a simulated member host is the same as the version of IGMP snooping running on the port. The port ages out in the same way as a dynamic member port.
Examples
# Configure HundredGigE 1/0/1 as a simulated member host of the multicast source and group (1.1.1.1, 232.1.1.1) in VLAN 2.
<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 hundredgige 1/0/1 [Sysname-HundredGigE1/0/1] igmp-snooping host-join 232.1.1.1 source-ip 1.1.1.1 vlan 2