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 version command. 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-map command.
ipv6 mld apply-oif-map
- host1(config-subif)#ipv6 mld apply-oif-map
OIFMAP
ipv6 mld oif-map
- 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
ipv6 mld version
- host1:dallas(config-if)#ipv6 mld version passive