For BGP:
ip route-type [ unicast | both ]
no ip route-type
For IS-IS, OSPF, and RIP:
ip route-type [ unicast | multicast | both ]
no ip route-type
Command introduced before JunosE Release 7.1.0.
Specifies whether BGP, IS-IS, OSPF, or RIP routes are available only for unicast forwarding, only for multicast reverse path forwarding checks, or for both. By default, IS-IS, OSPF, and RIP routes are available both for unicast forwarding and multicast reverse-path forwarding checks. The no version restores the default value, unicast for BGP or both for IS-IS, OSPF, and RIP.
Address Family Configuration (RIP), Router Configuration