# Configuring Group Outgoing Interface Mapping

You can configure an MLD protocol 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 MLD protocol interface, the map is applied to all MLD membership requests that the interface receives. To configure OIF mapping on an interface, you first create the OIF map using the ipv6 mld oif-map command and then apply that map to an interface with the ipv6 mld 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 ipv6 mld versioncommand. You can either specify a passive interface as the OIF or specify the OIF as self (to use the MLD protocol interface as the OIF) in the ipv6 mld oif-mapcommand.

ipv6 mld apply-oif-map

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

ipv6 mld oif-map

- Use to create an OIF map.
- Use the MLD-OIF-Map-Name RADIUS attribute (VSA 26-76) in RADIUS Access-Accept messages as an alternative method of configuring this value.
- Example
  host1(config)#ipv6 mld oif-map OIFMAP atm 3/0.1 ff0e::1:1/128 2001::1:1/128 host1(config)#ipv6 mld oif-map OIFMAP atm 3/0.2 ff0e::1:1/128 2001::1:1/128 host1(config)#ipv6 mld oif-map OIFMAP atm 3/0.3 ff0e::1:1/128 host1(config)#ipv6 mld oif-map OIFMAP atm 3/0.4 ff0e::1:0/112 2001::1:1/128 host1(config)#ipv6 mld oif-map OIFMAP atm 3/0.5 ff0e::1:0/112 2001::1:1/128 host1(config)#ipv6 mld oif-map OIFMAP self ::/0 2001::1:0/112
- Use the no version to remove an outgoing interface map attribute.
- See ipv6 mld oif-map.

ipv6 mld version

- Use to set the MLD version (1 or 2) for the interface or specify a passive interface with only multicast-data-forwarding capability (passive).
- Use the MLD-Version RADIUS attribute (VSA 26-77) in RADIUS Access-Accept messages as an alternative method of configuring this value.
- Example
  host1:dallas(config-if)#ipv6 mld version passive
- Use the no version to set the version to the default, mldv2.
- See ipv6 mld version.