User's Manual
526
Static IGMP configuration example
The configuration command of the static multicast group can define different classes of static multicast groups
by adopting different parameters. The following examples shows the results of running different command
parameter.
interface ethernet 1/0
ip igmp static-group *
The previous configuration command configures all static multicast groups on the interface ethernet 1/0. The
multicast routing protocol is to forward all IP multicast messages to the interface ethernet 1/0.
interface ethernet 1/0
ip igmp static-group 224.1.1.7
The previous configuration command configures the static multicast group 224.1.1.7 on the interface ethernet
1/0, that is, the interface belongs to the multicast group 224.1.1.7. The multicast routing protocol is to forward
all IP multicast messages that are finally sent to the multicast group 224.1.1.7 to the interface ethernet 1/0.
interface ethernet 1/0
ip igmp static-group 224.1.1.7 include 192.168.20.168
The previous configuration command configures the static multicast group 224.1.1.7 on the interface ethernet
0/0, and defines source-filter of the multicast group as 192.168.20.168. That is, the interface belongs to the
multicast group 224.1.1.7, but it only receives the IP multicast messages from 192.168.20.168. The multicast
routing protocol is to forward IP multicast messages that are received from 192.168.20.168 and finally sent to
the multicast group 224.1.1.7 to the interface ethernet 0/0.
Run the following command in interface configuration mode to receive the IP multicast message that is from
192.168.20.169 and finally sent to the multicast group 224.1.1.7:
ip igmp static-group 224.1.1.7 include 192.168.20.169
The previous command can be executed for many times to define different source addresses.
Note:
In a multicast group, the multicast group information cannot be simultaneously configured both for
a specific source address and for all source addresses. The command used in the later
configuration will be omitted. For example, If you run the command
ip igmp static-group
224.1.1.7 include 192.168.20.168
after the command
ip igmp static-group 224.1.1.7
is
executed, the command
ip igmp static-group 224.1.1.7 include 192.168.20.168
will be omitted.