When you create IGMP static group membership to test multicast forwarding on an
interface on which you want to receive multicast traffic, you can also configure the group
address to be automatically incremented for each group created. This is useful when
you want to test forwarding to multiple receivers without having to configure each receiver
separately and when you do not want the group addresses to be sequential.
In this example, you create three groups and increase the group address by an increment
of two for each group.
1. On the DR, configure the group address increment by including the group-increment
statement and specifying the number by which the address should be incremented
for each group. The increment is specified in dotted decimal notation similar to an
IPv4 address.
[edit protocols igmp]
user@host# set interface fe-0/1/2 static group 233.252.0.1 group-count 3
group-increment 0.0.0.2
2. After you commit the configuration, use the show configuration protocol igmp command
to verify the IGMP protocol configuration.
user@host> show configuration protocol igmp
interface fe-0/1/2.0 {
version 3;
static {
group 233.252.0.1 {
group-increment 0.0.0.2;
group-count 3;
}
}
}
3. After you have committed the configuration and after the source is sending traffic,
use the show igmp group command to verify that static groups 233.252.0.1, 233.252.0.3,
and 233.252.0.5 have been created.
user@host> show igmp group
Interface: fe-0/1/2
Group: 233.252.0.1
Source: 10.0.0.2
Last reported by: Local
Timeout: 0 Type: Static
Group: 233.252.0.3
Source: 10.0.0.2
Last reported by: Local
Timeout: 0 Type: Static
Group: 233.252.0.5
Source: 10.0.0.2
Last reported by: Local
Timeout: 0 Type: Static
461Copyright © 2017, Juniper Networks, Inc.
Chapter 14: Configuring Internet Group Management Protocol