# Configuring Group Outgoing Interface Mapping

You can configure an IGMP interface to use a different outgoing interface (OIF) for multicast-data-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:

1. Create an OIF map using the ip igmp oif-map command at the global level.
2. Apply the OIF map to an interface using the ip igmp apply-oif-map command.

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

- Use to apply the specified outgoing interface (OIF) map to the current interface.
- Example
  host1(config-subif)#ip igmp apply-oif-map OIFMAP
- Use the no version to remove the outgoing interface map association from the interface.
- See ip igmp apply-oif-map.

ip igmp oif-map

- Use to create an OIF map.
- Example
  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
- Use the no version to remove an outgoing interface map attribute.
- See ip igmp apply-oif-map.

ip igmp version

- Use to set the IGMP version (1, 2, or 3) for the interface or specify a passive interface with only multicast-data-forwarding capability (passive).
- Example
  host1:dallas(config-if)#ip igmp version passive
- Use the no version to set the version to the default, IGMPv2.
- See ip igmp version.