You can configure an IGMP interface to use a different outgoing interface (OIF) for multicast-date-forwarding by applying an OIF map. When you configure an OIF map on an IGMP interface, the map is applied to all IGMP membership requests that the interface receives.
To configure OIF mapping on an interface:
To properly configure an interface used in the OIF map for multicast-data-forwarding capability, you must configure the interface version as passive with the ip igmp version command. You can either specify a passive interface as the OIF or specify the OIF as self (to use the IGMP interface as the OIF) in the ip igmp oif-map command.
ip igmp apply-oif-map
- host1(config-subif)#ip igmp apply-oif-map
OIFMAP
ip igmp oif-map
- host1(config)#ip igmp oif-map OIFMAP atm 3/0.1
232.0.0.1/32 51.0.0.1/32
- host1(config)#ip igmp oif-map OIFMAP atm 3/0.2
232.0.0.1/32 51.0.0.2/32
- host1(config)#ip igmp oif-map OIFMAP atm 3/0.3
233.0.0.1/32
- host1(config)#ip igmp oif-map OIFMAP atm 3/0.4
233.0.0.0/24 51.0.0.1/32
- host1(config)#ip igmp oif-map OIFMAP atm 3/0.5
233.0.0.0/24 51.0.0.2/32
- host1(config)#ip igmp oif-map OIFMAP self
0.0.0.0/0 51.0.0.0/24
ip igmp version
- host1:dallas(config-if)#ip igmp version passive