256 CHAPTER 7: USING MULTICAST PROTOCOL COMMANDS
Parameter
group-address
: Multicast address of the multicast group that an interface will
join.
port: Specifies the port in the VLAN interface.
Description
Use the igmp host-join port command to enable a port in the VLAN interface
of an ethernet Switch to join a multicast group.
Use the undo igmp host-join port command to disable the configuration.
By default, an interface does not join any multicast group.
Related command: igmp host-join vlan, igmp host-join and igmp
group-policy.
Example
Add port GigabitEthernet 1/0/1 in VLAN-interface10 to the multicast group at
225.0.0.1.
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]interface Vlan-interface 10
[SW5500-vlan-interface10]igmp host-join 225.0.0.1 port
GigabitEthernet 1/0/1
igmp host-join vlan Syntax
igmp host-join
group-address
vlan
vlan_id
undo igmp host-join
group-address
vlan
vlan_id
View
Ethernet Port view
Parameter
group-address
: Multicast address of the multicast group that an interface will
join.
vlan_id
: Specifies the ID for the VLAN to which the port belongs.
Description
Use igmp host-join vlan command to enable a port in the VLAN interface of a
switch to join a multicast group. Use
undo igmp host-join vlan command to
disable the configuration.
By default, a port does not join any multicast group.
This command has the same function as the igmp host-join port command.
Note that the configured port must belong to the specified VLAN, and the IGMP
protocol must be enabled on this VLAN interface; otherwise, the configuration
does not function.