Example: Accepting IGMP Reports from Remote Subnetworks
This example shows how to accept IGMP reports from a remote subnetwork.
Requirements
This example uses the following hardware and software components:
- JunosE Release 7.1.0 or higher-numbered releases
- E Series router (ERX7xx models, ERX14xx models, the ERX310 router, the E120 router, or the E320 router)
- ASIC-based line modules that support Fast Ethernet or Gigabit Ethernet
Overview
By default, IGMP interfaces accept IGMP reports only from associated subnetworks. You can configure the router to accept IGMP reports from subnetworks that are not associated with its interfaces. The igmp promiscuous command in Router Configuration mode specifies whether interfaces on the router can accept IGMP reports from indirectly connected subnets. To override this global setting on a particular interface, use the ip igmp promiscuous command in Interface Configuration mode.
Configuration
In the following example, the router is configured to accept IGMP reports from indirectly connected subnets on all interfaces. The interface on port 0 of the line module in slot 4 is then configured to accept IGMP reports only from directly connected subnets. This configuration discusses the following procedure:
Configuring Router Interface to Accept IGMP Reports from Indirectly Connected Subnets
Step-by-Step Procedure
- Access virtual-router boston and enable IGMP on the virtual-router.host1(config)#virtual-router boston
- Enable all IGMP interfaces on the router to accept IGMP
reports from hosts on any subnetwork.host1:boston(config-router)#igmp promiscuous host1:boston(config-router)#exit
- Enable the interface to accept IGMP reports only from
hosts on subnetworks associated with this interface.host1:boston(config)#interface serial 4/0 host1:boston(config-if)#ip igmp promiscuous off