Hello Say Hian
I will attempt to answer your questions below:
H1 and H2 are hosts. However, Rene has used routers there to simulate the hosts. This is why he has command line access to them.[quote=“sayhian16, post:28, topic:1321”]
Does the following commands assign multicast ip address to ports in switch?
ip igmp snooping vlan (vlan number) static (multicast address) interface (interface number)
Example:
ip igmp snooping vlan 2 static 239.1.2.3 int gi1/0/3
[/quote]
This command will configure a layer 2 port as a member of the group defined by the static multicast address that you specify.
The IGMP Snooping Querier feature can be enabled either globally or on a per-VLAN basis. If you only want to query only the specific multicasting ports, then you can limit it to the VLAN. For more information, take a look at this Cisco documentation.
I hope this has been helpful!
Laz