# Using OSPF Routes for Multicast RPF Checks

You can use the ip route-type or ipv6 route-type command to specify whether OSPF routes are available for only unicast forwarding protocols or only multicast reverse-path-forwarding (RPF) checks. Routes available for unicast forwarding appear in the unicast view of the routing table, whereas routes available for multicast RPF checks appear in the multicast view of the routing table.

To enable a multicast protocol and MPLS traffic engineering (TE) to interoperate on a router running OSPF, use the mpls traffic-eng multicast-intact command.

ip route-type

ipv6 route-type

- Use to specify whether OSPF routes are available only for unicast forwarding, only for multicast RPF checks, or for both.
- Use the show ip route or show ipv6 route command to view the routes available for unicast forwarding.
- Use the show ip rpf-routes or show ipv6 rpf-routes command to view the routes available for multicast RPF checks.
- By default, OSPF routes are available for both unicast forwarding and multicast RPF checks.
- Example 1
  host1(config)#router ospf host1(config-router)#ip route-type unicast
- Example 2
  host1(config)#router ospf host1((config-router)#)#ipv6 route-type unicast
- Use the no version to restore the default value, both.
- See ip route-type
- See ipv6 route-type

mpls traffic-eng multicast-intact

- Use to enable a multicast protocol and MPLS traffic engineering (TE) to interoperate on a router running OSPF.
- Example
  host1(config-router)#mpls traffic-eng multicast-intact
- Use the no version to disable interoperability between a multicast protocol and MPLS-TE when running on an OSPF router.
- See mpls traffic-eng multicast-intact