R0106-HP MSR Router Series IP Multicast Command Reference(V7)
25
Usage guidelines
You must enable IGMP snooping for a VLAN before you execute this command for the VLAN.
The configuration made in VLAN view is only effective on the current VLAN and takes preference over the
global configuration.
Examples
# In VLAN 2, enable IGMP snooping, and set the aging timer for the dynamic member ports to 300
seconds.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping host-aging-time 300
Related commands
• host-aging-time (IGMP-snooping view)
• igmp-snooping enable
igmp-snooping host-join
Use igmp-snooping host-join to configure a port on a Layer 2 device as a simulated member host for a
multicast group.
Use undo igmp-snooping host-join to restore the default.
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
Default
This function is disabled.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
group-address: Specifies a multicast group by its IP address in the range of 224.0.1.0 to
239.255.255.255.
source-address: Specifies a multicast source by its IP address. The value of this argument should be a
valid unicast address.
vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094.
Usage guidelines
The IGMP version for the simulated member host and the IGMP snooping version for the VLAN must be
the same.










