IGMP Configuration Commands 255
Example
Configure that only the hosts contained in the access-list 2000 connected to the
port GigabitEthernet1/0/1 in VLAN-interface10 can be added to the multicast
group, which is configured to use IGMP version 2.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface GigabitEthernet 1/0/1
[SW5500-GigabitEthernet1/0/1]igmp group-policy 2000 vlan 10
igmp host-join Syntax
igmp host-join
group-address
undo igmp host-join
group-address
View
LoopBack interface view
Parameter
group-address
: Multicast address of the multicast group that an interface will
join.
Description
Using igmp host-join command, you can enable a LoopBack interface of an
ethernet switch to join a multicast group. Using
undo igmp host-join command,
you can disable the configuration.
By default, a LoopBack interface does not join any multicast group.
For the related command, see igmp host-join port, igmp host-join vlan and
igmp group-policy.
Example
Add LoopBack 0 to the multicast group at 225.0.0.1.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface LoopBack 0
[SW5500-LoopBack0]igmp host-join 225.0.0.1
igmp host-join port Syntax
igmp host-join
group-address
port {
interface_type interface_ num
|
interface_name
} [ to {
interface_type interface_ num
|
interface_name
} ]
undo igmp host-join
group-address
port {
interface_type interface_
num
|
interface_name
} [ to {
interface_type interface_ num
|
interface_name
} ]
View
VLAN Interface View